diff options
Diffstat (limited to 'audio/rhythmbox/Makefile')
-rw-r--r-- | audio/rhythmbox/Makefile | 170 |
1 files changed, 59 insertions, 111 deletions
diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile index 3eadb68d7b05..44ff8114c13c 100644 --- a/audio/rhythmbox/Makefile +++ b/audio/rhythmbox/Makefile @@ -1,132 +1,80 @@ # Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ -# $MCom: ports/audio/rhythmbox/Makefile,v 1.115 2011/05/04 18:44:36 kwm Exp $ +# $MCom: ports/trunk/audio/rhythmbox/Makefile 20039 2014-11-03 13:42:48Z kwm $ PORTNAME= rhythmbox -PORTVERSION= 0.12.8 -PORTREVISION= 18 +PORTVERSION= 3.1 CATEGORIES= audio gnome MASTER_SITES= GNOME -DIST_SUBDIR= gnome2 +DIST_SUBDIR= gnome3 MAINTAINER= marcus@FreeBSD.org COMMENT= Audio player for GNOME -BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat -LIB_DEPENDS= libmusicbrainz3.so:${PORTSDIR}/audio/libmusicbrainz3 \ - libid3tag.so:${PORTSDIR}/audio/libid3tag \ +BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat \ + valac:${PORTSDIR}/lang/vala \ + gtkdoc-check:${PORTSDIR}/textproc/gtk-doc \ + itstool:${PORTSDIR}/textproc/itstool +LIB_DEPENDS= libmusicbrainz5.so:${PORTSDIR}/audio/libmusicbrainz5 \ libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser \ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ - libsexy.so:${PORTSDIR}/x11-toolkits/libsexy \ - libsoup-2.4.so:${PORTSDIR}/devel/libsoup \ - libgnome-media-profiles.so:${PORTSDIR}/audio/gnome-media \ - libbrasero-media.so:${PORTSDIR}/sysutils/brasero - -CONFLICTS= rhythmbox-2.[0-9]* rhythmbox-3.[0-9]* + libcheck.so:${PORTSDIR}/devel/libcheck \ + libpeas-1.0.so:${PORTSDIR}/devel/libpeas \ + libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib \ + libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome \ + libsecret-1.so:${PORTSDIR}/security/libsecret \ + libbrasero-media3.so:${PORTSDIR}/sysutils/brasero USES= desktop-file-utils gettext gmake libtool pathfix \ - pkgconfig tar:bzip2 -INSTALLS_OMF= yes -USE_GNOME= intlhack gnomeprefix gtk20 nautilus2 -WANT_GNOME= yes -USE_GSTREAMER= flac mp3 gnomevfs gconf jpeg + pkgconfig tar:xz +USE_GNOME= intlhack gnomeprefix gtk30 introspection:build +USE_XORG= ice xproto GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-vala --with-libbrasero-media \ - --without-libnautilus-burn +USE_GSTREAMER1= flac lame jpeg cdparanoia vorbis +CONFIGURE_ARGS= --enable-vala \ + --disable-gudev \ + --enable-visualizer=no \ + --disable-browser-plugin \ + --with-libsecret=yes INSTALLS_ICONS= yes -INSTALL_TARGET= install-strip USE_LDCONFIG= yes - CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -lm - -GCONF_SCHEMAS= rhythmbox.schemas - -OPTIONS_DEFINE= DAAP IPOD FAAD NOTIFY VORBIS LIRC MTP ITMS_PLUGIN -OPTIONS_DEFAULT= IPOD NOTIFY VORBIS ITMS_PLUGIN -DAAP_DESC= iTunes music sharing -IPOD_DESC= iPod support -ITMS_PLUGIN_DESC= iTunes browser plugin - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MVORBIS} -USE_GSTREAMER+= vorbis -.else -CONFIGURE_ARGS+= --disable-vorbis --disable-vorbistest -.endif - -.if ${PORT_OPTIONS:MFAAD} -USE_GSTREAMER+= faad -.endif - -.if ${PORT_OPTIONS:MLIRC} -LIB_DEPENDS+= liblirc_client.so${PORTSDIR}/comms/lirc -PLIST_SUB+= LIRC="" -CONFIGURE_ARGS+=--enable-lirc -.else -CONFIGURE_ARGS+=--disable-lirc -PLIST_SUB+= LIRC="@comment " -.endif - -.if ${PORT_OPTIONS:MMTP} -LIB_DEPENDS+= libmtp.so:${PORTSDIR}/multimedia/libmtp -PLIST_SUB+= MTP="" -CONFIGURE_ARGS+= --with-mtp -.else -CONFIGURE_ARGS+= --without-mtp -PLIST_SUB+= MTP="@comment " -.endif - -.if ${PORT_OPTIONS:MDAAP} -CONFIGURE_ARGS+= --enable-daap --with-mdns=avahi -LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app \ - libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring -PLIST_SUB+= DAAP="" -.else -.if exists(${LOCALBASE}/lib/libavahi-client.a) -LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app -.endif -CONFIGURE_ARGS+= --disable-daap -PLIST_SUB+= DAAP="@comment " -.endif - -.if ${PORT_OPTIONS:MNOTIFY} -LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify -RUN_DEPENDS+= ${LOCALBASE}/libexec/notification-daemon:${PORTSDIR}/deskutils/notification-daemon -.else -CONFIGURE_ARGS+= --disable-libnotify -.endif - -.if exists(${LOCALBASE}/libdata/pkgconfig/gst-python-0.10.pc) -USES+= python -USE_GSTREAMER+= python -CONFIGURE_ARGS+=--enable-python -PLIST_SUB+= PYTHON="" -.else -CONFIGURE_ARGS+=--disable-python -PLIST_SUB+= PYTHON="@comment " -.endif - -.if ${PORT_OPTIONS:MIPOD} -LIB_DEPENDS+= libgpod.so:${PORTSDIR}/audio/libgpod -CONFIGURE_ARGS+=--with-ipod -PLIST_SUB+= IPOD="" -.else -CONFIGURE_ARGS+=--without-ipod -PLIST_SUB+= IPOD="@comment " -.endif - -.if ${PORT_OPTIONS:MITMS_PLUGIN} -USES+= webplugin:native -WEBPLUGIN_FILES=librhythmbox-itms-detection-plugin.so +LIBS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip -CONFIGURE_ARGS+=--enable-browser-plugin -CONFIGURE_ENV+= MOZILLA_PLUGINDIR=${WEBPLUGIN_DIR} -PLIST_SUB+= ITMS_PLUGIN="" -.else -CONFIGURE_ARGS+=--disable-browser-plugin -PLIST_SUB+= ITMS_PLUGIN="@comment " -.endif +PLIST_SUB+= PYTVER=${PYTHON_VER:S/.//} + +GLIB_SCHEMAS= org.gnome.rhythmbox.gschema.xml + +OPTIONS_SUB= yes +OPTIONS_DEFINE= DAAP GRILO IPOD NOTIFY PYTHON LIRC MTP WEBKIT +OPTIONS_DEFAULT=NOTIFY PYTHON WEBKIT +DAAP_DESC= DAAP support +DAAP_CONFIGURE_ENABLE= daap +DAAP_LIB_DEPENDS= libdmapsharing-3.0.so:${PORTSDIR}/net/libdmapsharing +IPOD_DESC= iPod support +IPOD_CONFIGURE_WITH= ipod +IPOD_LIB_DEPENDS= libgpod.so:${PORTSDIR}/audio/libgpod +GRILO_DESC= Media discovery with Grilo +GRILO_CONFIGURE_ENABLE= grilo +GRILO_BUILD_DEPENDS= grilo-plugins>=0:${PORTSDIR}/net/grilo-plugins +GRILO_RUN_DEPENDS= grilo-plugins>=0:${PORTSDIR}/net/grilo-plugins +LIRC_CONFIGURE_ENABLE= lirc +LIRC_LIB_DEPENDS= liblirc_client.so:${PORTSDIR}/comms/lirc +NOTIFY_CONFIGURE_ENABLE= notify +NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify +MTP_CONFIGURE_WITH= mtp +MTP_LIB_DEPENDS= libmtp.so:${PORTSDIR}/multimedia/libmtp \ + libhal.so:${PORTSDIR}/sysutils/hal +PYTHON_CONFIGURE_ENABLE= python +PYTHON_USES= python:3 +PYTHON_USE= PYTVER=${PYTHON_VER:S/.//} +WEBKIT_DESC= HTML view support +WEBKIT_CONFIGURE_WITH= webkit +WEBKIT_LIB_DEPENDS= libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 + +post-patch: + @${REINPLACE_CMD} -e 's|{MOZILLA_PLUGINDIR|{MOZILLA_PLUGINDIR}|g' \ + ${WRKSRC}/configure .include <bsd.port.mk> |