Skip to content

Commit

Permalink
audio/sonivox-eas: New port: Sonivox EAS for Qt
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Sep 2, 2022
1 parent 87dcdf0 commit 8659096
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 0 deletions.
1 change: 1 addition & 0 deletions audio/Makefile
Expand Up @@ -735,6 +735,7 @@
SUBDIR += sonata
SUBDIR += sonic-visualiser
SUBDIR += sonivox
SUBDIR += sonivox-eas
SUBDIR += sorcer-lv2
SUBDIR += sound-juicer
SUBDIR += soundgrab
Expand Down
27 changes: 27 additions & 0 deletions audio/sonivox-eas/Makefile
@@ -0,0 +1,27 @@
PORTNAME= sonivox-eas
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.0
CATEGORIES= audio

MAINTAINER= yuri@FreeBSD.org
COMMENT= Sonivox EAS for Qt

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

LIB_DEPENDS= libdrumstick-alsa.so:audio/drumstick \
libGLX.so:graphics/libglvnd \
libpulse.so:audio/pulseaudio \
libsonivox.so:audio/sonivox

USES= cmake compiler:c++17-lang desktop-file-utils pkgconfig qt:6
USE_QT= base
USE_LDCONFIG= yes

USE_GITHUB= yes
GH_ACCOUNT= pedrolcl
GH_PROJECT= Linux-SonivoxEas

CMAKE_ARGS= -DUSE_QT=6

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions audio/sonivox-eas/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1662137307
SHA256 (pedrolcl-Linux-SonivoxEas-v1.4.0_GH0.tar.gz) = bd21d2caf603998bc526e623128968e31c0ba515c7d90b9998b5c74f8685907f
SIZE (pedrolcl-Linux-SonivoxEas-v1.4.0_GH0.tar.gz) = 59724
11 changes: 11 additions & 0 deletions audio/sonivox-eas/files/patch-cmdlnsynth_CMakeLists.txt
@@ -0,0 +1,11 @@
--- cmdlnsynth/CMakeLists.txt.orig 2022-09-02 17:38:38 UTC
+++ cmdlnsynth/CMakeLists.txt
@@ -5,7 +5,7 @@ get_target_property( SONIVOX_HEADERS sonivox::sonivox
target_include_directories( cmdlnsynth PRIVATE ${SONIVOX_HEADERS} )

target_link_libraries( cmdlnsynth
- Qt5::Core
+ Qt6::Core
Drumstick::ALSA
svoxeas
)
11 changes: 11 additions & 0 deletions audio/sonivox-eas/files/patch-guisynth_CMakeLists.txt
@@ -0,0 +1,11 @@
--- guisynth/CMakeLists.txt.orig 2022-09-02 17:39:16 UTC
+++ guisynth/CMakeLists.txt
@@ -20,7 +20,7 @@ get_target_property( SONIVOX_HEADERS sonivox::sonivox
target_include_directories( guisynth PRIVATE ${SONIVOX_HEADERS} )

target_link_libraries( guisynth
- Qt5::Widgets
+ Qt6::Widgets
Drumstick::ALSA
svoxeas
)
11 changes: 11 additions & 0 deletions audio/sonivox-eas/files/patch-libsvoxeas_CMakeLists.txt
@@ -0,0 +1,11 @@
--- libsvoxeas/CMakeLists.txt.orig 2022-09-02 17:37:31 UTC
+++ libsvoxeas/CMakeLists.txt
@@ -25,7 +25,7 @@ set_target_properties( svoxeas PROPERTIES

target_link_libraries( svoxeas PRIVATE
sonivox::sonivox-static
- Qt5::Core
+ Qt6::Core
Drumstick::ALSA
PkgConfig::PULSE
)
7 changes: 7 additions & 0 deletions audio/sonivox-eas/pkg-descr
@@ -0,0 +1,7 @@
The Sonivox EAS project is a MIDI Synth library based on the Sonivox EAS
Synthesizer published by Google on the Android Open Source Project. It is a
real time GM synthesizer without needing external soundfonts, using embedded
samples instead. It consumes very little resources, so it may be indicated in
Linux projects for small embedded devices.

WWW: https://github.com/pedrolcl/Linux-SonivoxEas
10 changes: 10 additions & 0 deletions audio/sonivox-eas/pkg-plist
@@ -0,0 +1,10 @@
bin/cmdlnsynth
bin/guisynth
include/programsettings.h
include/synthcontroller.h
include/synthrenderer.h
lib/libsvoxeas.so
lib/libsvoxeas.so.1
lib/libsvoxeas.so.1.4.0
share/applications/sonivoxeas.desktop
share/icons/hicolor/128x128/sonivoxeas.png

0 comments on commit 8659096

Please sign in to comment.