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.diff -r1.95 -r1.96 pkgsrc/audio/audacity/Makefile
(wiz)
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.95 2015/09/18 08:53:21 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.96 2015/09/18 09:32:48 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= audacity-minsrc-2.1.0 | 3 | DISTNAME= audacity-minsrc-2.1.0 | |
4 | PKGNAME= ${DISTNAME:S/-minsrc//1} | 4 | PKGNAME= ${DISTNAME:S/-minsrc//1} | |
5 | PKGREVISION= 3 | 5 | PKGREVISION= 4 | |
6 | CATEGORIES= audio | 6 | CATEGORIES= audio | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=audacity/} | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=audacity/} | |
8 | EXTRACT_SUFX= .tar.xz | 8 | EXTRACT_SUFX= .tar.xz | |
9 | 9 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://audacityteam.org/ | 11 | HOMEPAGE= http://audacityteam.org/ | |
12 | COMMENT= Audio editor | 12 | COMMENT= Audio editor | |
13 | LICENSE= gnu-gpl-v2 # AND cc-by-v3.0-license | 13 | LICENSE= gnu-gpl-v2 # AND cc-by-v3.0-license | |
14 | 14 | |||
15 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
16 | USE_TOOLS+= gmake intltool msgfmt msgmerge pkg-config | 16 | USE_TOOLS+= gmake intltool msgfmt msgmerge pkg-config | |
17 | USE_TOOLS+= xgettext zip:run | 17 | USE_TOOLS+= xgettext zip:run | |
18 | USE_LANGUAGES= c c++ | 18 | USE_LANGUAGES= c c++ | |
@@ -32,26 +32,36 @@ CONFIGURE_ARGS+= --with-sbsms=system | @@ -32,26 +32,36 @@ CONFIGURE_ARGS+= --with-sbsms=system | |||
32 | CONFIGURE_ARGS+= --with-soundtouch=system | 32 | CONFIGURE_ARGS+= --with-soundtouch=system | |
33 | CONFIGURE_ARGS+= --with-twolame=system | 33 | CONFIGURE_ARGS+= --with-twolame=system | |
34 | CONFIGURE_ARGS+= --with-vorbis=system | 34 | CONFIGURE_ARGS+= --with-vorbis=system | |
35 | CONFIGURE_ARGS+= --without-xaudio | 35 | CONFIGURE_ARGS+= --without-xaudio | |
36 | 36 | |||
37 | CONFIG_GUESS_OVERRIDE= \ | 37 | CONFIG_GUESS_OVERRIDE= \ | |
38 | config.guess */config.guess */*/config.guess */*/*/config.guess | 38 | config.guess */config.guess */*/config.guess */*/*/config.guess | |
39 | CONFIG_SUB_OVERRIDE= \ | 39 | CONFIG_SUB_OVERRIDE= \ | |
40 | config.sub */config.sub */*/config.sub */*/*/config.sub | 40 | config.sub */config.sub */*/config.sub */*/*/config.sub | |
41 | 41 | |||
42 | PTHREAD_AUTO_VARS= yes | 42 | PTHREAD_AUTO_VARS= yes | |
43 | BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*} | 43 | BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*} | |
44 | 44 | |||
45 | # the configure script does not respect --disable-shared | |||
46 | # so we need to install the convenience libraries so that the audacity | |||
47 | # binary can use them | |||
48 | # XXX: this causes a conflict with portaudio | |||
49 | post-install: | |||
50 | cd ${WRKSRC}/lib-src/FileDialog && ${PKGSRC_SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_MAKE_FLAGS} install | |||
51 | cd ${WRKSRC}/lib-src/portaudio-v19 && ${PKGSRC_SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_MAKE_FLAGS} install | |||
52 | cd ${WRKSRC}/lib-src/portmixer && ${PKGSRC_SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_MAKE_FLAGS} install | |||
53 | cd ${WRKSRC}/lib-src/lib-widget-extra && ${PKGSRC_SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_MAKE_FLAGS} install | |||
54 | ||||
45 | .include "options.mk" | 55 | .include "options.mk" | |
46 | 56 | |||
47 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 57 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
48 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 58 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
49 | .include "../../multimedia/libogg/buildlink3.mk" | 59 | .include "../../multimedia/libogg/buildlink3.mk" | |
50 | .include "../../audio/lilv/buildlink3.mk" | 60 | .include "../../audio/lilv/buildlink3.mk" | |
51 | .include "../../audio/lv2/buildlink3.mk" | 61 | .include "../../audio/lv2/buildlink3.mk" | |
52 | .include "../../audio/soundtouch/buildlink3.mk" | 62 | .include "../../audio/soundtouch/buildlink3.mk" | |
53 | BUILDLINK_API_DEPENDS.twolame+= twolame>=0.3.9 | 63 | BUILDLINK_API_DEPENDS.twolame+= twolame>=0.3.9 | |
54 | .include "../../audio/twolame/buildlink3.mk" | 64 | .include "../../audio/twolame/buildlink3.mk" | |
55 | .include "../../audio/lame/buildlink3.mk" | 65 | .include "../../audio/lame/buildlink3.mk" | |
56 | .include "../../audio/libid3tag/buildlink3.mk" | 66 | .include "../../audio/libid3tag/buildlink3.mk" | |
57 | .include "../../audio/libmad/buildlink3.mk" | 67 | .include "../../audio/libmad/buildlink3.mk" |
@@ -1,15 +1,23 @@ | @@ -1,15 +1,23 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.10 2015/04/20 13:38:23 rodent Exp $ | 1 | @comment $NetBSD: PLIST,v 1.11 2015/09/18 09:32:48 wiz Exp $ | |
2 | bin/audacity | 2 | bin/audacity | |
3 | include/portaudio.h | |||
4 | include/portmixer.h | |||
5 | lib/libFileDialog.la | |||
6 | lib/libportaudio.la | |||
7 | lib/libportmixer.la | |||
8 | lib/libwidgetextra.la | |||
9 | lib/pkgconfig/libwidgetextra.pc | |||
10 | lib/pkgconfig/portaudio-2.0.pc | |||
3 | man/man1/audacity.1 | 11 | man/man1/audacity.1 | |
4 | share/appdata/audacity.appdata.xml | 12 | share/appdata/audacity.appdata.xml | |
5 | share/applications/audacity.desktop | 13 | share/applications/audacity.desktop | |
6 | share/audacity/EQDefaultCurves.xml | 14 | share/audacity/EQDefaultCurves.xml | |
7 | share/audacity/include/audacity/ConfigInterface.h | 15 | share/audacity/include/audacity/ConfigInterface.h | |
8 | share/audacity/include/audacity/EffectAutomationParameters.h | 16 | share/audacity/include/audacity/EffectAutomationParameters.h | |
9 | share/audacity/include/audacity/EffectInterface.h | 17 | share/audacity/include/audacity/EffectInterface.h | |
10 | share/audacity/include/audacity/IdentInterface.h | 18 | share/audacity/include/audacity/IdentInterface.h | |
11 | share/audacity/include/audacity/ImporterInterface.h | 19 | share/audacity/include/audacity/ImporterInterface.h | |
12 | share/audacity/include/audacity/ModuleInterface.h | 20 | share/audacity/include/audacity/ModuleInterface.h | |
13 | share/audacity/include/audacity/PluginInterface.h | 21 | share/audacity/include/audacity/PluginInterface.h | |
14 | share/audacity/include/audacity/Types.h | 22 | share/audacity/include/audacity/Types.h | |
15 | share/audacity/nyquist/bug.lsp | 23 | share/audacity/nyquist/bug.lsp | |
@@ -63,26 +71,28 @@ share/audacity/plug-ins/crossfadetracks. | @@ -63,26 +71,28 @@ share/audacity/plug-ins/crossfadetracks. | |||
63 | share/audacity/plug-ins/delay.ny | 71 | share/audacity/plug-ins/delay.ny | |
64 | share/audacity/plug-ins/equalabel.ny | 72 | share/audacity/plug-ins/equalabel.ny | |
65 | share/audacity/plug-ins/highpass.ny | 73 | share/audacity/plug-ins/highpass.ny | |
66 | share/audacity/plug-ins/lowpass.ny | 74 | share/audacity/plug-ins/lowpass.ny | |
67 | share/audacity/plug-ins/notch.ny | 75 | share/audacity/plug-ins/notch.ny | |
68 | share/audacity/plug-ins/pluck.ny | 76 | share/audacity/plug-ins/pluck.ny | |
69 | share/audacity/plug-ins/rissetdrum.ny | 77 | share/audacity/plug-ins/rissetdrum.ny | |
70 | share/audacity/plug-ins/sample-data-export.ny | 78 | share/audacity/plug-ins/sample-data-export.ny | |
71 | share/audacity/plug-ins/tremolo.ny | 79 | share/audacity/plug-ins/tremolo.ny | |
72 | share/audacity/plug-ins/vocalremover.ny | 80 | share/audacity/plug-ins/vocalremover.ny | |
73 | share/audacity/plug-ins/vocoder.ny | 81 | share/audacity/plug-ins/vocoder.ny | |
74 | share/doc/audacity/LICENSE.txt | 82 | share/doc/audacity/LICENSE.txt | |
75 | share/doc/audacity/README.txt | 83 | share/doc/audacity/README.txt | |
84 | share/doc/portmixer/LICENSE.txt | |||
85 | share/doc/portmixer/README.txt | |||
76 | share/icons/hicolor/16x16/apps/audacity.png | 86 | share/icons/hicolor/16x16/apps/audacity.png | |
77 | share/icons/hicolor/22x22/apps/audacity.png | 87 | share/icons/hicolor/22x22/apps/audacity.png | |
78 | share/icons/hicolor/24x24/apps/audacity.png | 88 | share/icons/hicolor/24x24/apps/audacity.png | |
79 | share/icons/hicolor/32x32/apps/audacity.png | 89 | share/icons/hicolor/32x32/apps/audacity.png | |
80 | share/icons/hicolor/48x48/apps/audacity.png | 90 | share/icons/hicolor/48x48/apps/audacity.png | |
81 | share/icons/hicolor/scalable/apps/audacity.svg | 91 | share/icons/hicolor/scalable/apps/audacity.svg | |
82 | ${PLIST.nls}share/locale/af/LC_MESSAGES/audacity.mo | 92 | ${PLIST.nls}share/locale/af/LC_MESSAGES/audacity.mo | |
83 | ${PLIST.nls}share/locale/ar/LC_MESSAGES/audacity.mo | 93 | ${PLIST.nls}share/locale/ar/LC_MESSAGES/audacity.mo | |
84 | ${PLIST.nls}share/locale/be/LC_MESSAGES/audacity.mo | 94 | ${PLIST.nls}share/locale/be/LC_MESSAGES/audacity.mo | |
85 | ${PLIST.nls}share/locale/bg/LC_MESSAGES/audacity.mo | 95 | ${PLIST.nls}share/locale/bg/LC_MESSAGES/audacity.mo | |
86 | ${PLIST.nls}share/locale/bn/LC_MESSAGES/audacity.mo | 96 | ${PLIST.nls}share/locale/bn/LC_MESSAGES/audacity.mo | |
87 | ${PLIST.nls}share/locale/bs/LC_MESSAGES/audacity.mo | 97 | ${PLIST.nls}share/locale/bs/LC_MESSAGES/audacity.mo | |
88 | ${PLIST.nls}share/locale/ca/LC_MESSAGES/audacity.mo | 98 | ${PLIST.nls}share/locale/ca/LC_MESSAGES/audacity.mo |