summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz>2015-09-18 09:32:48 +0000
committerwiz <wiz>2015-09-18 09:32:48 +0000
commit84ee3fd68f02fad3891dfd8474a81adcc522c7f2 (patch)
tree42594d54fdf3ac6feb5a431f05f25095ca5df453 /audio
parent8390359ac0f9bafe51d1ab161543713380718538 (diff)
downloadpkgsrc-84ee3fd68f02fad3891dfd8474a81adcc522c7f2.tar.gz
Install convenience libraries so that audacity binary can use them.
The configure script does not respect --disable-shared, no clue yet why, which makes this necessary. However, it causes a conflict with portaudio, which should, optimally, be fixed by building against the existing library instead. But, this should make the program usable again in the meantime. Bump PKGREVISION.
Diffstat (limited to 'audio')
-rw-r--r--audio/audacity/Makefile14
-rw-r--r--audio/audacity/PLIST12
2 files changed, 23 insertions, 3 deletions
diff --git a/audio/audacity/Makefile b/audio/audacity/Makefile
index 0184429eae0..bbb5a44c2b0 100644
--- a/audio/audacity/Makefile
+++ b/audio/audacity/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.95 2015/09/18 08:53:21 wiz Exp $
+# $NetBSD: Makefile,v 1.96 2015/09/18 09:32:48 wiz Exp $
DISTNAME= audacity-minsrc-2.1.0
PKGNAME= ${DISTNAME:S/-minsrc//1}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=audacity/}
EXTRACT_SUFX= .tar.xz
@@ -42,6 +42,16 @@ CONFIG_SUB_OVERRIDE= \
PTHREAD_AUTO_VARS= yes
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
+# the configure script does not respect --disable-shared
+# so we need to install the convenience libraries so that the audacity
+# binary can use them
+# XXX: this causes a conflict with portaudio
+post-install:
+ cd ${WRKSRC}/lib-src/FileDialog && ${PKGSRC_SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_MAKE_FLAGS} install
+ cd ${WRKSRC}/lib-src/portaudio-v19 && ${PKGSRC_SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_MAKE_FLAGS} install
+ cd ${WRKSRC}/lib-src/portmixer && ${PKGSRC_SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_MAKE_FLAGS} install
+ cd ${WRKSRC}/lib-src/lib-widget-extra && ${PKGSRC_SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_MAKE_FLAGS} install
+
.include "options.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff --git a/audio/audacity/PLIST b/audio/audacity/PLIST
index 0cb703fe576..0334981c5ce 100644
--- a/audio/audacity/PLIST
+++ b/audio/audacity/PLIST
@@ -1,5 +1,13 @@
-@comment $NetBSD: PLIST,v 1.10 2015/04/20 13:38:23 rodent Exp $
+@comment $NetBSD: PLIST,v 1.11 2015/09/18 09:32:48 wiz Exp $
bin/audacity
+include/portaudio.h
+include/portmixer.h
+lib/libFileDialog.la
+lib/libportaudio.la
+lib/libportmixer.la
+lib/libwidgetextra.la
+lib/pkgconfig/libwidgetextra.pc
+lib/pkgconfig/portaudio-2.0.pc
man/man1/audacity.1
share/appdata/audacity.appdata.xml
share/applications/audacity.desktop
@@ -73,6 +81,8 @@ share/audacity/plug-ins/vocalremover.ny
share/audacity/plug-ins/vocoder.ny
share/doc/audacity/LICENSE.txt
share/doc/audacity/README.txt
+share/doc/portmixer/LICENSE.txt
+share/doc/portmixer/README.txt
share/icons/hicolor/16x16/apps/audacity.png
share/icons/hicolor/22x22/apps/audacity.png
share/icons/hicolor/24x24/apps/audacity.png