diff options
author | sf <sf@FreeBSD.org> | 2002-01-21 09:33:39 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2002-01-21 09:33:39 +0800 |
commit | 806b0d1dc881315b546455843a1b580e26918ddf (patch) | |
tree | ef869f1fc8cebcc73ae052cf94f4ba3d423fb1d1 /audio/gqmpeg | |
parent | 077e8cb39f93767b89fb1f8cf830321b0db29645 (diff) | |
download | freebsd-ports-gnome-806b0d1dc881315b546455843a1b580e26918ddf.tar.gz freebsd-ports-gnome-806b0d1dc881315b546455843a1b580e26918ddf.tar.zst freebsd-ports-gnome-806b0d1dc881315b546455843a1b580e26918ddf.zip |
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 <katsu@iec.hiroshima-u.ac.jp>
Reviewed by: maintainer
Diffstat (limited to 'audio/gqmpeg')
-rw-r--r-- | audio/gqmpeg/Makefile | 19 | ||||
-rw-r--r-- | audio/gqmpeg/distinfo | 2 | ||||
-rw-r--r-- | audio/gqmpeg/files/patch-ad | 6 | ||||
-rw-r--r-- | audio/gqmpeg/pkg-plist | 2 |
4 files changed, 24 insertions, 5 deletions
diff --git a/audio/gqmpeg/Makefile b/audio/gqmpeg/Makefile index 8ba42fb375f6..e2e58a383d38 100644 --- a/audio/gqmpeg/Makefile +++ b/audio/gqmpeg/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 <bsd.port.post.mk> diff --git a/audio/gqmpeg/distinfo b/audio/gqmpeg/distinfo index 4c4aeac9edd2..6205dc1242ef 100644 --- a/audio/gqmpeg/distinfo +++ b/audio/gqmpeg/distinfo @@ -1 +1 @@ -MD5 (gqmpeg-0.11.0.tar.gz) = a6b1f35c47afc5e5c67ad801dffb93ae +MD5 (gqmpeg-0.12.0.tar.gz) = 3d4eff0a862afea0eedd8e5c08a1ded6 diff --git a/audio/gqmpeg/files/patch-ad b/audio/gqmpeg/files/patch-ad index 7ede7cab680c..8101a1baf14b 100644 --- a/audio/gqmpeg/files/patch-ad +++ b/audio/gqmpeg/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/pkg-plist b/audio/gqmpeg/pkg-plist index c9fdd6bd53f9..8019c652747a 100644 --- a/audio/gqmpeg/pkg-plist +++ b/audio/gqmpeg/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 |