Fri Sep 18 09:32:48 2015 UTC ()
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.


(wiz)
diff -r1.95 -r1.96 pkgsrc/audio/audacity/Makefile
diff -r1.10 -r1.11 pkgsrc/audio/audacity/PLIST

cvs diff -r1.95 -r1.96 pkgsrc/audio/audacity/Makefile (expand / switch to context diff)
--- pkgsrc/audio/audacity/Makefile 2015/09/18 08:53:21 1.95
+++ pkgsrc/audio/audacity/Makefile 2015/09/18 09:32:48 1.96
@@ -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
@@ -41,6 +41,16 @@
 
 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"
 

cvs diff -r1.10 -r1.11 pkgsrc/audio/audacity/PLIST (expand / switch to context diff)
--- pkgsrc/audio/audacity/PLIST 2015/04/20 13:38:23 1.10
+++ pkgsrc/audio/audacity/PLIST 2015/09/18 09:32:48 1.11
@@ -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/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