1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +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= GPLv2 LGPL21
LICENSE_COMB= multi LICENSE_COMB= multi
LIB_DEPENDS= portaudio.2:${PORTSDIR}/audio/portaudio2 \ LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2 \
sndfile:${PORTSDIR}/audio/libsndfile libsndfile.so:${PORTSDIR}/audio/libsndfile
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USES= pkgconfig USES= pkgconfig desktop-file-utils
NO_STAGE= yes
USE_CSTD= gnu89 USE_CSTD= gnu89
USE_GNOME= libglade2 desktopfileutils USE_GNOME= libglade2
post-install:
-@update-desktop-database
.include <bsd.port.mk> .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.xpm
share/pixmaps/gnaural-icon.png share/pixmaps/gnaural-icon.png
@dirrm %%DATADIR%% @dirrm %%DATADIR%%
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true