From 322a96176d53ab390d220c9b770985ee5ba182f3 Mon Sep 17 00:00:00 2001 From: FUJISHIMA Satsuki Date: Mon, 21 Jan 2002 01:33:39 +0000 Subject: o Update to 0.12.0 o Add WITH_MPG321 option which build this port with RUN_DEPENDS=mpg321 instad of mpg123 PR: 34094 Submitted by: TATEISHI Katsuyuki Reviewed by: maintainer --- audio/gqmpeg-devel/Makefile | 19 ++++++++++++++++++- audio/gqmpeg-devel/distinfo | 2 +- audio/gqmpeg-devel/files/patch-ad | 6 +++--- audio/gqmpeg-devel/pkg-plist | 2 ++ 4 files changed, 24 insertions(+), 5 deletions(-) (limited to 'audio/gqmpeg-devel') diff --git a/audio/gqmpeg-devel/Makefile b/audio/gqmpeg-devel/Makefile index 8ba42fb375f6..e2e58a383d38 100644 --- a/audio/gqmpeg-devel/Makefile +++ b/audio/gqmpeg-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gqmpeg -PORTVERSION= 0.11.0 +PORTVERSION= 0.12.0 CATEGORIES+= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,7 +14,11 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER?= lyngbol@wheel.dk LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf +.if defined(WITH_MPG321) +RUN_DEPENDS= mpg321:${PORTSDIR}/audio/mpg321 +.else RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 +.endif USE_X_PREFIX= yes USE_GTK= yes @@ -34,8 +38,21 @@ MAN1= gqmpeg.1 USE_GNOME= yes .endif +.if !defined(WITH_MPG321) +pre-everything:: + @${ECHO_MSG} + @${ECHO_MSG} "If you want to use mpg321 instead of mpg123," + @${ECHO_MSG} "hit Ctrl-C right now and execute \"make WITH_MPG321=yes\"" + @${ECHO_MSG} +.endif + post-patch: @find ${WRKSRC} -name 'Makefile.in*' | xargs ${PERL} -pi.orig -e \ 's|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' +.if defined(WITH_MPG321) + @${PERL} -pi.orig -e \ + 's/^(#define MPG123_BINARY "mpg)123"/$${1}321"/' \ + ${WRKSRC}/src/io_mpg123.c +.endif .include diff --git a/audio/gqmpeg-devel/distinfo b/audio/gqmpeg-devel/distinfo index 4c4aeac9edd2..6205dc1242ef 100644 --- a/audio/gqmpeg-devel/distinfo +++ b/audio/gqmpeg-devel/distinfo @@ -1 +1 @@ -MD5 (gqmpeg-0.11.0.tar.gz) = a6b1f35c47afc5e5c67ad801dffb93ae +MD5 (gqmpeg-0.12.0.tar.gz) = 3d4eff0a862afea0eedd8e5c08a1ded6 diff --git a/audio/gqmpeg-devel/files/patch-ad b/audio/gqmpeg-devel/files/patch-ad index 7ede7cab680c..8101a1baf14b 100644 --- a/audio/gqmpeg-devel/files/patch-ad +++ b/audio/gqmpeg-devel/files/patch-ad @@ -1,8 +1,8 @@ ---- Makefile.in.orig Sat Nov 10 18:39:44 2001 -+++ Makefile.in Sat Nov 10 18:40:14 2001 +--- Makefile.in.orig Sun Jan 20 09:20:14 2002 ++++ Makefile.in Sun Jan 20 09:20:32 2002 @@ -116,7 +116,7 @@ skindir = $(prefix)/share/gqmpeg/skins - skin_DATA = SKIN-SPECS + skin_DATA = SKIN-SPECS README -@HAVE_GNOME_TRUE@desktopdir = @HAVE_GNOME_TRUE@$(GNOME_DATADIR)/gnome/apps/Multimedia +@HAVE_GNOME_TRUE@desktopdir = @HAVE_GNOME_TRUE@$(GNOME_DATADIR)/apps/Multimedia diff --git a/audio/gqmpeg-devel/pkg-plist b/audio/gqmpeg-devel/pkg-plist index c9fdd6bd53f9..8019c652747a 100644 --- a/audio/gqmpeg-devel/pkg-plist +++ b/audio/gqmpeg-devel/pkg-plist @@ -2,11 +2,13 @@ bin/gqmpeg bin/gqmpeg-shoutcast-plugin.sh %%GNOME:%%%%DATADIR%%/apps/Multimedia/gqmpeg.desktop %%GNOME:%%%%DATADIR%%/pixmaps/gqmpeg.png +share/gqmpeg/skins/README share/gqmpeg/skins/SKIN-SPECS share/locale/cs/LC_MESSAGES/gqmpeg.mo share/locale/de/LC_MESSAGES/gqmpeg.mo share/locale/fr/LC_MESSAGES/gqmpeg.mo share/locale/ja/LC_MESSAGES/gqmpeg.mo share/locale/pt_BR/LC_MESSAGES/gqmpeg.mo +share/locale/zh_TW/LC_MESSAGES/gqmpeg.mo @dirrm share/gqmpeg/skins @dirrm share/gqmpeg -- cgit v1.2.3