2005-11-23 12:57:02 +01:00
|
|
|
# New ports collection makefile for: bmpx
|
|
|
|
# Date created: 2005-11-20
|
|
|
|
# Whom: Roman Bogorodskiy <novel@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bmpx
|
2007-01-17 08:09:21 +01:00
|
|
|
PORTVERSION= 0.36.1
|
2007-07-04 17:10:58 +02:00
|
|
|
PORTREVISION= 5
|
2005-11-23 12:57:02 +01:00
|
|
|
CATEGORIES= multimedia
|
2007-01-17 08:09:21 +01:00
|
|
|
MASTER_SITES= http://files.beep-media-player.org/releases/0.36/
|
2005-11-23 12:57:02 +01:00
|
|
|
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2006-05-05 17:05:35 +02:00
|
|
|
COMMENT= Media player geared towards usability, technical efficiency and looks
|
2005-11-23 12:57:02 +01:00
|
|
|
|
|
|
|
LIB_DEPENDS= tag.5:${PORTSDIR}/audio/taglib \
|
2006-10-14 10:54:54 +02:00
|
|
|
cairomm-1.0.1:${PORTSDIR}/graphics/cairomm \
|
2006-05-05 17:05:35 +02:00
|
|
|
musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
|
2007-01-17 08:09:21 +01:00
|
|
|
cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia \
|
2007-03-16 11:03:11 +01:00
|
|
|
neon.26:${PORTSDIR}/www/neon \
|
2006-07-15 15:59:01 +02:00
|
|
|
glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
|
|
|
|
gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
|
2007-01-17 08:09:21 +01:00
|
|
|
rsvg-2:${PORTSDIR}/graphics/librsvg2 \
|
2007-07-04 17:10:58 +02:00
|
|
|
boost_date_time.4:${PORTSDIR}/devel/boost \
|
2006-10-14 10:54:54 +02:00
|
|
|
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
|
2005-11-23 12:57:02 +01:00
|
|
|
|
2006-09-10 15:41:33 +02:00
|
|
|
CONFLICTS= bmpx-devel-[0-9]*
|
|
|
|
|
2006-09-10 13:27:53 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:259
|
2006-02-10 23:47:02 +01:00
|
|
|
USE_BISON= yes
|
2005-11-23 12:57:02 +01:00
|
|
|
USE_BZIP2= yes
|
2005-11-26 17:38:56 +01:00
|
|
|
USE_FAM= yes
|
|
|
|
USE_GCC= 3.4+
|
2005-11-23 12:57:02 +01:00
|
|
|
USE_GMAKE= yes
|
2005-11-26 17:38:56 +01:00
|
|
|
USE_GNOME= gtk20 libglade2 desktopfileutils
|
2006-08-13 06:59:51 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2007-06-07 16:04:25 +02:00
|
|
|
USE_GSTREAMER= good mp3 ogg vorbis cdparanoia
|
2006-09-10 15:41:33 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-11-23 12:57:02 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-01-17 08:09:21 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-hal \
|
|
|
|
--with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig \
|
2006-09-10 13:27:53 +02:00
|
|
|
--with-dbus-services-dir="${PREFIX}/share/dbus-1/services" \
|
|
|
|
--with-libintl-prefix="${LOCALBASE}"
|
2005-11-23 12:57:02 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2007-01-17 08:09:21 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
2006-07-22 07:31:26 +02:00
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2006-12-01 15:30:32 +01:00
|
|
|
CONFIGURE_ARGS+= --x-includes=${X11BASE}/include \
|
|
|
|
--x-libraries=${X11BASE}/lib
|
2005-11-23 12:57:02 +01:00
|
|
|
|
2006-05-05 17:05:35 +02:00
|
|
|
MAN1= beep-media-player-2.1
|
2005-11-23 12:57:02 +01:00
|
|
|
|
2005-11-26 17:38:56 +01:00
|
|
|
.if defined(WITHOUT_STARTUP_NOTIFICATION)
|
|
|
|
CONFIGURE_ARGS+= --disable-sn
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
|
|
|
|
.endif
|
|
|
|
|
2006-05-07 20:04:38 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
2007-01-17 08:09:21 +01:00
|
|
|
.if defined(WITH_OFA)
|
|
|
|
CONFIGURE_ARGS+= --enable-ofa
|
2007-02-24 10:04:24 +01:00
|
|
|
LIB_DEPENDS+= ofa.0:${PORTSDIR}/audio/libofa
|
2007-01-17 08:09:21 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_SIDPLAY)
|
|
|
|
CONFIGURE_ARGS+= --enable-sid
|
|
|
|
USE_GSTREAMER+= sidplay
|
|
|
|
LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
|
|
|
|
PLIST_SUB+= SID=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-sid
|
|
|
|
PLIST_SUB+= SID="@comment "
|
|
|
|
.endif
|
|
|
|
|
2007-04-14 19:36:10 +02:00
|
|
|
.if defined(WITH_FAAD) || defined(WITH_MPEG4IP)
|
|
|
|
CONFIGURE_ARGS+= --enable-mp4v2
|
|
|
|
LIB_DEPENDS+= mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
|
|
|
|
USE_GSTREAMER+= faad
|
|
|
|
PLIST_SUB+= MPEG4IP=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= MPEG4IP="@comment "
|
|
|
|
.endif
|
|
|
|
|
2007-02-12 02:39:57 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 600000
|
|
|
|
BROKEN= Does not compile on 5.x
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|