diff options
author | nia <nia@pkgsrc.org> | 2022-03-11 08:56:02 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-03-11 08:56:02 +0000 |
commit | 0a53d397a6bc1ccc242b2bacc19a5c3206184b81 (patch) | |
tree | 9a4f9a800d94b100ac3eddec2dc93a9840d9fbb0 /audio | |
parent | d7ba95e6abe81da5254dd5265a5093d1d484822d (diff) | |
download | pkgsrc-0a53d397a6bc1ccc242b2bacc19a5c3206184b81.tar.gz |
audio: Use hacks.mk to avoid NetBSD msgfmt on NetBSD only.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/pulseaudio/Makefile | 5 | ||||
-rw-r--r-- | audio/pulseaudio/hacks.mk | 13 | ||||
-rw-r--r-- | audio/quodlibet/Makefile | 7 | ||||
-rw-r--r-- | audio/quodlibet/hacks.mk | 13 | ||||
-rw-r--r-- | audio/sound-juicer/Makefile | 5 | ||||
-rw-r--r-- | audio/sound-juicer/hacks.mk | 13 | ||||
-rw-r--r-- | audio/speech-dispatcher/Makefile | 7 |
7 files changed, 43 insertions, 20 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile index dd8adf5d438..985b3839f90 100644 --- a/audio/pulseaudio/Makefile +++ b/audio/pulseaudio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.166 2021/12/08 16:01:44 adam Exp $ +# $NetBSD: Makefile,v 1.167 2022/03/11 08:56:02 nia Exp $ DISTNAME= pulseaudio-15.0 PKGREVISION= 1 @@ -27,9 +27,6 @@ SUBST_FILES.egdir+= src/pulse/meson.build SUBST_FILES.egdir+= src/daemon/meson.build SUBST_VARS.egdir+= EGDIR -# Requires --desktop in msgfmt. -_TOOLS_USE_PKGSRC.msgfmt= yes - LIBTOOL_REQD= 2.4 GCC_REQD+= 4.8 diff --git a/audio/pulseaudio/hacks.mk b/audio/pulseaudio/hacks.mk new file mode 100644 index 00000000000..b58d936a294 --- /dev/null +++ b/audio/pulseaudio/hacks.mk @@ -0,0 +1,13 @@ +# $NetBSD: hacks.mk,v 1.1 2022/03/11 08:56:02 nia Exp $ + +.if !defined(PULSEAUDIO_HACKS_MK) +PULSEAUDIO_HACKS_MK:= + +.include "../../mk/bsd.fast.prefs.mk" + +.if ${OPSYS} == "NetBSD" +# Old GPLv2 version of msgfmt in NetBSD does not support --desktop/--xml. +TOOLS_PLATFORM.msgfmt= # none +PKG_HACKS+= avoid-gplv2-msgfmt +.endif +.endif # PULSEAUDIO_HACKS_MK diff --git a/audio/quodlibet/Makefile b/audio/quodlibet/Makefile index 35f20193f89..a22858fa4a9 100644 --- a/audio/quodlibet/Makefile +++ b/audio/quodlibet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2022/01/09 16:18:55 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2022/03/11 08:56:02 nia Exp $ DISTNAME= quodlibet-4.4.0 PKGREVISION= 4 @@ -36,11 +36,6 @@ USE_TOOLS+= msgfmt INSTALLATION_DIRS+= ${PKGMANDIR}/man1 -# msgfmt: unknown option -- desktop -.if ${OPSYS} == "NetBSD" -TOOLS_PLATFORM.msgfmt= -.endif - # Requires Python 3.5 or higher PYTHON_VERSIONS_INCOMPATIBLE= 27 diff --git a/audio/quodlibet/hacks.mk b/audio/quodlibet/hacks.mk new file mode 100644 index 00000000000..f6b55fab112 --- /dev/null +++ b/audio/quodlibet/hacks.mk @@ -0,0 +1,13 @@ +# $NetBSD: hacks.mk,v 1.1 2022/03/11 08:56:02 nia Exp $ + +.if !defined(QUODLIBET_HACKS_MK) +QUODLIBET_HACKS_MK:= + +.include "../../mk/bsd.fast.prefs.mk" + +.if ${OPSYS} == "NetBSD" +# Old GPLv2 version of msgfmt in NetBSD does not support --desktop/--xml. +TOOLS_PLATFORM.msgfmt= # none +PKG_HACKS+= avoid-gplv2-msgfmt +.endif +.endif # QUODLIBET_HACKS_MK diff --git a/audio/sound-juicer/Makefile b/audio/sound-juicer/Makefile index 5e634d770ed..bbd1955bff9 100644 --- a/audio/sound-juicer/Makefile +++ b/audio/sound-juicer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.121 2021/12/08 16:03:20 adam Exp $ +# $NetBSD: Makefile,v 1.122 2022/03/11 08:56:02 nia Exp $ DISTNAME= sound-juicer-3.24.0 PKGREVISION= 12 @@ -19,9 +19,6 @@ USE_TOOLS+= pkg-config USE_TOOLS+= msgfmt msgmerge xgettext itstool USE_TOOLS+= gmake -# XXX fails without GNU msgfmt -_TOOLS_USE_PKGSRC.msgfmt= yes - .include "../../audio/libcanberra/buildlink3.mk" .include "../../audio/libdiscid/buildlink3.mk" .include "../../audio/libmusicbrainz5/buildlink3.mk" diff --git a/audio/sound-juicer/hacks.mk b/audio/sound-juicer/hacks.mk new file mode 100644 index 00000000000..06bf1701cdb --- /dev/null +++ b/audio/sound-juicer/hacks.mk @@ -0,0 +1,13 @@ +# $NetBSD: hacks.mk,v 1.1 2022/03/11 08:56:02 nia Exp $ + +.if !defined(SOUND_JUICER_HACKS_MK) +SOUND_JUICER_HACKS_MK:= + +.include "../../mk/bsd.fast.prefs.mk" + +.if ${OPSYS} == "NetBSD" +# Old GPLv2 version of msgfmt in NetBSD does not support --desktop/--xml. +TOOLS_PLATFORM.msgfmt= # none +PKG_HACKS+= avoid-gplv2-msgfmt +.endif +.endif # SOUND_JUICER_HACKS_MK diff --git a/audio/speech-dispatcher/Makefile b/audio/speech-dispatcher/Makefile index 918d6b0a0c0..0cda435d5c0 100644 --- a/audio/speech-dispatcher/Makefile +++ b/audio/speech-dispatcher/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2021/12/08 16:01:44 adam Exp $ +# $NetBSD: Makefile,v 1.23 2022/03/11 08:56:02 nia Exp $ DISTNAME= speech-dispatcher-0.10.2 PKGREVISION= 3 @@ -35,11 +35,6 @@ CONFIGURE_ARGS+= --without-pulse .include "../../mk/bsd.prefs.mk" -# msgfmt: unknown option -- desktop -.if ${OPSYS} == "NetBSD" -TOOLS_PLATFORM.msgfmt= -.endif - PKGCONFIG_OVERRIDE+= speech-dispatcher.pc.in PKG_SYSCONFSUBDIR= speech-dispatcher |