2012-01-03 02:03:54 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2012/01/03 07:03:54 ajacoutot Exp $
|
2004-12-19 02:59:24 -05:00
|
|
|
|
2010-06-19 16:21:14 -04:00
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT-main= Gtk+2 media player based on XMMS
|
|
|
|
COMMENT-mp3= MP3 input plugin for BMP
|
|
|
|
COMMENT-vorbis= Ogg Vorbis input plugin for BMP
|
|
|
|
|
|
|
|
V= 0.9.7.1
|
2004-12-22 07:28:50 -05:00
|
|
|
DISTNAME= bmp-$V
|
2010-06-19 16:21:14 -04:00
|
|
|
PKGNAME-main= bmp-$V
|
|
|
|
PKGNAME-mp3= bmp-mp3-$V
|
|
|
|
PKGNAME-vorbis= bmp-vorbis-$V
|
2004-12-19 02:59:24 -05:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=beepmp/}
|
|
|
|
|
2011-11-04 04:42:25 -04:00
|
|
|
REVISION-main= 3
|
|
|
|
REVISION-mp3= 3
|
|
|
|
REVISION-vorbis= 3
|
2010-10-11 04:11:16 -04:00
|
|
|
|
2010-06-19 16:21:14 -04:00
|
|
|
SHARED_LIBS= beep 2.1
|
|
|
|
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/beepmp/
|
2004-12-19 02:59:24 -05:00
|
|
|
|
2010-06-19 16:21:14 -04:00
|
|
|
# GPLv2+
|
2004-12-19 02:59:24 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2010-06-19 16:21:14 -04:00
|
|
|
PERMIT_PACKAGE_CDROM-mp3= patents
|
2004-12-19 02:59:24 -05:00
|
|
|
|
2007-10-27 12:13:37 -04:00
|
|
|
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi \
|
|
|
|
Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
|
2010-10-11 04:11:16 -04:00
|
|
|
freetype gio-2.0 gmodule-2.0 gobject-2.0 m pango-1.0 \
|
2009-08-10 02:29:51 -04:00
|
|
|
pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread-stubs \
|
2011-10-12 08:54:30 -04:00
|
|
|
xcb xcb-render z gdk_pixbuf-2.0>=400.3 \
|
2010-11-14 19:22:45 -05:00
|
|
|
gdk-x11-2.0>=400.3 gtk-x11-2.0>=0.5 glib-2.0>=400.2 \
|
2011-11-04 04:42:25 -04:00
|
|
|
gthread-2.0>=400.2 GL Xxf86vm drm ffi xcb-shm stdc++
|
2010-06-19 16:21:14 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2004-12-19 02:59:24 -05:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS= x11/gtk+2 \
|
|
|
|
devel/glib2
|
2004-12-19 02:59:24 -05:00
|
|
|
|
2011-10-17 08:15:32 -04:00
|
|
|
MULTI_PACKAGES = -main -mp3 -vorbis
|
2004-12-19 02:59:24 -05:00
|
|
|
|
2011-10-17 08:15:32 -04:00
|
|
|
PSEUDO_FLAVORS = no_mp3 no_vorbis
|
|
|
|
FLAVOR ?=
|
|
|
|
|
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
.if !${BUILD_PACKAGES:M-mp3}
|
|
|
|
CONFIGURE_ARGS += --disable-mp3
|
2004-12-19 02:59:24 -05:00
|
|
|
.endif
|
2011-10-17 08:15:32 -04:00
|
|
|
.if !${BUILD_PACKAGES:M-vorbis}
|
|
|
|
CONFIGURE_ARGS += --disable-vorbis
|
2004-12-19 02:59:24 -05:00
|
|
|
.endif
|
|
|
|
|
2011-10-17 08:15:32 -04:00
|
|
|
|
2007-12-18 10:56:16 -05:00
|
|
|
RUN_DEPENDS-main=${RUN_DEPENDS} \
|
2010-11-14 19:22:45 -05:00
|
|
|
devel/desktop-file-utils
|
2006-11-25 19:10:26 -05:00
|
|
|
LIB_DEPENDS-main=${LIB_DEPENDS} \
|
2010-11-14 19:22:45 -05:00
|
|
|
audio/esound \
|
|
|
|
devel/libglade2 \
|
|
|
|
textproc/libxml
|
2006-11-25 19:10:26 -05:00
|
|
|
LIB_DEPENDS-vorbis=${LIB_DEPENDS} \
|
2010-11-14 19:22:45 -05:00
|
|
|
audio/libvorbis
|
2005-01-02 13:57:26 -05:00
|
|
|
|
2006-11-25 19:10:26 -05:00
|
|
|
LIB_DEPENDS-mp3=${LIB_DEPENDS} \
|
2010-11-14 19:22:45 -05:00
|
|
|
${BUILD_PKGPATH}
|
2010-09-05 06:25:16 -04:00
|
|
|
WANTLIB-mp3= ${WANTLIB} beep
|
2006-11-25 19:10:26 -05:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
WANTLIB-vorbis= ${WANTLIB} ogg vorbis vorbisfile>=4.0
|
2006-11-25 19:10:26 -05:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
RUN_DEPENDS-vorbis= ${BUILD_PKGPATH}
|
|
|
|
WANTLIB-main= ${WANTLIB} ICE SM pthread audiofile c sndio esd>=2.34 \
|
|
|
|
glade-2.0>=0.4 xml2>=9
|
2004-12-19 02:59:24 -05:00
|
|
|
|
2010-06-19 16:21:14 -04:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
CONFIGURE_STYLE= gnu
|
2004-12-19 02:59:24 -05:00
|
|
|
CONFIGURE_ARGS+=--disable-alsa \
|
|
|
|
--disable-oss
|
|
|
|
|
2011-10-17 08:15:32 -04:00
|
|
|
|
2004-12-19 02:59:24 -05:00
|
|
|
.include <bsd.port.mk>
|