1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Fix build when audio/portaudio is installed along with audio/portaudio2

- Enable staging
- Use new LIB_DEPENDS format
- Update USES
This commit is contained in:
Ganael LAPLANCHE 2013-11-05 08:16:11 +00:00
parent d3e628ca39
commit 18ee25cc2d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332821
3 changed files with 15 additions and 10 deletions

View File

@ -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>

View File

@ -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"

View File

@ -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