diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-04-11 18:11:06 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-04-11 18:11:06 +0000 |
commit | b56b2d350da8dcfe11d554195578f9f5402663e4 (patch) | |
tree | 617e6345206792999bf37783f0d6ecad4662e253 /audio/bmp/Makefile.common | |
parent | 37b37cb3fbab5de383ea8cdc37f7515230f852e5 (diff) | |
download | pkgsrc-b56b2d350da8dcfe11d554195578f9f5402663e4.tar.gz |
Initial import of bmp, version 0.9.6:
Beep Media Player is a fork of XMMS. Its primary goals are interface
and usability, all based on the technology provided by GTK2+, while
maintaining the skinned user interface.
Slightly based on the beep-media-player package found in pkgsrc-wip.
Diffstat (limited to 'audio/bmp/Makefile.common')
-rw-r--r-- | audio/bmp/Makefile.common | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/audio/bmp/Makefile.common b/audio/bmp/Makefile.common new file mode 100644 index 00000000000..3a9ed7488b1 --- /dev/null +++ b/audio/bmp/Makefile.common @@ -0,0 +1,61 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2004/04/11 18:11:06 jmmv Exp $ +# + +DISTNAME= bmp-0.9.6 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=beepmp/} + +MAINTAINER= jmmv@NetBSD.org +HOMEPAGE= http://beepmp.sourceforge.net/ +COMMENT= Beep Media Player (fork of XMMS to work with GTK+ 2.x) + +DEPENDS+= xdg-dirs>=1.1:../../misc/xdg-dirs + +DISTINFO_FILE= ${.CURDIR}/../../audio/bmp/distinfo +FILESDIR= ${.CURDIR}/../../audio/xmms/files +PATCHDIR= ${.CURDIR}/../../audio/bmp/patches + +GNU_CONFIGURE= yes +USE_BUILDLINK3= yes +USE_LIBTOOL= yes +USE_PKGLOCALEDIR= yes +USE_X11= yes + +CONFIGURE_ARGS+= --disable-alsa +CONFIGURE_ARGS+= --disable-esd +CONFIGURE_ARGS+= --disable-opengl +CONFIGURE_ARGS+= --disable-oss +CONFIGURE_ARGS+= --disable-vorbis + +PKGCONFIG_OVERRIDE+= beep.pc + +.include "../../mk/bsd.prefs.mk" + +PTHREAD_OPTS+= require + +.if ${OPSYS} == "NetBSD" +RAWPART!= /sbin/sysctl -n kern.rawpartition | ${TR} 0-9 a-j +CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND} \ + --with-cdda-device=/dev/rcd0${RAWPART} \ + --with-cdda-dir=/cdrom/ + +. if ${MACHINE_ARCH} == "i386" +post-patch: +. if ${OBJECT_FMT} == "a.out" + ${CP} ${FILESDIR}/decode_i586_.s ${WRKSRC}/Input/mpg123/decode_i586.s +. endif + cd ${WRKSRC}/Input/mpg123 && \ + ${MV} decode_i586.s decode_i586.s.orig && \ + ${SED} -e 's@^/@#/@g' <decode_i586.s.orig >decode_i586.s +. endif +.endif + +.include "../../audio/libmikmod/buildlink3.mk" +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/pkgconfig/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" + +.include "../../mk/ossaudio.buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" |