blob: a6b7faf98df2d828a6f3649df5926f2d024761ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= rhythmbox
PORTVERSION= 3.2.1
PORTREVISION= 2
CATEGORIES= audio gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= marcus@FreeBSD.org
COMMENT= Audio player for GNOME
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
valac:lang/vala \
gtkdoc-check:textproc/gtk-doc \
itstool:textproc/itstool
LIB_DEPENDS= libmusicbrainz5.so:audio/libmusicbrainz5 \
libtotem-plparser.so:multimedia/totem-pl-parser \
libdbus-glib-1.so:devel/dbus-glib \
libcheck.so:devel/libcheck \
libpeas-1.0.so:devel/libpeas \
libjson-glib-1.0.so:devel/json-glib \
libsoup-gnome-2.4.so:devel/libsoup-gnome \
libsecret-1.so:security/libsecret \
libtdb.so:databases/tdb
USES= desktop-file-utils gettext gmake gnome libtool localbase \
pathfix pkgconfig tar:xz
USE_GNOME= intlhack gnomeprefix gtk30 introspection:build \
py3gobject3
USE_XORG= ice xproto
GNU_CONFIGURE= yes
USE_GSTREAMER1= flac lame jpeg cdparanoia vorbis
CONFIGURE_ARGS= --enable-vala \
--without-gudev \
--without-webkit \
--enable-visualizer=no \
--disable-browser-plugin \
--with-libsecret=yes
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.rhythmbox.gschema.xml
OPTIONS_SUB= yes
OPTIONS_DEFINE= BRASERO DAAP GRILO IPOD NOTIFY PYTHON LIRC MTP
OPTIONS_DEFAULT=BRASERO NOTIFY PYTHON
BRASERO_DESC= Brasero disc burning support
BRASERO_CONFIGURE_WITH=brasero
BRASERO_LIB_DEPENDS= libbrasero-media3.so:sysutils/brasero
DAAP_DESC= DAAP support
DAAP_CONFIGURE_ENABLE= daap
DAAP_LIB_DEPENDS= libdmapsharing-3.0.so:net/libdmapsharing
IPOD_DESC= iPod support
IPOD_CONFIGURE_WITH= ipod
IPOD_LIB_DEPENDS= libgpod.so:audio/libgpod
GRILO_DESC= Media discovery with Grilo
GRILO_CONFIGURE_ENABLE= grilo
GRILO_BUILD_DEPENDS= grilo-plugins>=0:net/grilo-plugins
GRILO_RUN_DEPENDS= grilo-plugins>=0:net/grilo-plugins
LIRC_CONFIGURE_ENABLE= lirc
LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc
NOTIFY_CONFIGURE_ENABLE= libnotify
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
MTP_CONFIGURE_WITH= mtp
MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp \
libhal.so:sysutils/hal
PYTHON_CONFIGURE_ENABLE= python
PYTHON_USES= python:3.3+
PYTHON_PLIST_SUB+= PYTVER=${PYTHON_SUFFIX} PYOEXTENSION=${PYOEXTENSION}
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py3-libpeas
# context plugin
# webkit is for the context plugin, which is broken because
# it needs textproc/py3-mako
#WEBKIT_DESC= HTML view support
#WEBKIT_CONFIGURE_WITH= webkit
#WEBKIT_LIB_DEPENDS= libwebkitgtk-3.0.so:www/webkit-gtk3
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3500
PYOEXTENSION= pyo
.else
PYOEXTENSION= opt-1.pyc
.endif
post-patch:
@${REINPLACE_CMD} -e 's|{MOZILLA_PLUGINDIR|{MOZILLA_PLUGINDIR}|g' \
${WRKSRC}/configure
# rbzeitgeist plugin needs py3-zeitgeist
post-install:
@${RM} -r ${STAGEDIR}${PREFIX}/lib/rhythmbox/plugins/rbzeitgeist
.include <bsd.port.post.mk>
|