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
|
2008-04-24 15:39:20 +02:00
|
|
|
PORTVERSION= 0.40.14
|
2010-02-05 12:46:55 +01:00
|
|
|
PORTREVISION= 6
|
2005-11-23 12:57:02 +01:00
|
|
|
CATEGORIES= multimedia
|
2008-02-10 20:20:18 +01:00
|
|
|
MASTER_SITES= http://files.backtrace.info/releases/0.40/
|
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
|
|
|
|
2009-12-02 18:16:16 +01:00
|
|
|
LIB_DEPENDS= tag.1:${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 \
|
2009-11-28 11:34:26 +01:00
|
|
|
cdio.12:${PORTSDIR}/sysutils/libcdio \
|
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 \
|
2009-07-28 13:45:08 +02:00
|
|
|
boost_date_time.4:${PORTSDIR}/devel/boost-libs \
|
2007-08-12 13:07:14 +02:00
|
|
|
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
|
|
|
|
sexymm.2:${PORTSDIR}/x11-toolkits/libsexymm \
|
|
|
|
ofa.0:${PORTSDIR}/audio/libofa \
|
2008-03-24 04:52:36 +01:00
|
|
|
soup-2.2.8:${PORTSDIR}/devel/libsoup22
|
2005-11-23 12:57:02 +01:00
|
|
|
|
2006-09-10 15:41:33 +02:00
|
|
|
CONFLICTS= bmpx-devel-[0-9]*
|
|
|
|
|
2007-10-17 12:13:01 +02:00
|
|
|
USE_BISON= build
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= ice sm
|
2005-11-23 12:57:02 +01:00
|
|
|
USE_BZIP2= yes
|
|
|
|
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
|
2007-08-13 20:12:38 +02:00
|
|
|
USE_SQLITE= 3
|
2005-11-23 12:57:02 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-08-12 13:07:14 +02:00
|
|
|
CONFIGURE_ARGS+= --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig \
|
2006-09-10 13:27:53 +02:00
|
|
|
--with-dbus-services-dir="${PREFIX}/share/dbus-1/services" \
|
2007-09-09 14:52:58 +02:00
|
|
|
--with-libintl-prefix="${LOCALBASE}" \
|
|
|
|
--disable-doc
|
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}"
|
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
|
|
|
|
2008-04-24 15:39:20 +02:00
|
|
|
.if !defined(WITHOUT_HAL)
|
2007-08-19 13:42:40 +02:00
|
|
|
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
|
2008-04-24 15:39:20 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-hal
|
2007-08-19 13:42:40 +02:00
|
|
|
.endif
|
|
|
|
|
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_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
|
|
|
|
USE_GSTREAMER+= faad
|
|
|
|
PLIST_SUB+= MPEG4IP=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= MPEG4IP="@comment "
|
|
|
|
.endif
|
|
|
|
|
2009-01-05 22:36:39 +01:00
|
|
|
.include <bsd.port.mk>
|