freebsd-ports/multimedia/bmpx/Makefile
Joe Marcus Clarke 6f32add9a7 The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 for
FreeBSD.  The official GNOME 2.22 release notes can be found at
http://library.gnome.org/misc/release-notes/2.22/ .  On the FreeBSD front,
this release features an updated hal port with support for video4linux
devices, DRM (Direct Rendering), and better support of removable media.  Work
is also underway to tie webkit more closely into GNOME.  As part of the
GNOME 2.22 upgrade, GStreamer received a rather large upgrade as well.
Be sure to consult UPDATING on the proper steps to upgrade all of your
GNOME ports.

This release would not have been possible without the contributions and
testing efforts of the following people:

Pawel Worach
kan
edwin
Peter Ulrich Kruppa
J. W. Ballantine
Yasuda Keisuke
Andriy Gapon
2008-03-24 03:52:36 +00:00

98 lines
2.6 KiB
Makefile

# New ports collection makefile for: bmpx
# Date created: 2005-11-20
# Whom: Roman Bogorodskiy <novel@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bmpx
PORTVERSION= 0.40.7
PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://files.backtrace.info/releases/0.40/
MAINTAINER= novel@FreeBSD.org
COMMENT= Media player geared towards usability, technical efficiency and looks
LIB_DEPENDS= tag.5:${PORTSDIR}/audio/taglib \
cairomm-1.0.1:${PORTSDIR}/graphics/cairomm \
musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia \
glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
rsvg-2:${PORTSDIR}/graphics/librsvg2 \
boost_date_time.4:${PORTSDIR}/devel/boost \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
sexymm.2:${PORTSDIR}/x11-toolkits/libsexymm \
ofa.0:${PORTSDIR}/audio/libofa \
soup-2.2.8:${PORTSDIR}/devel/libsoup22
CONFLICTS= bmpx-devel-[0-9]*
USE_AUTOTOOLS= automake:19 autoconf:261
USE_BISON= build
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gtk20 libglade2 desktopfileutils
INSTALLS_ICONS= yes
USE_GSTREAMER= good mp3 ogg vorbis cdparanoia
USE_LDCONFIG= yes
USE_SQLITE= 3
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig \
--with-dbus-services-dir="${PREFIX}/share/dbus-1/services" \
--with-libintl-prefix="${LOCALBASE}" \
--disable-doc
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS+= --x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib
MAN1= beep-media-player-2.1
.if !defined(WITH_HAL)
CONFIGURE_ARGS+= --disable-hal
.else
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
.endif
.if defined(WITHOUT_STARTUP_NOTIFICATION)
CONFIGURE_ARGS+= --disable-sn
.else
LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.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
.if defined(WITH_FAAD) || defined(WITH_MPEG4IP)
CONFIGURE_ARGS+= --enable-mp4v2
USE_GSTREAMER+= faad
PLIST_SUB+= MPEG4IP=""
.else
PLIST_SUB+= MPEG4IP="@comment "
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Does not compile on 5.x
.endif
.include <bsd.port.post.mk>