subpackage the mp3 input plugin.

This commit is contained in:
wcobb 2002-09-03 01:22:21 +00:00
parent 39c749d9b3
commit 7fa7cbf358
5 changed files with 20 additions and 5 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.26 2002/08/30 12:23:57 wcobb Exp $
# $OpenBSD: Makefile,v 1.27 2002/09/03 01:22:21 wcobb Exp $
COMMENT= "Multimedia player for the X Window System"
COMMENT-gnome= "GNOME applet for XMMS"
COMMENT-esd= "Esound output plugin for XMMS"
COMMENT-vorbis= "Ogg Vorbis input plugin for XMMS"
COMMENT-mikmod= "Mikmod input plugin for XMMS"
COMMENT-mp3= "MP3 input plugin for XMMS"
VERSION= 1.2.7
DISTNAME= xmms-${VERSION}
@ -12,6 +13,7 @@ PKGNAME-gnome= xmms-gnome-${VERSION}
PKGNAME-esd= xmms-esd-${VERSION}
PKGNAME-vorbis= xmms-vorbis-${VERSION}
PKGNAME-mikmod= xmms-mikmod-${VERSION}
PKGNAME-mp3= xmms-mp3-${VERSION}
SUNDRIVER= xmms_sun-${VERSION}
CATEGORIES= audio
HOMEPAGE= http://www.xmms.org
@ -33,7 +35,7 @@ MASTER_SITES= http://www.xmms.org/files/$V/ \
MASTER_SITES0= http://vedge.com.ar/hack/ \
http://mirror.csoft.org/xmms/
PSEUDO_FLAVORS= no_gnome no_esd no_vorbis no_mikmod
PSEUDO_FLAVORS= no_gnome no_esd no_vorbis no_mikmod no_mp3
FLAVOR?=
MULTI_PACKAGES=
.if !${FLAVOR:L:Mno_gnome}
@ -48,6 +50,9 @@ MULTI_PACKAGES+= -vorbis
.if !${FLAVOR:L:Mno_mikmod}
MULTI_PACKAGES+= -mikmod
.endif
.if !${FLAVOR:L:Mno_mp3}
MULTI_PACKAGES+= -mp3
.endif
SUBPACKAGE?=
@ -89,6 +94,11 @@ RUN_DEPENDS= ::audio/xmms
LIB_DEPENDS= mikmod.0::audio/libmikmod
RUN_DEPENDS= ::audio/xmms
. endif
. if ${SUBPACKAGE} == "-mp3"
PERMIT_PACKAGE_CDROM= "patent issues"
PERMIT_DISTFILES_CDROM= "patent issues"
RUN_DEPENDS= ::audio/xmms
. endif
.else
. if ${MULTI_PACKAGES:M-gnome}
LIB_DEPENDS+= gnome.36,gnomesupport.0,gnomeui.46,art_lgpl.4::x11/gnome/libs \
@ -133,5 +143,4 @@ post-install:
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/xmms-gnome
.endif
.include <bsd.port.mk>

3
audio/xmms/pkg/DESCR-mp3 Normal file
View File

@ -0,0 +1,3 @@
Plays MP3 audio files and HTTP streams from XMMS.
WWW: ${HOMEPAGE}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.7 2002/03/11 17:38:05 naddy Exp $
@comment $OpenBSD: PFRAG.shared,v 1.8 2002/09/03 01:22:22 wcobb Exp $
lib/libxmms.la
lib/libxmms.so.3.1
DYNLIBDIR(%B)
@ -6,7 +6,6 @@ lib/xmms/Output/libdisk_writer.so
lib/xmms/Output/libsun.so
lib/xmms/Input/libwav.so
lib/xmms/Input/libtonegen.so
lib/xmms/Input/libmpg123.so
lib/xmms/Input/libcdaudio.so
lib/xmms/Input/libidcin.so
lib/xmms/Effect/libvoice.so

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-mp3,v 1.1 2002/09/03 01:22:22 wcobb Exp $
lib/xmms/Input/libmpg123.so

2
audio/xmms/pkg/PLIST-mp3 Normal file
View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-mp3,v 1.1 2002/09/03 01:22:22 wcobb Exp $
%%SHARED%%