| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.121 2021/04/21 11:42:17 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.122 2021/05/14 13:20:16 nia Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= avidemux_2.5.4 | | 4 | DISTNAME= avidemux_2.5.4 |
5 | PKGNAME= ${DISTNAME:S/_/-/} | | 5 | PKGNAME= ${DISTNAME:S/_/-/} |
6 | PKGREVISION= 54 | | 6 | PKGREVISION= 54 |
7 | CATEGORIES= multimedia | | 7 | CATEGORIES= multimedia |
8 | MASTER_SITES= http://download.berlios.de/avidemux/ | | 8 | MASTER_SITES= http://download.berlios.de/avidemux/ |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://fixounet.free.fr/avidemux/ | | 11 | HOMEPAGE= http://fixounet.free.fr/avidemux/ |
12 | COMMENT= Graphical video editing program | | 12 | COMMENT= Graphical video editing program |
13 | LICENSE= gnu-gpl-v2 | | 13 | LICENSE= gnu-gpl-v2 |
14 | | | 14 | |
| @@ -27,26 +27,27 @@ CMAKE_ARGS+= -DNO_ARTS=1 | | | @@ -27,26 +27,27 @@ CMAKE_ARGS+= -DNO_ARTS=1 |
27 | CMAKE_ARGS+= -DUSE_SYSTEM_SPIDERMONKEY=1 | | 27 | CMAKE_ARGS+= -DUSE_SYSTEM_SPIDERMONKEY=1 |
28 | | | 28 | |
29 | LIBS+= ${LIBOSSAUDIO} | | 29 | LIBS+= ${LIBOSSAUDIO} |
30 | | | 30 | |
31 | # make sure __STDC_CONSTANT_MACROS is set before <stdint.h> is | | 31 | # make sure __STDC_CONSTANT_MACROS is set before <stdint.h> is |
32 | # pulled in the first time - for UINT64_C() | | 32 | # pulled in the first time - for UINT64_C() |
33 | CFLAGS+= -D__STDC_CONSTANT_MACROS | | 33 | CFLAGS+= -D__STDC_CONSTANT_MACROS |
34 | | | 34 | |
35 | SUBST_CLASSES= audio | | 35 | SUBST_CLASSES= audio |
36 | SUBST_STAGE.audio= pre-configure | | 36 | SUBST_STAGE.audio= pre-configure |
37 | SUBST_FILES.audio= plugins/ADM_audioDevices/Oss/ADM_deviceoss.cpp | | 37 | SUBST_FILES.audio= plugins/ADM_audioDevices/Oss/ADM_deviceoss.cpp |
38 | SUBST_SED.audio= -e "s|\\/dev\\/dsp|${DEVOSSAUDIO}|g" | | 38 | SUBST_SED.audio= -e "s|\\/dev\\/dsp|${DEVOSSAUDIO}|g" |
39 | SUBST_MESSAGE.audio= Fixing hardcoded audio device. | | 39 | SUBST_MESSAGE.audio= Fixing hardcoded audio device. |
| | | 40 | SUBST_NOOP_OK.audio= yes |
40 | | | 41 | |
41 | BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*} | | 42 | BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*} |
42 | | | 43 | |
43 | INSTALLATION_DIRS= share/applications share/icons/hicolor/64x64/apps | | 44 | INSTALLATION_DIRS= share/applications share/icons/hicolor/64x64/apps |
44 | | | 45 | |
45 | pre-configure: | | 46 | pre-configure: |
46 | ${MKDIR} ${WRKSRC}/_build | | 47 | ${MKDIR} ${WRKSRC}/_build |
47 | | | 48 | |
48 | post-configure: | | 49 | post-configure: |
49 | for manual in ${PATCHDIR}/manual-*; do \ | | 50 | for manual in ${PATCHDIR}/manual-*; do \ |
50 | cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < $${manual}; \ | | 51 | cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < $${manual}; \ |
51 | done | | 52 | done |
52 | | | 53 | |