Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: media-sound/sound-juicer/
Date: Mon, 31 Dec 2012 14:07:27
Message-Id: 1356962813.38b054c63067b315106cf29f04f2ef05263fd38b.eva@gentoo
1 commit: 38b054c63067b315106cf29f04f2ef05263fd38b
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 31 14:06:39 2012 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 31 14:06:53 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=38b054c6
7
8 media-sound/sound-juicer: moved to gx86, sync live ebuild
9
10 ---
11 media-sound/sound-juicer/sound-juicer-3.5.0.ebuild | 70 --------------------
12 media-sound/sound-juicer/sound-juicer-9999.ebuild | 26 ++++---
13 2 files changed, 15 insertions(+), 81 deletions(-)
14
15 diff --git a/media-sound/sound-juicer/sound-juicer-3.5.0.ebuild b/media-sound/sound-juicer/sound-juicer-3.5.0.ebuild
16 deleted file mode 100644
17 index 4530e5b..0000000
18 --- a/media-sound/sound-juicer/sound-juicer-3.5.0.ebuild
19 +++ /dev/null
20 @@ -1,70 +0,0 @@
21 -# Copyright 1999-2012 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Header: $
24 -
25 -EAPI="4"
26 -GCONF_DEBUG="yes"
27 -GNOME2_LA_PUNT="yes"
28 -
29 -inherit gnome2
30 -if [[ ${PV} = 9999 ]]; then
31 - inherit gnome2-live
32 -fi
33 -
34 -DESCRIPTION="CD ripper for GNOME"
35 -HOMEPAGE="http://www.burtonini.com/blog/computers/sound-juicer/"
36 -
37 -LICENSE="GPL-2"
38 -SLOT="0"
39 -if [[ ${PV} = 9999 ]]; then
40 - KEYWORDS=""
41 -else
42 - KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
43 -fi
44 -IUSE="flac test vorbis"
45 -
46 -COMMON_DEPEND="
47 - >=dev-libs/glib-2.32:2
48 - >=x11-libs/gtk+-2.90:3
49 - media-libs/libcanberra[gtk3]
50 - >=app-cdr/brasero-2.90
51 - >=gnome-base/gconf-2:2
52 - sys-apps/dbus
53 -
54 - media-libs/libdiscid
55 - >=media-libs/musicbrainz-5.0.1:5
56 -
57 - media-libs/gstreamer:1.0
58 - media-libs/gst-plugins-base:1.0[vorbis?]
59 - flac? ( media-plugins/gst-plugins-flac:1.0 )
60 -"
61 -RDEPEND="${COMMON_DEPEND}
62 - gnome-base/gvfs[cdda,udev]
63 - || (
64 - media-plugins/gst-plugins-cdparanoia:1.0
65 - media-plugins/gst-plugins-cdio:1.0 )"
66 -
67 -DEPEND="${COMMON_DEPEND}
68 - >=dev-util/intltool-0.40
69 - >=app-text/scrollkeeper-0.3.5
70 - app-text/gnome-doc-utils
71 - virtual/pkgconfig
72 - test? ( ~app-text/docbook-xml-dtd-4.3 )"
73 -
74 -src_configure() {
75 - DOCS="AUTHORS ChangeLog NEWS README TODO"
76 - # GST_INSPECT needed to get around some sandboxing checks
77 - G2CONF="${G2CONF}
78 - GST_INSPECT=$(type -P true)"
79 - gnome2_src_configure
80 -}
81 -
82 -pkg_postinst() {
83 - gnome2_pkg_postinst
84 - ewarn "If ${PN} does not rip to some music format, please check your USE flags"
85 - ewarn "on media-libs/libgnome-media-profiles and media-plugins/gst-plugins-meta"
86 - ewarn
87 - ewarn "The list of audio encoding profiles in ${P} is non-customizable."
88 - ewarn "A possible workaround is to rip to flac using ${PN}, and convert to"
89 - ewarn "your desired format using a separate tool."
90 -}
91
92 diff --git a/media-sound/sound-juicer/sound-juicer-9999.ebuild b/media-sound/sound-juicer/sound-juicer-9999.ebuild
93 index 832e85b..9a875f9 100644
94 --- a/media-sound/sound-juicer/sound-juicer-9999.ebuild
95 +++ b/media-sound/sound-juicer/sound-juicer-9999.ebuild
96 @@ -2,7 +2,7 @@
97 # Distributed under the terms of the GNU General Public License v2
98 # $Header: $
99
100 -EAPI="4"
101 +EAPI="5"
102 GCONF_DEBUG="yes"
103 GNOME2_LA_PUNT="yes"
104
105 @@ -14,7 +14,7 @@ fi
106 DESCRIPTION="CD ripper for GNOME"
107 HOMEPAGE="http://www.burtonini.com/blog/computers/sound-juicer/"
108
109 -LICENSE="GPL-2"
110 +LICENSE="GPL-2+"
111 SLOT="0"
112 if [[ ${PV} = 9999 ]]; then
113 KEYWORDS=""
114 @@ -35,15 +35,16 @@ COMMON_DEPEND="
115 >=media-libs/musicbrainz-5.0.1:5
116
117 media-libs/gstreamer:1.0
118 - media-libs/gst-plugins-base:1.0[flac?,vorbis?]
119 + media-libs/gst-plugins-base:1.0[vorbis?]
120 + flac? ( media-plugins/gst-plugins-flac:1.0 )
121 "
122 RDEPEND="${COMMON_DEPEND}
123 gnome-base/gvfs[cdda,udev]
124 || (
125 media-plugins/gst-plugins-cdparanoia:1.0
126 media-plugins/gst-plugins-cdio:1.0 )
127 - >=media-plugins/gst-plugins-meta-0.10-r2:0.10"
128 -
129 + media-plugins/gst-plugins-meta:1.0
130 +"
131 DEPEND="${COMMON_DEPEND}
132 >=dev-util/intltool-0.40
133 >=app-text/scrollkeeper-0.3.5
134 @@ -51,12 +52,15 @@ DEPEND="${COMMON_DEPEND}
135 virtual/pkgconfig
136 test? ( ~app-text/docbook-xml-dtd-4.3 )"
137
138 -src_configure() {
139 - DOCS="AUTHORS ChangeLog NEWS README TODO"
140 - # GST_INSPECT needed to get around some sandboxing checks
141 - G2CONF="${G2CONF}
142 - GST_INSPECT=$(type -P true)"
143 - gnome2_src_configure
144 +src_prepare() {
145 + gnome2_src_prepare
146 +
147 + # FIXME: gst macros does not take GST_INSPECT override anymore but we need a
148 + # way to disable inspection due to gst-clutter always creating a GL context
149 + # which is forbidden in sandbox since it needs write access to
150 + # /dev/card*/dri
151 + sed -e "s|\(gstinspect=\).*|\1$(type -P true)|" \
152 + -i configure || die
153 }
154
155 pkg_postinst() {