2013-04-16 09:17:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.122 2013/04/16 13:17:00 ajacoutot Exp $
|
2012-09-30 10:58:38 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
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
|
2013-04-13 04:40:22 -04:00
|
|
|
GNOME_VERSION= 2.99.1
|
2013-04-16 06:21:58 -04:00
|
|
|
REVISION= 3
|
2010-08-22 06:23:34 -04:00
|
|
|
|
2013-04-07 10:20:50 -04:00
|
|
|
SHARED_LIBS += rhythmbox-core 0.0 # 7.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
|
2008-05-14 05:41:56 -04:00
|
|
|
|
2013-04-13 07:50:11 -04:00
|
|
|
WANTLIB += GL ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender Xt archive atk-1.0 atk-bridge-2.0
|
2013-04-07 10:20:50 -04:00
|
|
|
WANTLIB += atspi bz2 c cairo cairo-gobject crypto curl dbus-1
|
2013-04-13 07:50:11 -04:00
|
|
|
WANTLIB += dbus-glib-1 enchant expat ffi fontconfig freetype gailutil-3
|
|
|
|
WANTLIB += gcrypt gdk-3 gdk_pixbuf-2.0 geoclue gio-2.0 girepository-1.0
|
|
|
|
WANTLIB += glib-2.0 gmime-2.6 gmodule-2.0 gobject-2.0 gpg-error
|
|
|
|
WANTLIB += gpod graphite2 grilo-0.2 gstapp-1.0 gstaudio-1.0 gstbase-1.0
|
|
|
|
WANTLIB += gstcontroller-1.0 gstfft-1.0 gstpbutils-1.0 gstreamer-1.0
|
2013-04-11 07:08:03 -04:00
|
|
|
WANTLIB += gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3 harfbuzz
|
2013-04-13 07:50:11 -04:00
|
|
|
WANTLIB += icudata icui18n icule icuuc idn javascriptcoregtk-3.0
|
|
|
|
WANTLIB += jpeg json-glib-1.0 lua5.1 lzma m notify orc-0.4 pango-1.0
|
|
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre peas-1.0 peas-gtk-1.0
|
|
|
|
WANTLIB += pixman-1 plist png pthread pthread-stubs quvi secret-1
|
|
|
|
WANTLIB += soup-2.4 soup-gnome-2.4 sqlite3 ssl stdc++ tdb totem-plparser
|
|
|
|
WANTLIB += webkitgtk-3.0 webp xcb xcb-render xcb-shm xml2 xslt
|
2013-04-11 07:08:03 -04:00
|
|
|
WANTLIB += z
|
2008-05-14 05:41:56 -04:00
|
|
|
|
2013-04-07 10:20:50 -04:00
|
|
|
MODULES= devel/dconf \
|
|
|
|
devel/gettext \
|
2009-06-07 01:30:09 -04:00
|
|
|
lang/python \
|
2013-04-07 10:20:50 -04:00
|
|
|
x11/gnome
|
2008-05-14 05:41:56 -04:00
|
|
|
|
2013-04-11 05:45:03 -04:00
|
|
|
BUILD_DEPENDS= devel/py-gobject3
|
2013-04-15 09:21:00 -04:00
|
|
|
RUN_DEPENDS= devel/py-gobject3
|
2011-09-12 03:26:18 -04:00
|
|
|
|
2012-08-04 10:32:25 -04:00
|
|
|
# needed for the tests
|
|
|
|
BUILD_DEPENDS += devel/check
|
|
|
|
|
2012-02-25 06:24:28 -05:00
|
|
|
LIB_DEPENDS= audio/libgpod \
|
|
|
|
databases/tdb \
|
2011-09-12 03:26:18 -04:00
|
|
|
devel/json-glib \
|
2013-04-07 10:20:50 -04:00
|
|
|
devel/libnotify \
|
2012-02-25 06:24:28 -05:00
|
|
|
devel/libpeas \
|
2013-04-13 07:50:11 -04:00
|
|
|
www/webkit,gtk3>=2.0.0 \
|
2012-02-25 06:24:28 -05:00
|
|
|
x11/gnome/grilo \
|
|
|
|
x11/gnome/totem-pl-parser
|
2010-09-19 10:48:18 -04:00
|
|
|
|
2013-04-07 10:20:50 -04:00
|
|
|
# context plugin
|
|
|
|
RUN_DEPENDS += www/py-mako
|
2010-09-03 07:53:24 -04:00
|
|
|
|
2013-04-07 10:20:50 -04:00
|
|
|
# grilo plugin
|
|
|
|
RUN_DEPENDS += x11/gnome/grilo-plugins
|
|
|
|
|
|
|
|
# needed for flac support
|
|
|
|
RUN_DEPENDS += multimedia/gstreamer1/plugins-good
|
2012-10-05 13:00:51 -04:00
|
|
|
# needed for mp3 support
|
2013-04-07 10:20:50 -04:00
|
|
|
RUN_DEPENDS += multimedia/gstreamer1/plugins-ugly
|
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
|
2013-04-16 09:17:00 -04:00
|
|
|
MODGNOME_TOOLS= gi vala yelp
|
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
|
|
|
|
2012-09-30 10:58:38 -04:00
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
|
2012-01-16 07:10:02 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2012-09-30 10:58:38 -04:00
|
|
|
CONFIGURE_ARGS= --disable-static \
|
|
|
|
--without-brasero \
|
2008-05-14 05:41:56 -04:00
|
|
|
--without-hal \
|
2011-09-12 03:26:18 -04:00
|
|
|
--without-gudev \
|
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
|
|
|
|
2012-03-12 03:42:11 -04:00
|
|
|
# XXX requires libdmapsharing
|
2013-04-07 10:20:50 -04:00
|
|
|
CONFIGURE_ARGS += --disable-daap
|
2012-03-12 03:42:11 -04:00
|
|
|
|
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
|
|
|
|
2013-04-07 10:20:50 -04:00
|
|
|
# XXX requires libmx
|
2011-09-12 03:26:18 -04:00
|
|
|
CONFIGURE_ARGS += --disable-visualizer
|
|
|
|
|
|
|
|
# WRKBUILD/tests
|
2013-03-10 18:55:01 -04:00
|
|
|
TEST_IS_INTERACTIVE= x11
|
2011-09-12 03:26:18 -04:00
|
|
|
|
|
|
|
post-install:
|
2012-09-30 10:58:38 -04:00
|
|
|
rm ${PREFIX}/lib/rhythmbox/{,sample-}plugins/*/*.la
|
2013-04-07 10:20:50 -04:00
|
|
|
rm ${PREFIX}/lib/mozilla/plugins/*.la
|
|
|
|
# XXX hangs: check at next upgrade of rhythmbox
|
2013-01-15 09:30:42 -05:00
|
|
|
rm -rf ${PREFIX}/{lib,share}/rhythmbox/plugins/replaygain
|
2013-04-13 04:40:22 -04:00
|
|
|
# requires cdda support in gvfs -> HAL/gudev
|
|
|
|
rm -rf ${PREFIX}/{lib,share}/rhythmbox/plugins/audiocd
|
2011-09-12 03:26:18 -04:00
|
|
|
|
2004-12-22 01:17:28 -05:00
|
|
|
.include <bsd.port.mk>
|