Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/banshee/
Date: Sat, 28 May 2016 12:25:03
Message-Id: 1464437943.44c762afefb67425b879a8700abdf206187ec3b1.pacho@gentoo
1 commit: 44c762afefb67425b879a8700abdf206187ec3b1
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 28 12:19:03 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat May 28 12:19:03 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c762af
7
8 media-sound/banshee: Disable webkit support to stop relying on vulnerable versions (#584178) and obsolete libsoup-gnome (#565916)
9
10 Package-Manager: portage-2.3.0_rc1
11
12 media-sound/banshee/banshee-2.6.2-r1.ebuild | 118 ++++++++++++++++++++++++++++
13 1 file changed, 118 insertions(+)
14
15 diff --git a/media-sound/banshee/banshee-2.6.2-r1.ebuild b/media-sound/banshee/banshee-2.6.2-r1.ebuild
16 new file mode 100644
17 index 0000000..2f3bc21
18 --- /dev/null
19 +++ b/media-sound/banshee/banshee-2.6.2-r1.ebuild
20 @@ -0,0 +1,118 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=6
26 +inherit autotools eutils fdo-mime mono-env versionator gnome2
27 +
28 +DESCRIPTION="Import, organize, play, and share your music using a simple and powerful interface"
29 +HOMEPAGE="http://banshee.fm/"
30 +
31 +LICENSE="MIT"
32 +SLOT="0"
33 +KEYWORDS="~amd64 ~x86"
34 +IUSE="+aac +cdda +bpm daap doc +encode ipod karma mtp test udev youtube"
35 +
36 +RDEPEND="
37 + >=dev-lang/mono-2.4.3
38 + <dev-lang/mono-4
39 + dev-libs/glib:2[dbus]
40 + gnome-base/gnome-settings-daemon
41 + sys-apps/dbus
42 + >=dev-dotnet/gtk-sharp-2.12:2
43 + >=dev-dotnet/notify-sharp-0.4.0_pre20080912-r1
44 + >=media-libs/gstreamer-0.10.21-r3:0.10
45 + >=media-libs/gst-plugins-base-0.10.25.2:0.10
46 + media-libs/gst-plugins-bad:0.10
47 + media-libs/gst-plugins-good:0.10
48 + media-libs/gst-plugins-ugly:0.10
49 + >=media-plugins/gst-plugins-meta-0.10-r2:0.10
50 + media-plugins/gst-plugins-gio:0.10
51 + >=dev-dotnet/gconf-sharp-2.24.0:2
52 + media-plugins/gst-plugins-gconf:0.10
53 + cdda? (
54 + || (
55 + media-plugins/gst-plugins-cdparanoia:0.10
56 + media-plugins/gst-plugins-cdio:0.10
57 + )
58 + )
59 + media-libs/musicbrainz:3
60 + dev-dotnet/dbus-sharp:1.0
61 + dev-dotnet/dbus-sharp-glib:1.0
62 + >=dev-dotnet/mono-addins-0.6.2[gtk]
63 + >=dev-dotnet/taglib-sharp-2.0.3.7
64 + >=dev-db/sqlite-3.4:3
65 + karma? ( >=media-libs/libkarma-0.1.0-r1 )
66 + aac? ( media-plugins/gst-plugins-faad:0.10 )
67 + bpm? ( media-plugins/gst-plugins-soundtouch:0.10 )
68 + daap? ( >=dev-dotnet/mono-zeroconf-0.8.0-r1 )
69 + doc? ( >=app-text/gnome-doc-utils-0.17.3 )
70 + encode? (
71 + media-plugins/gst-plugins-lame:0.10
72 + media-plugins/gst-plugins-taglib:0.10
73 + )
74 + ipod? ( >=media-libs/libgpod-0.8.2[mono] )
75 + mtp? ( >=media-libs/libmtp-0.3.0:= )
76 + youtube? ( >=dev-dotnet/google-gdata-sharp-1.4 )
77 + udev? (
78 + app-misc/media-player-info
79 + dev-dotnet/gudev-sharp
80 + dev-dotnet/gkeyfile-sharp
81 + dev-dotnet/gtk-sharp-beans
82 + dev-dotnet/gio-sharp
83 + )
84 +"
85 +DEPEND="${RDEPEND}
86 + virtual/pkgconfig
87 +"
88 +
89 +src_prepare () {
90 + # Don't build BPM extension when not wanted
91 + if ! use bpm; then
92 + sed -i -e 's:Banshee.Bpm:$(NULL):g' src/Extensions/Makefile.am || die
93 + fi
94 +
95 + # Don't append -ggdb, bug #458632, upstream bug #698217
96 + sed -i -e 's:-ggdb3:$(NULL):g' libbanshee/Makefile.am || die
97 + sed -i -e 's:-ggdb3::g' src/Core/Banshee.WebBrowser/libossifer/Makefile.am || die
98 +
99 + AT_M4DIR="-I build/m4/banshee -I build/m4/shamrock -I build/m4/shave" \
100 + eautoreconf
101 + gnome2_src_prepare
102 +}
103 +
104 +src_configure() {
105 + # soundmenu needs a properly maintained and updated indicate-sharp
106 + # webkit disabled due to bug #584178
107 + local myconf="
108 + --disable-static
109 + --enable-gnome
110 + --enable-schemas-install
111 + --with-gconf-schema-file-dir=/etc/gconf/schemas
112 + --with-vendor-build-id=Gentoo/${PN}/${PVR}
113 + --enable-gapless-playback
114 + --disable-boo
115 + --disable-gst-sharp
116 + --disable-torrent
117 + --disable-shave
118 + --disable-ubuntuone
119 + --disable-soundmenu
120 + --disable-upnp
121 + --disable-webkit"
122 +
123 + gnome2_src_configure \
124 + $(use_enable doc docs) \
125 + $(use_enable doc user-help) \
126 + $(use_enable mtp) \
127 + $(use_enable daap) \
128 + $(use_enable ipod appledevice) \
129 + $(use_enable karma) \
130 + $(use_enable youtube) \
131 + $(use_enable udev gio) \
132 + $(use_enable udev gio_hardware) \
133 + ${myconf}
134 +}
135 +
136 +src_compile() {
137 + gnome2_src_compile MCS=/usr/bin/gmcs
138 +}