1 |
deathwing00 08/05/31 21:12:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: k3b-1.0.5.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.5.2) |
8 |
|
9 |
Revision Changes Path |
10 |
1.206 app-cdr/k3b/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/k3b/ChangeLog?rev=1.206&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/k3b/ChangeLog?rev=1.206&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/k3b/ChangeLog?r1=1.205&r2=1.206 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v |
19 |
retrieving revision 1.205 |
20 |
retrieving revision 1.206 |
21 |
diff -u -r1.205 -r1.206 |
22 |
--- ChangeLog 26 Apr 2008 22:43:49 -0000 1.205 |
23 |
+++ ChangeLog 31 May 2008 21:12:14 -0000 1.206 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-cdr/k3b |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.205 2008/04/26 22:43:49 philantrop Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.206 2008/05/31 21:12:14 deathwing00 Exp $ |
29 |
+ |
30 |
+*k3b-1.0.5 (31 May 2008) |
31 |
+ |
32 |
+ 31 May 2008; Ioannis Aslanidis <deathwing00@g.o> |
33 |
+ +files/k3b-1.0.5-eject_186173.patch, +k3b-1.0.5.ebuild: |
34 |
+ Version bump. Fixes bug #224179. |
35 |
|
36 |
*k3b-1.0.4-r1 (26 Apr 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 app-cdr/k3b/k3b-1.0.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/k3b/k3b-1.0.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/k3b/k3b-1.0.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: k3b-1.0.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-1.0.5.ebuild,v 1.1 2008/05/31 21:12:14 deathwing00 Exp $ |
51 |
|
52 |
inherit kde eutils |
53 |
|
54 |
MY_P=${P/_/} |
55 |
S="${WORKDIR}/${MY_P}" |
56 |
|
57 |
DESCRIPTION="K3b, KDE CD Writing Software" |
58 |
HOMEPAGE="http://www.k3b.org/" |
59 |
SRC_URI="mirror://sourceforge/k3b/${MY_P}.tar.bz2" |
60 |
LICENSE="GPL-2" |
61 |
|
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
64 |
IUSE="alsa css dvdr dvdread encode ffmpeg flac hal mp3 musepack musicbrainz |
65 |
sndfile vcd vorbis emovix" |
66 |
|
67 |
DEPEND="hal? ( dev-libs/dbus-qt3-old sys-apps/hal ) |
68 |
media-libs/libsamplerate |
69 |
media-libs/taglib |
70 |
>=media-sound/cdparanoia-3.9.8 |
71 |
sndfile? ( media-libs/libsndfile ) |
72 |
ffmpeg? ( media-video/ffmpeg ) |
73 |
flac? ( media-libs/flac ) |
74 |
mp3? ( media-libs/libmad ) |
75 |
musepack? ( media-libs/libmpcdec ) |
76 |
vorbis? ( media-libs/libvorbis ) |
77 |
musicbrainz? ( =media-libs/musicbrainz-2* ) |
78 |
encode? ( media-sound/lame ) |
79 |
alsa? ( media-libs/alsa-lib ) |
80 |
dvdread? ( media-libs/libdvdread )" |
81 |
|
82 |
RDEPEND="${DEPEND} |
83 |
virtual/cdrtools |
84 |
>=app-cdr/cdrdao-1.1.7-r3 |
85 |
media-sound/normalize |
86 |
dvdr? ( >=app-cdr/dvd+rw-tools-7.0 ) |
87 |
css? ( media-libs/libdvdcss ) |
88 |
encode? ( media-sound/sox |
89 |
media-video/transcode ) |
90 |
vcd? ( media-video/vcdimager ) |
91 |
emovix? ( media-video/emovix )" |
92 |
|
93 |
DEPEND="${DEPEND} |
94 |
dev-util/pkgconfig" |
95 |
|
96 |
need-kde 3.5 |
97 |
|
98 |
I18N="${PN}-i18n-${PV}" |
99 |
|
100 |
# Supported languages and translated documentation |
101 |
LANGS="af ar bg br bs ca cs cy da de el en_GB es et eu fa fi fr ga gl he hi hu is it ja ka lt mk ms nb nds nl nn pa pl pt pt_BR ru rw se sk sr sr@Latn sv ta tr uk uz zh_CN zh_TW" |
102 |
for X in ${LANGS}; do |
103 |
SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )" |
104 |
IUSE="${IUSE} linguas_${X}" |
105 |
done |
106 |
|
107 |
pkg_setup() { |
108 |
if use hal && has_version '<sys-apps/dbus-0.91' && ! built_with_use sys-apps/dbus qt3; then |
109 |
eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled," |
110 |
eerror "but sys-apps/dbus is not built with Qt3 support." |
111 |
die "Please, rebuild sys-apps/dbus with the \"qt3\" USE flag." |
112 |
fi |
113 |
if use encode && ! built_with_use media-video/transcode dvdread; then |
114 |
eerror "You are trying to compile ${CATEGORY}/${PF} with the \"encode\"" |
115 |
eerror "USE flag enabled, however media-video/transcode was not built" |
116 |
eerror "with libdvdread support. Also keep in mind that enabling" |
117 |
eerror "the dvdread USE flag will cause k3b to use libdvdread as well." |
118 |
die "Please, rebuild media-video/transcode with the \"dvdread\" USE flag." |
119 |
fi |
120 |
|
121 |
if use flac && ! built_with_use --missing true media-libs/flac cxx; then |
122 |
eerror "To build ${PN} with flac support you need the C++ bindings for flac." |
123 |
eerror "Please enable the cxx USE flag for media-libs/flac" |
124 |
die "Missing FLAC C++ bindings." |
125 |
fi |
126 |
|
127 |
kde_pkg_setup |
128 |
} |
129 |
|
130 |
src_unpack() { |
131 |
kde_src_unpack |
132 |
|
133 |
# Makes k3b eject and re-load properly again. Fixes bug 186173. |
134 |
epatch "${FILESDIR}/${P}-eject_186173.patch" |
135 |
|
136 |
# Fix the desktop file. cf. bug 208777. |
137 |
sed -i -e "/MimeType/s:$:;:" "${S}"/src/k3b.desktop \ |
138 |
|| die "Fixing the desktop file failed." |
139 |
|
140 |
if [ -d "${WORKDIR}/${I18N}" ]; then |
141 |
cd "${WORKDIR}/${I18N}" |
142 |
for X in ${LANGS}; do |
143 |
use linguas_${X} || rm -rf "${X}" |
144 |
done |
145 |
rm -f configure |
146 |
fi |
147 |
rm -f "${S}/configure" |
148 |
} |
149 |
|
150 |
src_compile() { |
151 |
local myconf="--enable-libsuffix= \ |
152 |
--with-external-libsamplerate \ |
153 |
--without-resmgr \ |
154 |
--without-cdrecord-suid-root \ |
155 |
--without-k3bsetup \ |
156 |
$(use_with hal) \ |
157 |
$(use_with encode lame) \ |
158 |
$(use_with ffmpeg) \ |
159 |
$(use_with flac) \ |
160 |
$(use_with vorbis oggvorbis) \ |
161 |
$(use_with sndfile) \ |
162 |
$(use_with mp3 libmad) \ |
163 |
$(use_with musepack) \ |
164 |
$(use_with musicbrainz) \ |
165 |
$(use_with alsa)" |
166 |
|
167 |
# Build process of K3b |
168 |
kde_src_compile |
169 |
|
170 |
# Build process of K3b-i18n |
171 |
if [ -d "${WORKDIR}/${I18N}" ]; then |
172 |
KDE_S="${WORKDIR}/${I18N}" \ |
173 |
kde_src_compile |
174 |
fi |
175 |
} |
176 |
|
177 |
src_install() { |
178 |
kde_src_install |
179 |
dodoc FAQ KNOWNBUGS PERMISSIONS |
180 |
|
181 |
if [ -d "${WORKDIR}/${I18N}" ]; then |
182 |
KDE_S="${WORKDIR}/${I18N}" \ |
183 |
kde_src_install |
184 |
fi |
185 |
} |
186 |
|
187 |
pkg_postinst() { |
188 |
echo |
189 |
elog "We don't install k3bsetup anymore because Gentoo doesn't need it." |
190 |
elog "If you get warnings on start-up, uncheck the \"Check system" |
191 |
elog "configuration\" option in the \"Misc\" settings window." |
192 |
echo |
193 |
|
194 |
local group=cdrom |
195 |
use kernel_linux || group=operator |
196 |
elog "Make sure you have proper read/write permissions on the cdrom device(s)." |
197 |
elog "Usually, it is sufficient to be in the ${group} group." |
198 |
echo |
199 |
} |
200 |
|
201 |
|
202 |
|
203 |
-- |
204 |
gentoo-commits@l.g.o mailing list |