2012-02-21 06:29:43 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.97 2012/02/21 11:30:12 ajacoutot Exp $
|
2010-03-26 04:10:45 -04:00
|
|
|
|
2011-09-12 03:26:18 -04:00
|
|
|
COMMENT= integrated music management application for GNOME
|
2004-12-22 01:17:28 -05:00
|
|
|
|
2008-05-14 05:41:56 -04:00
|
|
|
GNOME_PROJECT= rhythmbox
|
2012-01-16 07:10:02 -05:00
|
|
|
GNOME_VERSION= 2.95
|
2012-02-21 06:29:43 -05:00
|
|
|
REVISION= 0
|
2010-08-22 06:23:34 -04:00
|
|
|
|
2008-05-14 05:41:56 -04:00
|
|
|
SHARED_LIBS += rhythmbox-core 0.0 # .0.0
|
2009-08-23 15:30:21 -04:00
|
|
|
|
2004-12-22 01:17:28 -05:00
|
|
|
CATEGORIES= audio
|
|
|
|
|
2010-10-22 03:33:47 -04:00
|
|
|
HOMEPAGE= http://projects.gnome.org/rhythmbox/
|
2004-12-22 01:17:28 -05:00
|
|
|
|
2009-03-20 12:56:34 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2009-11-22 06:18:34 -05:00
|
|
|
# GPLv2 with exception clause
|
2004-12-22 01:17:28 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2008-05-14 05:41:56 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2004-12-22 01:17:28 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-05-14 05:41:56 -04:00
|
|
|
|
2011-09-12 03:26:18 -04:00
|
|
|
WANTLIB += GL ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
|
|
|
|
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm archive
|
2012-02-21 06:29:43 -05:00
|
|
|
WANTLIB += atk-1.0 bz2 c cairo cairo-gobject dbus-1 drm
|
2011-12-21 10:54:53 -05:00
|
|
|
WANTLIB += expat ffi fontconfig freetype gcrypt gdk-3 gdk_pixbuf-2.0
|
2011-09-12 03:26:18 -04:00
|
|
|
WANTLIB += gio-2.0 girepository-1.0 glib-2.0 gmime-2.6 gmodule-2.0
|
2012-02-21 06:29:43 -05:00
|
|
|
WANTLIB += gnome-keyring gobject-2.0 gpg-error gpod
|
2011-09-12 03:26:18 -04:00
|
|
|
WANTLIB += gstbase-0.10 gstcontroller-0.10 gstinterfaces-0.10
|
2012-02-21 06:29:43 -05:00
|
|
|
WANTLIB += gstpbutils-0.10 gstreamer-0.10 gsttag-0.10
|
2011-10-17 03:16:58 -04:00
|
|
|
WANTLIB += gthread-2.0 gtk-3 json-glib-1.0 lzma m notify pango-1.0
|
2011-09-12 03:26:18 -04:00
|
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre peas-1.0 peas-gtk-1.0
|
2011-12-21 10:54:53 -05:00
|
|
|
WANTLIB += pixman-1 plist png pthread pthread-stubs soup-2.4 soup-gnome-2.4
|
|
|
|
WANTLIB += sqlite3 stdc++ tdb totem-plparser xcb xcb-render xcb-shm
|
|
|
|
WANTLIB += xml2 z
|
2008-05-14 05:41:56 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
2009-05-31 10:11:36 -04:00
|
|
|
x11/gnome \
|
2009-06-07 01:30:09 -04:00
|
|
|
lang/python \
|
2011-09-12 03:26:18 -04:00
|
|
|
devel/dconf
|
2008-05-14 05:41:56 -04:00
|
|
|
|
2011-09-28 10:59:39 -04:00
|
|
|
BUILD_DEPENDS= audio/libmusicbrainz \
|
|
|
|
devel/py-gobject3
|
2011-09-12 03:26:18 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= devel/libpeas \
|
2011-05-14 17:29:03 -04:00
|
|
|
audio/libgpod \
|
2011-09-12 03:26:18 -04:00
|
|
|
devel/json-glib \
|
|
|
|
devel/libnotify>=0.7.2 \
|
2011-12-21 10:54:53 -05:00
|
|
|
x11/gnome/totem-pl-parser \
|
|
|
|
databases/tdb
|
2010-09-19 10:48:18 -04:00
|
|
|
|
2011-09-12 03:26:18 -04:00
|
|
|
RUN_DEPENDS= multimedia/gstreamer-0.10/py-gstreamer \
|
|
|
|
x11/dbus-python \
|
|
|
|
www/py-mako \
|
2011-09-28 10:59:39 -04:00
|
|
|
audio/libmusicbrainz \
|
|
|
|
devel/py-gobject3
|
2010-09-03 07:53:24 -04:00
|
|
|
|
2011-09-12 03:26:18 -04:00
|
|
|
# needed for sndio(7) support
|
|
|
|
RUN_DEPENDS+= multimedia/gstreamer-0.10/plugins-good
|
2004-12-22 01:17:28 -05:00
|
|
|
|
2011-09-28 10:59:39 -04:00
|
|
|
MODGNOME_DESKTOP_FILE= Yes
|
2011-12-03 13:55:28 -05:00
|
|
|
MODGNOME_ICON_CACHE= Yes
|
2011-09-20 16:51:51 -04:00
|
|
|
MODGNOME_TOOLS= goi yelp
|
2009-03-19 09:50:28 -04:00
|
|
|
|
2011-10-14 03:19:26 -04:00
|
|
|
MODGNOME_LDFLAGS= -L${X11BASE}/lib
|
|
|
|
MODGNOME_CPPFLAGS= -I${X11BASE}/include
|
2012-01-16 07:10:02 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2011-09-20 17:04:24 -04:00
|
|
|
CONFIGURE_ARGS= --with-database=tree \
|
2009-03-19 09:50:28 -04:00
|
|
|
--with-gnome-keyring \
|
2011-09-12 03:26:18 -04:00
|
|
|
--with-ipod \
|
2009-06-03 15:04:43 -04:00
|
|
|
--with-mdns=avahi \
|
2009-03-19 09:50:28 -04:00
|
|
|
--with-x \
|
2009-05-31 10:11:36 -04:00
|
|
|
--enable-python \
|
2011-09-12 03:26:18 -04:00
|
|
|
--without-brasero \
|
2008-05-14 05:41:56 -04:00
|
|
|
--without-hal \
|
2011-09-12 03:26:18 -04:00
|
|
|
--without-gudev \
|
|
|
|
--without-webkit \
|
|
|
|
--disable-daap \
|
2008-05-14 05:41:56 -04:00
|
|
|
--disable-fm-radio \
|
2009-06-02 00:23:22 -04:00
|
|
|
--disable-lirc
|
2011-04-07 15:07:24 -04:00
|
|
|
|
2011-09-12 03:26:18 -04:00
|
|
|
# Don't compile the vala (useless) sample plugin.
|
2011-04-07 15:07:24 -04:00
|
|
|
CONFIGURE_ARGS += --disable-vala
|
|
|
|
|
2012-01-16 07:10:02 -05:00
|
|
|
# XXX requires hal|udev
|
2011-09-12 03:26:18 -04:00
|
|
|
CONFIGURE_ARGS += --without-mtp
|
2009-06-02 00:23:22 -04:00
|
|
|
|
2011-09-12 03:26:18 -04:00
|
|
|
# XXX requires new clutter-{x11,gst,gtk} and libmx
|
|
|
|
CONFIGURE_ARGS += --disable-visualizer
|
|
|
|
|
|
|
|
# XXX plugins subpackage?
|
|
|
|
CONFIGURE_ARGS += --disable-browser-plugin
|
|
|
|
CONFIGURE_ENV += MOZILLA_PLUGINDIR=${PREFIX}/lib/mozilla-plugins
|
|
|
|
|
|
|
|
# WRKBUILD/tests
|
|
|
|
REGRESS_IS_INTERACTIVE= x11
|
|
|
|
|
|
|
|
post-install:
|
2011-09-12 16:00:43 -04:00
|
|
|
# needs gnome-keyring python bindings (used to be in py-gnome-desktop)
|
2011-09-12 03:26:18 -04:00
|
|
|
find ${PREFIX} -type d -name magnatune | xargs -r rm -rf
|
|
|
|
# needs ZeitgeistClient
|
|
|
|
find ${PREFIX} -type d -name rbzeitgeist | xargs -r rm -rf
|
|
|
|
|
2004-12-22 01:17:28 -05:00
|
|
|
.include <bsd.port.mk>
|