ajacoutot ebf7ff6fc7 Update to rhythmbox-0.12.6.
Lots of bugfixes.
Rework dependencies.
2009-11-22 11:18:34 +00:00

93 lines
2.9 KiB
Makefile

# $OpenBSD: Makefile,v 1.46 2009/11/22 11:18:34 ajacoutot Exp $
COMMENT= music management application for GNOME
GNOME_PROJECT= rhythmbox
GNOME_VERSION= 0.12.6
SHARED_LIBS += rhythmbox-core 0.0 # .0.0
CATEGORIES= audio
HOMEPAGE= http://www.rhythmbox.org/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2 with exception clause
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite
WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender asn1 atk-1.0 bonobo-2 bonobo-activation c cairo
WANTLIB += com_err crypto dbus-1 dbus-glib-1 expat fontconfig
WANTLIB += freetype gcrypt gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glade-2.0 glib-2.0 glitz gmodule-2.0 gnome-keyring
WANTLIB += gnutls gobject-2.0 gpg-error gssapi gstbase-0.10 gstcontroller-0.10
WANTLIB += gstinterfaces-0.10 gstpbutils-0.10 gstreamer-0.10 gthread-2.0
WANTLIB += gtk-x11-2.0 krb5 m neon nspr4 nss3 pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 plc4 plds4 png proxy pthread
WANTLIB += pthread-stubs smime3 softokn3 soup-2.4 sqlite3 ssl
WANTLIB += ssl3 tasn1 util xcb xml2 z
MODULES= devel/gettext \
x11/gnome \
lang/python \
devel/gconf2
BUILD_DEPENDS= :gstreamer-gnome->=0.10.19:multimedia/gstreamer-0.10/plugins-base,-gnome \
::multimedia/gstreamer-0.10/py-gstreamer
LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
musicbrainz3::audio/libmusicbrainz \
notify::devel/libnotify \
gnome-media-profiles::x11/gnome/media \
totem-plparser::x11/gnome/totem-pl-parser \
camel-1.2.>=10,edataserver-1.2::databases/evolution-data-server \
gstcdda-0.10,gsttag-0.10::multimedia/gstreamer-0.10/plugins-base,-cdda \
soup-gnome-2.4.>=1::devel/libsoup,-gnome \
avahi-client,avahi-common,avahi-glib::net/avahi \
ffi::devel/libffi
RUN_DEPENDS= :gstreamer-plugins-base->=0.10.19:multimedia/gstreamer-0.10/plugins-base,-gnome \
::x11/gnome/icon-theme \
::multimedia/gstreamer-0.10/py-gstreamer
REGRESS_DEPENDS= ::devel/check
USE_X11= Yes
DESKTOP_FILES= Yes
MODGNOME_HELP_FILES= Yes
MODGCONF2_SCHEMAS_DIR= rhythmbox
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-silent-rules \
--with-database=tree \
--with-gnome-keyring \
--with-mdns=avahi \
--with-x \
--enable-python \
--enable-daap \
--disable-scrollkeeper \
--without-hal \
--without-mtp \
--without-ipod \
--without-hal \
--without-libbrasero-media \
--without-libnautilus-burn \
--disable-vala \
--disable-fm-radio \
--disable-lirc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
# XXX TODO: plugins subpackage
CONFIGURE_ARGS+= --disable-browser-plugin
CONFIGURE_ENV+= MOZILLA_PLUGINDIR=${PREFIX}/lib/mozilla-plugins
REGRESS_IS_INTERACTIVE= x11
.include <bsd.port.mk>