freebsd-ports/audio/rhythmbox/Makefile

143 lines
3.8 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: rhythmbox
# Date created: 17 August 2003
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
Presenting GNOME 2.28.1 for FreeBSD. The official release notes for this release can be found at http://library.gnome.org/misc/release-notes/2.28/ . Officially, this is mostly a polishing release in preparation for GNOME 3.0 due in about a year. On the FreeBSD front, though, a lot went into this release. Major thanks goes to kwm and avl who did a lot of the porting work for this release. In particular, kwm brought in Evolution MAPI support for better Microsoft Exchange integration. Avl made sure that the new gobject introspection repository ports were nicely compartmentalized so that large dependencies aren't brought in wholesale. But, every GNOME team member (ahze, avl, bland, kwm, mezz, and myself) contributed to this release. Other major improvements include an updated HAL with better volume probing code, ufsid integration, and support for volume names containing spaces (big thanks to J.R. Oldroyd); a new WebKit; updated AbiWord; an updated Gimp; and a preview of the new GNOME Shell project (thanks to Pawel Worach). The FreeBSD GNOME Team would like to that the following additional contributors to this release whose patches and testing really helped make it a success: Andrius Morkunas Dominique Goncalves Eric L. Chen J.R. Oldroyd Joseph S. Atkinson Li Pawel Worach Romain Tartière Thomas Vogt Yasuda Keisuke Rui Paulo Martin Wilke (and an extra shout out to miwi and pav for pointyhat runs) We would like to send this release out to Alexander Loginov (avl) in hopes that he feels better soon. PR: 136676 136967 138872 (obsolete with new epiphany-webkit) 139160 134737 139941 140097 140838 140929
2009-11-28 21:06:37 +01:00
# $MCom: ports/audio/rhythmbox/Makefile,v 1.103 2009/11/22 22:09:39 marcus Exp $
#
PORTNAME= rhythmbox
2010-03-01 00:03:22 +01:00
PORTVERSION= 0.12.7
PORTREVISION= 1
CATEGORIES= audio gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= marcus@FreeBSD.org
COMMENT= Audio player for GNOME
2010-03-01 00:03:22 +01:00
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
2009-03-21 19:36:50 +01:00
musicbrainz3.6:${PORTSDIR}/audio/libmusicbrainz3 \
2005-11-05 06:29:26 +01:00
id3tag.0:${PORTSDIR}/audio/libid3tag \
totem-plparser.12:${PORTSDIR}/multimedia/totem-pl-parser \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
2006-05-25 21:57:44 +02:00
sexy.2:${PORTSDIR}/x11-toolkits/libsexy \
2009-03-21 19:36:50 +01:00
soup-2.4.1:${PORTSDIR}/devel/libsoup \
gnome-media-profiles.0:${PORTSDIR}/audio/gnome-media \
Presenting GNOME 2.28.1 for FreeBSD. The official release notes for this release can be found at http://library.gnome.org/misc/release-notes/2.28/ . Officially, this is mostly a polishing release in preparation for GNOME 3.0 due in about a year. On the FreeBSD front, though, a lot went into this release. Major thanks goes to kwm and avl who did a lot of the porting work for this release. In particular, kwm brought in Evolution MAPI support for better Microsoft Exchange integration. Avl made sure that the new gobject introspection repository ports were nicely compartmentalized so that large dependencies aren't brought in wholesale. But, every GNOME team member (ahze, avl, bland, kwm, mezz, and myself) contributed to this release. Other major improvements include an updated HAL with better volume probing code, ufsid integration, and support for volume names containing spaces (big thanks to J.R. Oldroyd); a new WebKit; updated AbiWord; an updated Gimp; and a preview of the new GNOME Shell project (thanks to Pawel Worach). The FreeBSD GNOME Team would like to that the following additional contributors to this release whose patches and testing really helped make it a success: Andrius Morkunas Dominique Goncalves Eric L. Chen J.R. Oldroyd Joseph S. Atkinson Li Pawel Worach Romain Tartière Thomas Vogt Yasuda Keisuke Rui Paulo Martin Wilke (and an extra shout out to miwi and pav for pointyhat runs) We would like to send this release out to Alexander Loginov (avl) in hopes that he feels better soon. PR: 136676 136967 138872 (obsolete with new epiphany-webkit) 139160 134737 139941 140097 140838 140929
2009-11-28 21:06:37 +01:00
brasero-media.2:${PORTSDIR}/sysutils/brasero
USE_BZIP2= yes
USE_GETTEXT= yes
INSTALLS_OMF= yes
USE_GMAKE= yes
2009-04-29 07:35:15 +02:00
USE_GNOME= gnomehack intlhack gnomeprefix gtk20 nautilus2
2006-04-19 08:17:15 +02:00
WANT_GNOME= yes
USE_GSTREAMER= flac mp3 gnomevfs gconf jpeg
USE_AUTOTOOLS= libtool:22
CONFIGURE_ARGS= --disable-vala --with-libbrasero-media \
--without-libnautilus-burn
INSTALLS_ICONS= yes
2007-02-22 06:57:56 +01:00
USE_LDCONFIG= yes
2005-11-05 06:29:26 +01:00
CONFIGURE_ENV= LIBS="-lm" \
LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
GCONF_SCHEMAS= rhythmbox.schemas
OPTIONS= DAAP "Enable iTunes music sharing" off \
IPOD "Enable iPod support" on \
2006-02-02 08:58:16 +01:00
FAAD "Enable FAAD decoder support" off \
2006-04-19 08:17:15 +02:00
NOTIFY "Enable libnotify support" on \
VORBIS "Enable Ogg/Vorbis support" on \
2009-03-21 19:36:50 +01:00
LIRC "Enable Infrared syncing support" off \
MTP "Enable MS Media Transfer Protocol support" off \
ITMS_PLUGIN "Enable iTunes browser plugin" on
2008-07-13 19:44:06 +02:00
2010-03-01 00:03:22 +01:00
MAN1= rhythmbox-client.1 rhythmbox.1
.include <bsd.port.pre.mk>
2006-04-19 08:17:15 +02:00
.if !defined(WITHOUT_VORBIS)
USE_GSTREAMER+= vorbis
.else
CONFIGURE_ARGS+= --disable-vorbis --disable-vorbistest
.endif
2005-11-05 06:29:26 +01:00
.if defined(WITH_FAAD)
USE_GSTREAMER+= faad
.endif
2006-12-15 05:29:40 +01:00
.if defined(WITH_LIRC)
LIB_DEPENDS+= lirc_client.1:${PORTSDIR}/comms/lirc
2006-12-15 05:29:40 +01:00
PLIST_SUB+= LIRC=""
CONFIGURE_ARGS+=--enable-lirc
.else
CONFIGURE_ARGS+=--disable-lirc
PLIST_SUB+= LIRC="@comment "
.endif
2009-03-21 19:36:50 +01:00
.if defined(WITH_MTP)
LIB_DEPENDS+= mtp.8:${PORTSDIR}/audio/libmtp
PLIST_SUB+= MTP=""
CONFIGURE_ARGS+= --with-mtp
.else
CONFIGURE_ARGS+= --without-mtp
PLIST_SUB+= MTP="@comment "
.endif
2005-11-05 06:29:26 +01:00
.if defined(WITH_DAAP)
CONFIGURE_ARGS+= --enable-daap --with-mdns=avahi
LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app \
2007-02-22 06:57:56 +01:00
gnome-keyring:${PORTSDIR}/security/gnome-keyring
2006-12-15 05:29:40 +01:00
PLIST_SUB+= DAAP=""
2005-11-05 06:29:26 +01:00
.else
.if exists(${LOCALBASE}/lib/libavahi-client.a)
LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app
2005-11-05 06:29:26 +01:00
.endif
CONFIGURE_ARGS+= --disable-daap
2006-12-15 05:29:40 +01:00
PLIST_SUB+= DAAP="@comment "
2005-11-05 06:29:26 +01:00
.endif
2006-02-02 08:58:16 +01:00
.if !defined(WITHOUT_NOTIFY)
2006-11-14 13:54:41 +01:00
LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify
RUN_DEPENDS+= ${LOCALBASE}/libexec/notification-daemon:${PORTSDIR}/deskutils/notification-daemon
2006-02-02 08:58:16 +01:00
.else
CONFIGURE_ARGS+= --disable-libnotify
.endif
2009-03-21 19:36:50 +01:00
.if exists(${LOCALBASE}/libdata/pkgconfig/gst-python-0.10.pc)
2006-04-19 08:17:15 +02:00
USE_PYTHON= yes
.include "${PORTSDIR}/Mk/bsd.python.mk"
2009-03-21 19:36:50 +01:00
USE_GSTREAMER+= python
2006-04-19 08:17:15 +02:00
CONFIGURE_ARGS+=--enable-python
PLIST_SUB+= PYTHON=""
.else
CONFIGURE_ARGS+=--disable-python
PLIST_SUB+= PYTHON="@comment "
.endif
.if !defined(WITHOUT_IPOD)
2009-08-07 19:03:22 +02:00
LIB_DEPENDS+= gpod.5:${PORTSDIR}/audio/libgpod
CONFIGURE_ARGS+=--with-ipod
PLIST_SUB+= IPOD=""
.else
CONFIGURE_ARGS+=--without-ipod
PLIST_SUB+= IPOD="@comment "
.endif
.if !defined(WITHOUT_ITMS_PLUGIN)
2009-03-21 19:36:50 +01:00
USE_WEBPLUGINS= gecko18
WEBPLUGINS_FILES=librhythmbox-itms-detection-plugin.so
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
CONFIGURE_ARGS+=--enable-browser-plugin
CONFIGURE_ENV+= MOZILLA_PLUGINDIR=${WEBPLUGINS_DIR}
PLIST_SUB+= ITMS_PLUGIN=""
2009-03-21 19:36:50 +01:00
.else
CONFIGURE_ARGS+=--disable-browser-plugin
PLIST_SUB+= ITMS_PLUGIN="@comment "
2009-03-21 19:36:50 +01:00
.endif
.include <bsd.port.post.mk>