diff options
author | wiz <wiz@pkgsrc.org> | 2009-03-22 19:01:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-03-22 19:01:37 +0000 |
commit | b1076bb7657e4a5b0609e27afb24b9e841f99668 (patch) | |
tree | 0878b8066ae7b10a679ffb6b3e1436a3d4d08c14 /multimedia/gnome-media | |
parent | 199b1f0ecaa0fa4f7144200486984816129b4319 (diff) | |
download | pkgsrc-b1076bb7657e4a5b0609e27afb24b9e841f99668.tar.gz |
Remove msgfmtstrip scripts and targets using them, now that the
infrastructure supports this properly (thanks joerg!).
Diffstat (limited to 'multimedia/gnome-media')
-rw-r--r-- | multimedia/gnome-media/Makefile | 21 | ||||
-rw-r--r-- | multimedia/gnome-media/files/msgfmtstrip | 18 |
2 files changed, 6 insertions, 33 deletions
diff --git a/multimedia/gnome-media/Makefile b/multimedia/gnome-media/Makefile index fec4f9d26e6..06b20eedf9f 100644 --- a/multimedia/gnome-media/Makefile +++ b/multimedia/gnome-media/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2009/03/16 22:09:28 jmcneill Exp $ +# $NetBSD: Makefile,v 1.20 2009/03/22 19:01:40 wiz Exp $ DISTNAME= gnome-media-2.26.0 CATEGORIES= multimedia gnome @@ -40,20 +40,6 @@ CONFIGURE_ARGS+= --disable-ipv6 GCONF_SCHEMAS+= gnome-audio-profiles.schemas GCONF_SCHEMAS+= gnome-sound-recorder.schemas -# The gettext version in pkgsrc cannot handle the .po files, so -# we strip out usage of the newer features (context and fuzzy matches) -post-patch: - for f in ${WRKSRC}/po/*.po ${WRKSRC}/*/doc/*/*.po ; do \ - mv $$f $$f.original ; \ - ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \ - done - -BUILDLINK_API_DEPENDS.gst-plugins0.10-base+= gst-plugins0.10-base>=0.10.3 -BUILDLINK_API_DEPENDS.gstreamer0.10+= gstreamer0.10>=0.10.3 -BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0 -BUILDLINK_API_DEPENDS.libgnome+= libgnome>=2.13.7 -BUILDLINK_API_DEPENDS.libgnomeui+= libgnomeui>=2.13.2 - .include "../../audio/libcanberra/buildlink3.mk" .include "../../audio/pulseaudio/buildlink3.mk" .include "../../databases/gdbm/buildlink3.mk" @@ -62,18 +48,23 @@ BUILDLINK_API_DEPENDS.libgnomeui+= libgnomeui>=2.13.2 .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../devel/libglade/buildlink3.mk" +BUILDLINK_API_DEPENDS.libgnome+= libgnome>=2.13.7 .include "../../devel/libgnome/buildlink3.mk" +BUILDLINK_API_DEPENDS.libgnomeui+= libgnomeui>=2.13.2 .include "../../devel/libgnomeui/buildlink3.mk" .include "../../devel/libbonobo/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" +BUILDLINK_API_DEPENDS.gst-plugins0.10-base+= gst-plugins0.10-base>=0.10.3 .include "../../multimedia/gst-plugins0.10-base/buildlink3.mk" .include "../../multimedia/gst-plugins0.10-good/buildlink3.mk" +BUILDLINK_API_DEPENDS.gstreamer0.10+= gstreamer0.10>=0.10.3 .include "../../multimedia/gstreamer0.10/buildlink3.mk" .include "../../net/ORBit2/buildlink3.mk" .include "../../sysutils/nautilus-cd-burner/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../mk/omf-scrollkeeper.mk" .include "../../textproc/gnome-doc-utils/buildlink3.mk" +BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0 .include "../../x11/gtk2/buildlink3.mk" .include "../../x11/libunique/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" diff --git a/multimedia/gnome-media/files/msgfmtstrip b/multimedia/gnome-media/files/msgfmtstrip deleted file mode 100644 index 2309639b8cc..00000000000 --- a/multimedia/gnome-media/files/msgfmtstrip +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: msgfmtstrip,v 1.1 2009/03/16 22:09:28 jmcneill Exp $ -# Simple awk script to strip out .po entries with "msgctxt" or "#~|", so the -# resultant file can be handled by the msgfmt 0.14.4 in NetBSD 4.0 -{ -if (/^$/) { entry_end(); } -else if ($1 == "msgctxt" || $2 == "msgctxt") { skip = 1; } -else if ($1 == "#~|") { skip = 1; } -else { entry = entry $0 "\n" } -} - -END { entry_end(); } - -function entry_end() { - if (!skip) - print entry; - entry = ""; - skip = 0; -} |