aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gnaural
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2013-11-05 16:16:11 +0800
committermartymac <martymac@FreeBSD.org>2013-11-05 16:16:11 +0800
commitdc2d5d151fe5ecd42cdf8e3d361b254e331d053d (patch)
treeef45350f08708f3d9803fa3290eadd871bedfd17 /audio/gnaural
parent3f29b1249a66e1e4858dc5f0a79efdbb2057d42a (diff)
downloadfreebsd-ports-gnome-dc2d5d151fe5ecd42cdf8e3d361b254e331d053d.tar.gz
freebsd-ports-gnome-dc2d5d151fe5ecd42cdf8e3d361b254e331d053d.tar.zst
freebsd-ports-gnome-dc2d5d151fe5ecd42cdf8e3d361b254e331d053d.zip
- Fix build when audio/portaudio is installed along with audio/portaudio2
- Enable staging - Use new LIB_DEPENDS format - Update USES
Diffstat (limited to 'audio/gnaural')
-rw-r--r--audio/gnaural/Makefile12
-rw-r--r--audio/gnaural/files/patch-configure11
-rw-r--r--audio/gnaural/pkg-plist2
3 files changed, 15 insertions, 10 deletions
diff --git a/audio/gnaural/Makefile b/audio/gnaural/Makefile
index ce1e839eb6c5..6cefe45ed2bf 100644
--- a/audio/gnaural/Makefile
+++ b/audio/gnaural/Makefile
@@ -13,16 +13,12 @@ COMMENT= Binaural beat generator
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
-LIB_DEPENDS= portaudio.2:${PORTSDIR}/audio/portaudio2 \
- sndfile:${PORTSDIR}/audio/libsndfile
+LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2 \
+ libsndfile.so:${PORTSDIR}/audio/libsndfile
GNU_CONFIGURE= yes
-USES= pkgconfig
-NO_STAGE= yes
+USES= pkgconfig desktop-file-utils
USE_CSTD= gnu89
-USE_GNOME= libglade2 desktopfileutils
-
-post-install:
- -@update-desktop-database
+USE_GNOME= libglade2
.include <bsd.port.mk>
diff --git a/audio/gnaural/files/patch-configure b/audio/gnaural/files/patch-configure
new file mode 100644
index 000000000000..34ae4d62f1b1
--- /dev/null
+++ b/audio/gnaural/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2011-05-26 00:38:21.000000000 +0200
++++ configure 2013-10-31 06:32:24.000000000 +0100
+@@ -7642,7 +7642,7 @@
+ esac
+
+ #do pkgconfig stuff:
+-pkg_modules="gtk+-2.0 >= 2.0.0 gthread-2.0 sndfile >= 1.0.2 portaudio-2.0 >= 19"
++pkg_modules="portaudio-2.0 >= 19 gtk+-2.0 >= 2.0.0 gthread-2.0 sndfile >= 1.0.2"
+
+
+
diff --git a/audio/gnaural/pkg-plist b/audio/gnaural/pkg-plist
index de3e5143aa93..cc5e8755d6cc 100644
--- a/audio/gnaural/pkg-plist
+++ b/audio/gnaural/pkg-plist
@@ -4,5 +4,3 @@ share/applications/gnaural.desktop
share/pixmaps/gnaural-icon.xpm
share/pixmaps/gnaural-icon.png
@dirrm %%DATADIR%%
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true