1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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
This commit is contained in:
FUJISHIMA Satsuki 2002-01-21 01:33:39 +00:00
parent bfdc238f96
commit 322a96176d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53422
8 changed files with 48 additions and 10 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (gqmpeg-0.11.0.tar.gz) = a6b1f35c47afc5e5c67ad801dffb93ae
MD5 (gqmpeg-0.12.0.tar.gz) = 3d4eff0a862afea0eedd8e5c08a1ded6

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -1 +1 @@
MD5 (gqmpeg-0.11.0.tar.gz) = a6b1f35c47afc5e5c67ad801dffb93ae
MD5 (gqmpeg-0.12.0.tar.gz) = 3d4eff0a862afea0eedd8e5c08a1ded6

View File

@ -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

View File

@ -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