2009-07-22 11:01:16 +02:00
|
|
|
# $NetBSD: Makefile.common,v 1.25 2009/07/22 09:01:17 wiz Exp $
|
2004-04-11 20:11:06 +02:00
|
|
|
#
|
|
|
|
|
2006-07-31 23:43:55 +02:00
|
|
|
DISTNAME= bmp-0.9.7.1
|
2004-04-11 20:11:06 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=beepmp/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-04-11 20:11:06 +02:00
|
|
|
HOMEPAGE= http://beepmp.sourceforge.net/
|
|
|
|
COMMENT= Beep Media Player (fork of XMMS to work with GTK+ 2.x)
|
|
|
|
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../audio/bmp/distinfo
|
|
|
|
FILESDIR= ${.CURDIR}/../../audio/xmms/files
|
|
|
|
PATCHDIR= ${.CURDIR}/../../audio/bmp/patches
|
2005-10-19 17:09:37 +02:00
|
|
|
PATCH_SITES= http://izb.knu.ac.kr/~bh/diffs/
|
2006-07-31 23:43:55 +02:00
|
|
|
PATCHFILES= bmp-0.9.7-ipv6-simple.diff
|
2005-10-19 17:09:37 +02:00
|
|
|
PATCH_DIST_STRIP+= -p1
|
2004-04-11 20:11:06 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2004-04-11 20:11:06 +02:00
|
|
|
|
2006-05-31 11:12:18 +02:00
|
|
|
BMP_USE_ESD?= no
|
|
|
|
|
2004-04-11 20:11:06 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-alsa
|
2006-05-31 11:12:18 +02:00
|
|
|
.if !empty(BMP_USE_ESD:M[Yy][Ee][Ss])
|
|
|
|
CONFIGURE_ARGS+= --enable-esd
|
|
|
|
.else
|
2004-04-11 20:11:06 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-esd
|
2006-05-31 11:12:18 +02:00
|
|
|
.endif
|
2004-04-11 20:11:06 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-opengl
|
2005-08-01 02:09:35 +02:00
|
|
|
.if defined(BMP_ENABLE_ENCODERS) && !empty(BMP_ENABLE_ENCODERS:M[Yy][Ee][Ss])
|
|
|
|
CONFIGURE_ARGS+= --enable-mp3
|
|
|
|
CONFIGURE_ARGS+= --enable-ogg
|
|
|
|
CONFIGURE_ARGS+= --enable-vorbis
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-mp3
|
2004-04-11 20:11:06 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-oss
|
|
|
|
CONFIGURE_ARGS+= --disable-vorbis
|
2005-08-01 02:09:35 +02:00
|
|
|
.endif
|
2004-04-11 20:11:06 +02:00
|
|
|
|
2004-12-25 16:22:36 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= bmp.pc
|
2004-04-11 20:11:06 +02:00
|
|
|
|
Update bmp and bmp-esound to 0.9.7rc2 (what a PITA):
BMP 0.9.7 rc2
Bugfixes
* Include the file "beep/build.list" in the distribution.
BMP 0.9.7 rc1
Enhancements
* Revised GUI according to GNOME HIG
* New window icons
* New About and Preferences dialog
* New file/folder selector using GTK+ 2.4's file chooser
* Skin cursor support
* New equalizer using IIR filtering
* ID3v2 editing support using id3lib
* ID3 character encoding to assume may now be overrided
* New title formatting tag for conditional fields eg. %{n:text%}
* Experimental GConf and GNOME VFS support
* New translations (Dutch, German, Italian, Japanese, Korean, Lithuanian,
Russian, Simplified Chinese, Spanish, Swedish, Welsh)
* Merged configure scripts for shorter build time
Miscellaneous
* Removed EasyMove and DoubleSize
* Removed real-time priority support
* Removed AM_PATH_BMP m4 macro in favour of PKG_CHECK_MODULES
* Removed beep-config in favour of 'pkg-config bmp'
Bugfixes
* Memory leaks
* i18n and l10n
* Many others (see Bugzilla and ChangeLog)
2004-08-31 17:47:56 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.bmp
|
2005-10-19 17:09:37 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= gnome inet6 xmms-eq
|
Update bmp and bmp-esound to 0.9.7rc2 (what a PITA):
BMP 0.9.7 rc2
Bugfixes
* Include the file "beep/build.list" in the distribution.
BMP 0.9.7 rc1
Enhancements
* Revised GUI according to GNOME HIG
* New window icons
* New About and Preferences dialog
* New file/folder selector using GTK+ 2.4's file chooser
* Skin cursor support
* New equalizer using IIR filtering
* ID3v2 editing support using id3lib
* ID3 character encoding to assume may now be overrided
* New title formatting tag for conditional fields eg. %{n:text%}
* Experimental GConf and GNOME VFS support
* New translations (Dutch, German, Italian, Japanese, Korean, Lithuanian,
Russian, Simplified Chinese, Spanish, Swedish, Welsh)
* Merged configure scripts for shorter build time
Miscellaneous
* Removed EasyMove and DoubleSize
* Removed real-time priority support
* Removed AM_PATH_BMP m4 macro in favour of PKG_CHECK_MODULES
* Removed beep-config in favour of 'pkg-config bmp'
Bugfixes
* Memory leaks
* i18n and l10n
* Many others (see Bugzilla and ChangeLog)
2004-08-31 17:47:56 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
2004-04-11 20:11:06 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
Update bmp and bmp-esound to 0.9.7rc2 (what a PITA):
BMP 0.9.7 rc2
Bugfixes
* Include the file "beep/build.list" in the distribution.
BMP 0.9.7 rc1
Enhancements
* Revised GUI according to GNOME HIG
* New window icons
* New About and Preferences dialog
* New file/folder selector using GTK+ 2.4's file chooser
* Skin cursor support
* New equalizer using IIR filtering
* ID3v2 editing support using id3lib
* ID3 character encoding to assume may now be overrided
* New title formatting tag for conditional fields eg. %{n:text%}
* Experimental GConf and GNOME VFS support
* New translations (Dutch, German, Italian, Japanese, Korean, Lithuanian,
Russian, Simplified Chinese, Spanish, Swedish, Welsh)
* Merged configure scripts for shorter build time
Miscellaneous
* Removed EasyMove and DoubleSize
* Removed real-time priority support
* Removed AM_PATH_BMP m4 macro in favour of PKG_CHECK_MODULES
* Removed beep-config in favour of 'pkg-config bmp'
Bugfixes
* Memory leaks
* i18n and l10n
* Many others (see Bugzilla and ChangeLog)
2004-08-31 17:47:56 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mgnome)
|
|
|
|
CONFIGURE_ARGS+= --enable-gconf
|
|
|
|
CONFIGURE_ARGS+= --enable-gnome-vfs
|
2007-09-21 15:03:25 +02:00
|
|
|
. include "../../devel/GConf/buildlink3.mk"
|
2007-09-20 01:13:12 +02:00
|
|
|
. include "../../sysutils/gnome-vfs/buildlink3.mk"
|
Update bmp and bmp-esound to 0.9.7rc2 (what a PITA):
BMP 0.9.7 rc2
Bugfixes
* Include the file "beep/build.list" in the distribution.
BMP 0.9.7 rc1
Enhancements
* Revised GUI according to GNOME HIG
* New window icons
* New About and Preferences dialog
* New file/folder selector using GTK+ 2.4's file chooser
* Skin cursor support
* New equalizer using IIR filtering
* ID3v2 editing support using id3lib
* ID3 character encoding to assume may now be overrided
* New title formatting tag for conditional fields eg. %{n:text%}
* Experimental GConf and GNOME VFS support
* New translations (Dutch, German, Italian, Japanese, Korean, Lithuanian,
Russian, Simplified Chinese, Spanish, Swedish, Welsh)
* Merged configure scripts for shorter build time
Miscellaneous
* Removed EasyMove and DoubleSize
* Removed real-time priority support
* Removed AM_PATH_BMP m4 macro in favour of PKG_CHECK_MODULES
* Removed beep-config in favour of 'pkg-config bmp'
Bugfixes
* Memory leaks
* i18n and l10n
* Many others (see Bugzilla and ChangeLog)
2004-08-31 17:47:56 +02:00
|
|
|
.endif
|
2004-04-11 20:11:06 +02:00
|
|
|
|
2005-10-19 17:09:37 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.endif
|
|
|
|
|
2005-03-08 18:05:17 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mxmms-eq)
|
|
|
|
CONFIGURE_ARGS+= --with-xmms-eq
|
|
|
|
.endif
|
|
|
|
|
2004-04-11 20:11:06 +02:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
2005-04-29 00:16:31 +02:00
|
|
|
RAWPART_cmd= /sbin/sysctl -n kern.rawpartition | ${TR} 0-9 a-j
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-dev-dsp=${DEVOSSSOUND:Q} \
|
2005-04-29 00:16:31 +02:00
|
|
|
--with-cdda-device=/dev/rcd0${RAWPART_cmd:sh} \
|
2004-04-11 20:11:06 +02:00
|
|
|
--with-cdda-dir=/cdrom/
|
|
|
|
|
2004-06-27 00:12:28 +02:00
|
|
|
post-extract:
|
|
|
|
${RM} ${WRKSRC}/Output/OSS/soundcard.h
|
|
|
|
${LN} -s /usr/include/soundcard.h ${WRKSRC}/Output/OSS/soundcard.h
|
|
|
|
|
2004-04-11 20:11:06 +02:00
|
|
|
. 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
|
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
|
2004-04-11 20:11:06 +02:00
|
|
|
.include "../../audio/libmikmod/buildlink3.mk"
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2007-09-21 15:03:25 +02:00
|
|
|
.include "../../devel/libglade/buildlink3.mk"
|
2005-03-16 17:33:25 +01:00
|
|
|
.include "../../devel/pango/buildlink3.mk"
|
2004-04-11 20:11:06 +02:00
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2004-04-11 20:11:06 +02:00
|
|
|
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|