ChangeLog

# ChangeLog for app-cdr/k3b
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.208 2008/07/07 19:39:26 loki_val Exp $

*k3b-1.0.5-r2 (07 Jul 2008)

07 Jul 2008; Peter Alfredsen
+files/k3b-1.0.5-ffmpeg-0.4.9_p20080326-API.patch, k3b-0.12.17.ebuild,
k3b-1.0.3.ebuild, k3b-1.0.4.ebuild, k3b-1.0.4-r1.ebuild, k3b-1.0.5.ebuild,
k3b-1.0.5-r1.ebuild, +k3b-1.0.5-r2.ebuild:
Fix for building with media-video/ffmpeg-0.4.9_p20080326, wrt bug #231063.

*k3b-1.0.5-r1 (13 Jun 2008)

13 Jun 2008; Carsten Lohrke
+files/k3b-1.0.5-desktop-entry.diff, +k3b-1.0.5-r1.ebuild:
Fix .desktop entry stuff properly, get rid of the seemingly improper patch
for bug #186173, see also bug #221177.

*k3b-1.0.5 (31 May 2008)

31 May 2008; Ioannis Aslanidis
+files/k3b-1.0.5-eject_186173.patch, +k3b-1.0.5.ebuild:
Version bump. Fixes bug #224179.

*k3b-1.0.4-r1 (26 Apr 2008)

26 Apr 2008; Wulf C. Krueger
+files/k3b-1.0.4-eject_186173.patch, +k3b-1.0.4-r1.ebuild:
Added an upstream patch to make k3b eject and re-load media correctly.
Fixes bug 186173. Fixed the desktop file as per bug 208777.

05 Jan 2008; Brent Baude k3b-1.0.4.ebuild:
Marking k3b-1.0.4 ppc64 for bug 180917

04 Jan 2008; nixnut k3b-1.0.4.ebuild:
Stable on ppc wrt bug 180917

03 Jan 2008; Richard Freeman k3b-1.0.4.ebuild:
amd64 stable - bug 180917

03 Jan 2008; Christian Faulhammer k3b-1.0.4.ebuild:
stable x86, bug 180917

01 Jan 2008; Alexis Ballier k3b-0.12.17.ebuild,
k3b-1.0.ebuild, k3b-1.0.1.ebuild, k3b-1.0.1-r1.ebuild, k3b-1.0.2.ebuild,
k3b-1.0.3.ebuild, k3b-1.0.4.ebuild:
stick musicbrainz deps to -2*, bug #203784

18 Nov 2007; Alexis Ballier k3b-0.12.17.ebuild,
k3b-1.0.ebuild, k3b-1.0.1.ebuild, k3b-1.0.1-r1.ebuild, k3b-1.0.2.ebuild,
k3b-1.0.3.ebuild, k3b-1.0.4.ebuild:
add a check for flac cxx use flag, FLAC++ is needed here

06 Nov 2007; Markus Rothe k3b-1.0.4.ebuild:
Added ~ppc64; bug #197779

*k3b-1.0.4 (03 Nov 2007)

03 Nov 2007; Tobias Heinlein +k3b-1.0.4.ebuild:
Version bump. Removing k3bsetup, see bug #188489.

22 Aug 2007; Roy Marples k3b-1.0.3.ebuild:
Keyworded ~x86-fbsd.

02 Aug 2007; Michael Sterrett k3b-0.12.17.ebuild,
k3b-1.0.ebuild, k3b-1.0.1.ebuild, k3b-1.0.1-r1.ebuild, k3b-1.0.2.ebuild,
k3b-1.0.3.ebuild:
correct dbus deps (bug #187369)

*k3b-1.0.3 (23 Jul 2007)

23 Jul 2007; Tobias Heinlein +k3b-1.0.3.ebuild:
Version bump, see bug 186320

06 Jul 2007; Michael Sterrett k3b-0.12.17.ebuild,
k3b-1.0.ebuild, k3b-1.0.1.ebuild, k3b-1.0.1-r1.ebuild, k3b-1.0.2.ebuild:
remove reference to old, removed dbus (bug #183696)

*k3b-1.0.2 (24 Jun 2007)

24 Jun 2007; Wulf C. Krueger +k3b-1.0.2.ebuild:
Version bump to 1.0.2.

*k3b-1.0.1-r1 (26 May 2007)

26 May 2007; Wulf C. Krueger
+files/k3b-1.0.1-hidden.patch, +k3b-1.0.1-r1.ebuild:
Install k3b-iso.desktop, k3b-cue.desktop with NoDisplay=true. Fixes bug 175263.

*k3b-1.0.1 (19 Apr 2007)

19 Apr 2007; Carsten Lohrke +k3b-1.0.1.ebuild:
Version bump.

14 Apr 2007; Carsten Lohrke k3b-1.0.ebuild:
Fix bug #174554.

13 Apr 2007; k3b-1.0.ebuild:
worked on my ppc G3

12 Apr 2007; Carsten Lohrke k3b-1.0.ebuild:
Add a message regarding installation of k3bsetup, see bug #174248.

26 Mar 2007; Marcus D. Hanwell -k3b-0.12.14.ebuild,
-k3b-1.0_rc6.ebuild:
Removed old versions.

25 Mar 2007; Marcus D. Hanwell
+files/k3b-1.0-alsa-fix.patch, k3b-1.0.ebuild:
Fix alsa configure issue, closes bug 152321, patch from upstream SVN commit.

*k3b-1.0 (17 Mar 2007)

17 Mar 2007; Marcus D. Hanwell -k3b-1.0_rc4.ebuild,
-k3b-1.0_rc5.ebuild, +k3b-1.0.ebuild:
Version bump, closes bug 171196.

11 Feb 2007; Ioannis Aslanidis
-k3b-1.0_beta1.ebuild:
Cleaning up old beta version.

*k3b-1.0_rc6 (11 Feb 2007)

11 Feb 2007; Ioannis Aslanidis
+k3b-1.0_rc6.ebuild:
Version bump.

*k3b-1.0_rc5 (09 Feb 2007)

09 Feb 2007; Marcus D. Hanwell -k3b-1.0_rc2.ebuild,
-k3b-1.0_rc3.ebuild, +k3b-1.0_rc5.ebuild:
Version bump, bug 164766. Removed some old rc versions.

22 Jan 2007; Steve Dibb k3b-0.12.17.ebuild:
amd64 stable, bug 157451

*k3b-1.0_rc4 (21 Jan 2007)

21 Jan 2007; Ioannis Aslanidis
+k3b-1.0_rc4.ebuild:
Version bump as requested in bug #162781.

05 Jan 2007; Diego Pettenò k3b-0.12.14.ebuild,
k3b-0.12.17.ebuild, k3b-1.0_beta1.ebuild, k3b-1.0_rc2.ebuild,
k3b-1.0_rc3.ebuild:
Convert to use elog.

*k3b-1.0_rc3 (04 Jan 2007)

04 Jan 2007; Marcus D. Hanwell +k3b-1.0_rc3.ebuild:
Version bump.

31 Dec 2006; Steve Dibb -k3b-0.12.15.ebuild,
-k3b-0.12.16.ebuild, -k3b-1.0_rc1.ebuild:
Remove old versions

23 Dec 2006; Andrej Kacian k3b-0.12.17.ebuild:
Stable on x86, bug #157451.

23 Dec 2006; Tobias Scherbaum k3b-0.12.17.ebuild:
Stable on ppc wrt bug #157451.

22 Dec 2006; Markus Rothe k3b-0.12.17.ebuild:
Stable on ppc64; bug #157451

*k3b-1.0_rc2 (17 Dec 2006)
*k3b-1.0_rc1 (17 Dec 2006)

17 Dec 2006; Ioannis Aslanidis
+k3b-1.0_rc1.ebuild, +k3b-1.0_rc2.ebuild:
Version bump.

27 Nov 2006; Ioannis Aslanidis
-files/k3b-1.0_pre2+flac-1.1.3.patch, -files/k3b-1.0_pre2-flac-beta.patch,
-k3b-1.0_pre1.ebuild, -k3b-1.0_pre2.ebuild:
Removed pre versions to prevent incorrect upstream versioning conflict.
Resolves bug #156185. Thanks to Jakub Moc for noticing.

25 Nov 2006; Charlie Shepherd
k3b-1.0_beta1.ebuild:
Add emovix to IUSE, bug 156185

25 Nov 2006; Ioannis Aslanidis
k3b-1.0_beta1.ebuild:
Improved dependency of app-cdr/dvd+rw-tools to version 7.0 or above as
detailed in bug 156044. Thanks to Jurek Bartuszek for noticing.

24 Nov 2006; Markus Rothe k3b-1.0_beta1.ebuild:
Added ~ppc64; bug #156033

*k3b-1.0_beta1 (23 Nov 2006)

23 Nov 2006; Ioannis Aslanidis
+k3b-1.0_beta1.ebuild:
Version bump. Added media-video/emovix optional runtime dependency. Dropped
unneded patches.

19 Nov 2006; Doug Goldstein k3b-0.12.17.ebuild,
k3b-1.0_pre1.ebuild, k3b-1.0_pre2.ebuild:
Fixing dbus depends

21 Oct 2006; Diego Pettenò
+files/k3b-0.12.17+flac-1.1.3.patch, +files/k3b-0.12.17-flac-beta.patch,
+files/k3b-1.0_pre2+flac-1.1.3.patch, +files/k3b-1.0_pre2-flac-beta.patch,
k3b-0.12.17.ebuild, k3b-1.0_pre2.ebuild:
Add patch from Josh Coalson to be able to build with flac 1.1.3 (and an
extra one to build with flac 1.1.3-beta2).

19 Oct 2006; Diego Pettenò k3b-0.12.14.ebuild,
k3b-0.12.15.ebuild, k3b-0.12.16.ebuild, k3b-0.12.17.ebuild,
k3b-1.0_pre1.ebuild, k3b-1.0_pre2.ebuild:
Depend on 1.1.2 version of flac, as the 1.1.3 version changes API.

06 Oct 2006; Ioannis Aslanidis
k3b-0.12.17.ebuild:
Added 'fi' and 'zh_TW' languages as requested in bug #149717. Thanks to
Niklas Laxström for reporting it.

08 Sep 2006; Diego Pettenò k3b-0.12.17.ebuild,
k3b-1.0_pre2.ebuild:
Accept dbus-qt3-old aside from dbus proper, and don't do the useflag check
for that case.

*k3b-1.0_pre2 (07 Sep 2006)

07 Sep 2006; Ioannis Aslanidis
+k3b-1.0_pre2.ebuild:
Version bump. Added 'dvdread' USE flag for optional dependency on
libdvdread. $(use_with dvdread) that enables --with-dvdread is not
required, the configure script does the check automatically.

25 Aug 2006; Ioannis Aslanidis
k3b-1.0_pre1.ebuild:
Added dependency check: If the 'encode' USE flag is enabled,
media-video/transcode is checked to be compiled with dvdread. Fixes bug
#143657.

*k3b-0.12.17 (23 Aug 2006)

23 Aug 2006; Carsten Lohrke +k3b-0.12.17.ebuild:
Version bump.

*k3b-1.0_pre1 (11 Aug 2006)

11 Aug 2006; Ioannis Aslanidis +k3b-1.0_pre1.ebuild:
Version bump. Resolves bug #143274. Thanks to Thomas Bettler for reporting it.

27 Jul 2006; Diego Pettenò k3b-0.12.16.ebuild:
Make the ebuild actually respect LINGUAS given by user. Thanks to Ginta Suou
for reporting in bug #141819.

02 Jul 2006; Daniel Black Manifest:
regen Manifest to not contain missing k3b-0.12.14.ebuild.orig

*k3b-0.12.16 (30 Jun 2006)

30 Jun 2006; Diego Pettenò +k3b-0.12.16.ebuild:
Bump to latest version, thanks to Attila Jecs and Jorma Rus in bug #137716.

24 Jun 2006; Stefan Schweizer k3b-0.12.14.ebuild,
k3b-0.12.15.ebuild:
Check for dbus to have the qt3 useflag thanks to Robert Sebastian Gerus
in bug 137803

21 Jun 2006; Diego Pettenò k3b-0.12.14.ebuild,
k3b-0.12.15.ebuild:
Fix i18n packages to use the new $KDE_S variable, thanks to miste78 for
reporting in bug #135692.

31 May 2006; Diego Pettenò k3b-0.12.15.ebuild:
Add linguas in IUSE to avoid the screen full of QA warnings.

29 Apr 2006; Carsten Lohrke -k3b-0.12.8.ebuild,
-k3b-0.12.11.ebuild, -k3b-0.12.12.ebuild, -k3b-0.12.13.ebuild:
Clean up.

27 Apr 2006; Marien Zwart files/digest-k3b-0.12.8,
files/digest-k3b-0.12.11, files/digest-k3b-0.12.12,
files/digest-k3b-0.12.13, files/digest-k3b-0.12.14,
files/digest-k3b-0.12.15, Manifest:
Fixing SHA256 digest, pass four

22 Apr 2006; Luis Medinas k3b-0.12.14.ebuild:
Stable on amd64. Bug #129475.

22 Apr 2006; Markus Rothe k3b-0.12.14.ebuild:
Stable on ppc64

22 Apr 2006; Joshua Jackson k3b-0.12.14.ebuild:
stable on x86; bug #129475

17 Apr 2006; Tobias Scherbaum k3b-0.12.14.ebuild:
ppc stable, bug #129475

*k3b-0.12.15 (12 Apr 2006)

12 Apr 2006; Carsten Lohrke +k3b-0.12.15.ebuild:
Version bump.

*k3b-0.12.14 (07 Mar 2006)

07 Mar 2006; Carsten Lohrke +k3b-0.12.14.ebuild:
Version bump.

*k3b-0.12.13 (03 Mar 2006)

03 Mar 2006; Carsten Lohrke +k3b-0.12.13.ebuild:
Version bump.

*k3b-0.12.12 (15 Feb 2006)

15 Feb 2006; Carsten Lohrke +k3b-0.12.12.ebuild:
Version bump.

*k3b-0.12.11 (11 Feb 2006)

11 Feb 2006; Carsten Lohrke
-files/k3b-0.11.17-noarts.patch, -files/k3b-0.12.4a-qt-3.3.5.patch,
-files/k3b-0.12.9-conditional.patch, -files/k3b-dvdrip-transcode.patch,
-k3b-0.11.24.ebuild, -k3b-0.12.4a.ebuild, -k3b-0.12.5.ebuild,
-k3b-0.12.6.ebuild, -k3b-0.12.7.ebuild, -k3b-0.12.9.ebuild,
-k3b-0.12.10.ebuild, +k3b-0.12.11.ebuild:
Version bump.

02 Feb 2006; Markus Rothe k3b-0.12.10.ebuild:
Added ~ppc64

24 Dec 2005; Tobias Scherbaum k3b-0.12.8.ebuild:
Marked ppc stable, #114669

18 Dec 2005; Mark Loeser k3b-0.12.8.ebuild:
Stable on x86; bug #114669

17 Dec 2005; Luis Medinas metadata.xml:
Add media-optical to co-maintain k3b with kde herd.

*k3b-0.12.10 (17 Dec 2005)

17 Dec 2005; Carsten Lohrke +k3b-0.12.10.ebuild:
version bump

13 Dec 2005; Marcus D. Hanwell k3b-0.12.8.ebuild:
Stable on amd64, bug 114669.

13 Dec 2005; Diego Pettenò
+files/k3b-0.12.9-conditional.patch, k3b-0.12.9.ebuild:
Add patch to fix ALSA conditional, see bug #115379. Issue fixed in upstream
SVN.

*k3b-0.12.9 (13 Dec 2005)

13 Dec 2005; Carsten Lohrke +k3b-0.12.9.ebuild:
version bump

29 Nov 2005; Gregorio Guidi k3b-0.11.24.ebuild:
Change oggvorbis flag into vorbis (#94254).

*k3b-0.12.8 (25 Nov 2005)

25 Nov 2005; Gregorio Guidi +k3b-0.12.8.ebuild:
New version (#113492).

11 Nov 2005; Michael Hanselmann k3b-0.12.4a.ebuild:
Stable on ppc.

*k3b-0.12.7 (02 Nov 2005)

02 Nov 2005; Carsten Lohrke +k3b-0.12.7.ebuild:
version bump

30 Oct 2005; Carsten Lohrke k3b-0.12.4a.ebuild:
stable on x86

30 Oct 2005; Carsten Lohrke k3b-0.12.4a.ebuild:
revert hal/dbus dependency for stabilzation, #108408

*k3b-0.12.6 (30 Oct 2005)

30 Oct 2005; Carsten Lohrke +k3b-0.12.6.ebuild:
version bump

*k3b-0.12.5 (19 Oct 2005)

19 Oct 2005; Gregorio Guidi +k3b-0.12.5.ebuild:
New version. Make support for libsndfile and musicbrainz optional (#106956).
Respect the vcd USE flag (#100089). Cleanup.

20 Sep 2005; Diego Pettenò
+files/k3b-0.12.4a-qt-3.3.5.patch, k3b-0.12.4a.ebuild:
Added patch to compile with qt-3.3.5.

20 Sep 2005; Caleb Tennis k3b-0.12.4a.ebuild:
Change k3b deps to not have specific HAL and dbus version deps, per bug #105403

19 Sep 2005; Carsten Lohrke -k3b-0.11.23-r2.ebuild,
k3b-0.11.24.ebuild, -k3b-0.12.1.ebuild, -k3b-0.12.2.ebuild,
-k3b-0.12.3.ebuild, k3b-0.12.4a.ebuild:
Clean up and minor ebuild fixes, #104680

*k3b-0.12.4a (19 Sep 2005)

19 Sep 2005; Caleb Tennis +k3b-0.12.4a.ebuild:
Version bump

*k3b-0.12.3 (31 Jul 2005)

31 Jul 2005; Carsten Lohrke +k3b-0.12.3.ebuild:
version bump

30 Jul 2005; Simon Stelling k3b-0.11.24.ebuild:
stable on amd64

12 Jul 2005; Joseph Jezak k3b-0.11.24.ebuild:
Marked ppc stable.

10 Jul 2005; Carsten Lohrke k3b-0.11.24.ebuild:
stable on x86, renamed tarball to be sure #93547 is not a problem anymore

02 Jul 2005; Dan Armak k3b-0.12.2.ebuild:
Fixing apparently accidentally broken ebuild (main compile and install
process was commented out), bug 97744

*k3b-0.12.2 (02 Jul 2005)

02 Jul 2005; Carsten Lohrke +k3b-0.12.2.ebuild:
version bump

19 Jun 2005; Carsten Lohrke k3b-0.12.1.ebuild:
removed polish localization, #96512

*k3b-0.12.1 (18 Jun 2005)

18 Jun 2005; Carsten Lohrke -k3b-0.12_beta2.ebuild,
-k3b-0.12.ebuild, +k3b-0.12.1.ebuild:
version bump

*k3b-0.12 (15 Jun 2005)

15 Jun 2005; Carsten Lohrke +k3b-0.12.ebuild:
version bump

11 Jun 2005; Joseph Jezak k3b-0.12_beta2.ebuild:
Marked ~ppc for bug #94395.

05 Jun 2005; Jason Wever k3b-0.12_beta2.ebuild:
Added ~sparc keyword wrt bug #94395.

02 Jun 2005; Herbie Hopkins k3b-0.12_beta2.ebuild:
Marked ~amd64 wrt bug #94395.

*k3b-0.12_beta2 (29 May 2005)

29 May 2005; Carsten Lohrke +k3b-0.12_beta2.ebuild:
version bump

13 May 2005; Carsten Lohrke :
new 0.11.24 tarball, doc building fixes

13 May 2005; Sven Wegener k3b-0.12_beta1.ebuild:
Added missing ? to *DEPEND.

*k3b-0.12_beta1 (12 May 2005)

12 May 2005; Carsten Lohrke +k3b-0.12_beta1.ebuild:
version bump, early birds want to get toasted ;)

*k3b-0.11.24 (11 May 2005)

11 May 2005; Carsten Lohrke +k3b-0.11.24.ebuild:
version bump

10 May 2005; Tobias Scherbaum
k3b-0.11.23-r2.ebuild:
Stable on PPC, #92134

10 May 2005; Diego Pettenò k3b-0.11.23-r2.ebuild:
Marked stable on amd64.

10 May 2005; Carsten Lohrke k3b-0.11.23-r2.ebuild:
removed invalid warning, stable on x86

18 Apr 2005; Carsten Lohrke
files/k3b-dvdrip-transcode.patch:
..

15 Apr 2005; Carsten Lohrke
files/k3b-dvdrip-transcode.patch, k3b-0.11.23-r2.ebuild:
But this time...

*k3b-0.11.23-r2 (15 Apr 2005)

15 Apr 2005; Carsten Lohrke
files/k3b-dvdrip-transcode.patch, -k3b-0.11.17.ebuild,
-k3b-0.11.19.ebuild, -k3b-0.11.20.ebuild, -k3b-0.11.22.ebuild,
-k3b-0.11.23-r1.ebuild, +k3b-0.11.23-r2.ebuild:
corrected transcode patch, clean up

*k3b-0.11.23-r1 (14 Apr 2005)

14 Apr 2005; Carsten Lohrke
+files/k3b-dvdrip-transcode.patch, +k3b-0.11.23-r1.ebuild:
support for transcode >= 0.6.12, thanks to James Roberts-Thomson, #83516

*k3b-0.11.23 (28 Mar 2005)

28 Mar 2005; Carsten Lohrke +k3b-0.11.23.ebuild:
version bump

28 Mar 2005; Michael Hanselmann k3b-0.11.18.ebuild:
Stable on ppc.

*k3b-0.11.22 (16 Mar 2005)

16 Mar 2005; Gregorio Guidi +k3b-0.11.22.ebuild:
New version (#85455). Remove restriction on flac version. Include changes
suggested in bug #82980.

22 Feb 2005; Gregorio Guidi k3b-0.11.17.ebuild,
k3b-0.11.18.ebuild, k3b-0.11.19.ebuild, k3b-0.11.20.ebuild:
Correct dependency on flac (#82558).

08 Feb 2005; Heinrich Wendel k3b-0.11.18.ebuild:
stable on amd64

*k3b-0.11.20 (04 Feb 2005)

04 Feb 2005; Carsten Lohrke +k3b-0.11.20.ebuild:
version bump

*k3b-0.11.19 (29 Jan 2005)

29 Jan 2005; Gregorio Guidi -k3b-0.11.18-r1.ebuild,
+k3b-0.11.19.ebuild:
Version bump. Readded dependency on libsamplerate (#77607). Slimmed down
dependencies on kde split packages (#78235).

15 Jan 2005; Dan Armak k3b-0.11.17.ebuild,
k3b-0.11.18-r1.ebuild, k3b-0.11.18.ebuild:
Changed dep on kdebase to accept kdebase-meta, the split 'meta' package.
This dep will be narrowed down in the future to the precise split packages
required.

*k3b-0.11.18-r1 (13 Jan 2005)

13 Jan 2005; Gregorio Guidi
+files/k3b-0.11.18-configure-libsamplerate.patch, +k3b-0.11.18-r1.ebuild:
Added patch to force compilation against internal libsamplerate (#77607).

11 Jan 2005; Carsten Lohrke k3b-0.11.18.ebuild:
corrected dependencies: #77563 and #77555, revoked #75252, stable on x86

08 Jan 2005; Lars Weiler k3b-0.11.17.ebuild,
k3b-0.11.18.ebuild:
Removed the hard dependency on a special transcode version. See also bug
75252.

*k3b-0.11.18 (12 Dec 2004)

12 Dec 2004; Carsten Lohrke +k3b-0.11.18.ebuild:
version bump

23 Nov 2004; Carsten Lohrke k3b-0.11.17.ebuild:
QA: missing "inherit eutils"

19 Nov 2004; Carsten Lohrke k3b-0.11.17.ebuild:
a small LINGUAS fix...

31 Oct 2004; Lars Weiler -k3b-0.11.10.ebuild,
-k3b-0.11.12-r1.ebuild, -k3b-0.11.14.ebuild, -k3b-0.11.16.ebuild,
k3b-0.11.17.ebuild:
k3b-0.11.17 stable on ppc and cleanup.

26 Oct 2004; Simone Gotti k3b-0.11.17.ebuild:
Added support for multiple languages in LINGUAS, removed "it" from docs as
the source is broken. Thanks to Federico Zenith, fixes bug #68522.

24 Oct 2004; Dylan Carlson k3b-0.11.17.ebuild:
Stable on amd64.

19 Oct 2004; Heinrich Wendel k3b-0.11.17.ebuild:
stable on x86

05 Oct 2004; Pieter Van den Abeele
k3b-0.11.12-r1.ebuild:
Masked k3b-0.11.12-r1.ebuild stable for ppc

25 Sep 2004; Heinrich Wendel
+files/k3b-0.11.17-noarts.patch, k3b-0.11.17.ebuild:
add patch to compile without arts, bug #61366

*k3b-0.11.17 (23 Sep 2004)

23 Sep 2004; Carsten Lohrke +k3b-0.11.17.ebuild:
version bump

*k3b-0.11.16 (20 Sep 2004)

20 Sep 2004; Carsten Lohrke +k3b-0.11.16.ebuild:
version bump

14 Sep 2004; Carsten Lohrke
-files/k3b-0.10.3-hacked-cdrdao.patch, k3b-0.11.12-r1.ebuild,
-k3b-0.11.13.ebuild:
ebuild clean up, removed monkey plugin from 0.11.12-r1, too

21 Aug 2004; Lars Weiler k3b-0.11.10.ebuild,
k3b-0.11.12-r1.ebuild, k3b-0.11.13.ebuild, k3b-0.11.14.ebuild:
Depend on virtual/cdrtools, as mentioned in bug 61094.

14 Aug 2004; Sven Wegener :
Fixed CVS Header.

*k3b-0.11.14 (10 Aug 2004)

10 Aug 2004; Carsten Lohrke +k3b-0.11.14.ebuild:
version bump

06 Aug 2004; Carsten Lohrke k3b-0.11.13.ebuild:
readded $(use_with arts), since kde.eclass supports it only for kde 3.3 and
above

*k3b-0.11.13 (05 Aug 2004)

05 Aug 2004; Carsten Lohrke +k3b-0.11.13.ebuild:
version bump, replaced a few for loops,
removed monkeyaudio plugin until license issues are sorted out

22 Jul 2004; Travis Tilley k3b-0.11.12-r1.ebuild:
stable on amd64

17 Jul 2004; Heinrich Wendel k3b-0.11.12-r1.ebuild:
stable on x86

04 Jul 2004; Carsten Lohrke k3b-0.11.10.ebuild,
k3b-0.11.12-r1.ebuild:
QA: need-kde after R/DEPEND

*k3b-0.11.12-r1 (03 Jul 2004)

03 Jul 2004; Heinrich Wendel k3b-0.11.11.ebuild,
k3b-0.11.12-r1.ebuild, k3b-0.11.12.ebuild, k3b-0.11.6.ebuild,
k3b-0.11.9.ebuild:
add icon for gnome, bug #55272, remove old versions, add arts useflag

*k3b-0.11.12 (25 Jun 2004)

25 Jun 2004; Carsten Lohrke +k3b-0.11.12.ebuild:
version bump

24 Jun 2004; Danny van Dyk k3b-0.11.10.ebuild:
Marked stable on amd64.

16 Jun 2004; Martin Holzer k3b-0.11.10.ebuild:
need a newer version of kde

*k3b-0.11.11 (15 Jun 2004)

15 Jun 2004; Carsten Lohrke k3b-0.11.11.ebuild:
version bump,
11 Jun 2004; Lars Weiler k3b-0.11.10.ebuild:
Stable on ppc.

05 Jun 2004; Heinrich Wendel k3b-0.11.10.ebuild:
stable on x86

01 Jun 2004; Aron Griffis k3b-0.11.10.ebuild,
k3b-0.11.9.ebuild:
Fix use invocation

*k3b-0.11.10 (24 May 2004)

24 May 2004; Heinrich Wendel k3b-0.11.10.ebuild:
version bump, bug #51910

14 May 2004; Lars Weiler k3b-0.11.9.ebuild:
Stable on ppc

03 May 2004; Jeremy Huddleston k3b-0.11.6.ebuild,
k3b-0.11.9.ebuild:
Changing mad dep to madplay.

26 Apr 2004; Aron Griffis k3b-0.11.9.ebuild:
Add die following econf for bug 48950

25 Apr 2004; Aron Griffis k3b-0.11.9.ebuild:
Add die following econf for bug 48950

24 Apr 2004; Heinrich Wendel k3b-0.11.6.ebuild,
k3b-0.11.9.ebuild:
mark 0.11.9 stable, fix depend again

14 Apr 2004; Heinrich Wendel k3b-0.11.1-r1.ebuild,
k3b-0.11.5.ebuild:
remove old versions

14 Apr 2004; Heinrich Wendel k3b-0.11.1-r1.ebuild,
k3b-0.11.5.ebuild, k3b-0.11.6.ebuild, k3b-0.11.9.ebuild:
remove unnecessary $DEPEND=$DEPEND

*k3b-0.11.9 (06 Apr 2004)

06 Apr 2004; Heinrich Wendel k3b-0.11.9.ebuild:
version bump, add monkey use flag, bug #45459
add gnome deskto entry, bug #46546
add a better postinst message, bug #46245

14 Mar 2004; Jason Wever k3b-0.11.6.ebuild:
Added ~sparc keyword.

27 Mar 2004; Heinrich Wendel k3b-0.11.6.ebuild:
fix i18n stuff

13 Mar 2004; Heinrich Wendel k3b-0.11.6.ebuild:
stable on x86

11 Mar 2004; Lars Weiler k3b-0.11.6.ebuild:
stable on ppc

*k3b-0.11.6 (06 Mar 2004)

06 Mar 2004; Heinrich Wendel k3b-0.10.3-r2.ebuild,
k3b-0.11.2.ebuild, k3b-0.11.4.ebuild, k3b-0.11.6.ebuild, k3b-0.9.ebuild:
version bump (with linguas support, bug #43540), remove old versions

*k3b-0.11.5 (24 Feb 2004)

24 Feb 2004; Heinrich Wendel k3b-0.11.5.ebuild:
version bump, bug #42509

*k3b-0.11.4 (17 Feb 2004)

17 Feb 2004; Heinrich Wendel k3b-0.11.4.ebuild:
version bump, bug #41463

*k3b-0.11.2 (09 Feb 2004)

09 Feb 2004; Heinrich Wendel k3b-0.11.2.ebuild:
version bump

07 Feb 2004; Lars Weiler k3b-0.11.1-r1.ebuild:
stable on x86 and ppc.

27 Jan 2004; Heinrich Wendel k3b-0.11.1-r1.ebuild:
added docs; only info about k3bsetup if it is installed

*k3b-0.11.1-r1 (27 Jan 2004)

27 Jan 2004; Heinrich Wendel k3b-0.10.1.ebuild,
k3b-0.10.3-r1.ebuild, k3b-0.10.3.ebuild, k3b-0.10.ebuild,
k3b-0.11.1-r1.ebuild, k3b-0.11.1.ebuild, k3b-0.8.1-r1.ebuild,
k3b-0.9-r1.ebuild, files/k3b-0.10.1-include-limits.patch,
files/mp3decoder_fix.diff:
remove some old versions; fix up 0.11.1 ebuild

*k3b-0.11.1 (26 Jan 2004)

26 Jan 2004; Luca Barbato k3b-0.11.1.ebuild:
New version, ui fixes

*k3b-0.10.3-r2 (16 Dec 2003)

16 Dec 2003; Martin Schlemmer k3b-0.10.3-r2.ebuild,
files/k3b-0.10.3-hacked-cdrdao.patch:
Make k3b work with cdrdao and 2.6 kernel (we need >=cdrdao-1.1.7-r3 that
have the '-gentoo' appended to its version). Note that this is ATAPI
support with cdrdao ...

15 Dec 2003; Martin Schlemmer k3b-0.10.3-r1.ebuild:
Add a '[ -d "${WORKDIR}/${I18N}" ]' check in case the LINGUAS is not supported.

*k3b-0.10.3-r1 (14 Dec 2003)
14 Dec 2003; Martin Schlemmer k3b-0.10.3-r1.ebuild:
For some reason things gets borked if the linguas stuff is done without
LINGUAS set (I am assuming that it runs the automake in the k3b main source
dir ...), bug #33434. Also add some other cleanups and form fixes.

*k3b-0.10.3 (04 Dec 2003)

04 Dec 2003; Caleb Tennis k3b-0.10.2.ebuild, k3b-0.10.3.ebuild:
New bug fix version, remove 0.10.2 as it has a nasty bug.

30 Nov 2003; Caleb Tennis k3b-0.10.2.ebuild:
Add a note about where new k3bsetup program is located.
Closes bug #33566, thanks to Derek Williams for the fix.

17 Nov 2003; David Holm k3b-0.10.2.ebuild:
Apparently it's difficult to move the ~ppc keyword to new versions of this app.

*k3b-0.10.2 (11 Nov 2003)

11 Nov 2003; Caleb Tennis k3b-0.10.2.ebuild:
New version, modified LINGUA support

08 Nov 2003; David Holm k3b-0.10.1.ebuild:
Added to ~ppc.

01 Nov 2003; Caleb Tennis k3b-0.10.1.ebuild:
Add in Azarah's patch for gcc 2.95 compatibility

*k3b-0.10.1 (31 Oct 2003)

31 Oct 2003; Caleb Tennis k3b-0.10.1.ebuild:
Version bump, add i18n support (thanks to Carlo) bug #32113

*k3b-0.10 (14 Oct 2003)

14 Oct 2003; Caleb Tennis k3b-0.10.ebuild:
New version, try some new dependencies out.
Will need some feedback to make sure this works globally.

*k3b-0.9-r1 (02 Oct 2003)

02 Oct 2003; Caleb Tennis k3b-0.9-r1.ebuild,
files/mp3decoder_fix.diff:
add a fix for compilation problems

07 Sep 2003; Caleb Tennis k3b-0.9.ebuild:
Mark as x86 stable

12 Aug 2003; Caleb Tennis k3b-0.9.ebuild:
Add a warning to the postinst of the ebuild, as noted in bug 14861

11 Aug 2003; Caleb Tennis k3b-0.9.ebuild:
Remove hard dependency on kde 3.1 (bug #26438)

*k3b-0.9 (19 Jul 2003)

19 Jul 2003; Nick Hadaway k3b-0.9.ebuild:
Version bump. Changed mad dependancy.

07 Jul 2003; Caleb Tennis k3b-0.8.1-r1.ebuild, k3b-0.9_pre2.ebuild:
Added runtime dependency on media-sound/normalize. This closes #23259.

19 Jun 2003; Rainer Groesslinger k3b-0.9_pre2.ebuild:
fixed a problem with parallel builds

*k3b-0.9_pre2 (18 Jun 2003)

18 Jun 2003; Caleb Tennis k3b-0.9_pre2.ebuild:
Version bump

*k3b-0.8.1-r1 (20 Apr 2003)

20 Apr 2003; Dan Armak k3b-0.8.1-r1.ebuild:
Make the transcode dep dependant on use dvd, and move it to RDEPEND. Closes
bug #14810.

06 Apr 2003; Dan Armak k3b-0.8.1.ebuild:

Mark as x86 (stable).

15 March 2003; Luca Barbato k3b-0.8.1.ebuild :
changed -ppc to ~ppc since now transcode is building again

*k3b-0.8.1 (1 March 2003)

1 March 2003; Bart Verwilst k3b-0.8.1.ebuild :
version bump

13 Feb 2003; Mark Guertin k3b-0.7.5.ebuild :
set -ppc in keywords, can't meet the deps

*k3b-0.8 (12 Feb 2003)

12 Feb 2003; Hannes Mehnert k3b-0.8.ebuild :
version bump

*k3b-0.7.5 (27 Nov 2002)

22 Jan 2003; Jon Nall k3b-0.7.5.ebuild :
keyworded ~ppc

27 Nov 2002; Bart Verwilst :
New version, removed all old ones

*k3b-0.7.4 (14 Nov 2002)

14 Nov 2002; Hannes Mehnert k3b-0.7.4.ebuild:
version bump, thanks absinthe@pobox.com (Dylan Carlson) for submission

*k3b-0.7.3 (17 Oct 2002)

17 Oct 2002; Dan Armak ChangeLog :

New upstream version, lots of bugfixes and even some new features.

05 Oct 2002; Dan Armak ChangeLog :

Add missing dep on kdebase; close bug #8311.

29 Aug 2002; Dan Armak ChangeLog :

Add missing runtime dep on sys-apps/eject. Closes bug #6688. Also, move
the cdrtools and cdrdao deps from DEPEND to RDEPEND.

*k3b-0.7 (29 May 2002)

29 May 2002; Dan Armak ChangeLog :

New upstream version, a geat many changes, new functionality & deps etc.

*k3b-0.5.1 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX k3b-0.12.17+flac-1.1.3.patch 5567 RMD160 a20b5ae7a752b9f91c479218e75ba173af48be44 SHA1 41eae878580d21341ef6b1549a7d43df39c470d6 SHA256 4df6f523d8a05485bf1ccd3cda367460d234dc1b47564e6e8a52bfa58413149c
AUX k3b-0.12.17-flac-beta.patch 1282 RMD160 c91a54ca3f54e34cd6805b39e5bbbdc058eaa394 SHA1 53a79cb65025ea4a2f31096a891f750b0b7711c9 SHA256 6f74700e5920ac2ec751ee16a8933cb3de5a6b3d6ea90d3a4e1d3d3815b7b8bc
AUX k3b-1.0-alsa-fix.patch 669 RMD160 0e4ac67c18db77d655f482d2607cffef2ba9d0ab SHA1 b036e9932eb31ecc037ddfa0a58320248319f97f SHA256 31ac29a43f931786a4c71d3824a15abbb36a4439977eace2c668bcd53912536f
AUX k3b-1.0.1-hidden.patch 1349 RMD160 15af630c21a2b7f60247917d59e6f63ed7ab2196 SHA1 dc20ef921ead5841ec9d498c5d350d96e808ab30 SHA256 47cc0385b47b82f3b66770c1c61afda80ab197e08fbe928c2f121e5010309306
AUX k3b-1.0.4-eject_186173.patch 3382 RMD160 2635fd05f35fd68a2eb9fac0f481accf711b81c3 SHA1 d7c52ee27631fd2abf0492d12a635d2ab9f33cdb SHA256 dccc64f4163b734122df739b7887e4fd2fe9cdd4d5522f9b02a43548fc77d2f2
AUX k3b-1.0.5-desktop-entry.diff 1756 RMD160 540b5336fde1206eba74ac25a4fd0276978ad9c6 SHA1 d817a1da34cc6207a1d5fcac0d5ba67a3964afc0 SHA256 3d89ee4194abe8312e7373161bac8b9134850906be9c6e738571f9de7adfb34b
AUX k3b-1.0.5-eject_186173.patch 3382 RMD160 2635fd05f35fd68a2eb9fac0f481accf711b81c3 SHA1 d7c52ee27631fd2abf0492d12a635d2ab9f33cdb SHA256 dccc64f4163b734122df739b7887e4fd2fe9cdd4d5522f9b02a43548fc77d2f2
AUX k3b-1.0.5-ffmpeg-0.4.9_p20080326-API.patch 2991 RMD160 8d0204a12cfe1eabe03e66b6201e2164f01cd80d SHA1 6bab88b9e4619a7f61b82c6e59af9a7ef784f71b SHA256 e2db198914acbda0c33c20537449cf7b729345f9d8af0052701259de0b27ff21
DIST k3b-0.12.17.tar.bz2 4008650 RMD160 bb791d7d003285f6623229eae213cf224fd3a128 SHA1 ae23be594b6e2c116fd4c2af8cefb438423d1285 SHA256 067ef9d621bed9a1c385c201b13810f11305edf03a7da0793cb059bb578700b7
DIST k3b-1.0.3.tar.bz2 5092806 RMD160 b51dcc8cd0bd4c0b1e9b97221596360a9d6be2f1 SHA1 cf9eee45eebd280a069c7f94924237bdec6bbd06 SHA256 c5d1afe150de90c898f6566e14bf1e3d868dc4a9e8523c2065b283108b410eb9
DIST k3b-1.0.4.tar.bz2 5115790 RMD160 495090c36744e9a5ccd02621209eda2462c93476 SHA1 c420c6ca3a1f7405081a85014ef3e3f70e269223 SHA256 2b384127c330bf6c9ef5d08733b0da2d815aec66893a8fc628b746181f06d4bb
DIST k3b-1.0.5.tar.bz2 5113060 RMD160 b562746015cc2e4226652402725b4e69eb846822 SHA1 c45d6f2a36b1bc7ea14101d444149c40fd4b700e SHA256 d4f9799f234ade98b7e417d1493de3bd4a44fd937e813c2beb29eba02cda50df
DIST k3b-i18n-0.12.17.tar.bz2 5714933 RMD160 f36c4ea2da170d5c0a797a2c966b2497ac671abd SHA1 5a735d0fe7dc0d57889eabc2855f4aff3ed6be58 SHA256 2eb4fbcc7f1475485676f20707f179b4b4745d97a18bf8e80ee4001ebf24546a
DIST k3b-i18n-1.0.3.tar.bz2 7613565 RMD160 397bf05ac59e9472d85f8d7bc0dd9b1fe8e82a80 SHA1 7904774f0944aa2f388392e4623079a7082157bc SHA256 9bd8da6582979512887d1559aae8b4faad5d931cab4d85097cfb9189b26b4d22
DIST k3b-i18n-1.0.4.tar.bz2 7581613 RMD160 910e64ef0c08cada51f17e31c902eb01d5bbf5be SHA1 e111ba113c2ff47730bc5cb4a7f6f88911bc2b94 SHA256 a2627ac27d4a821a903b5a04ef927d025e5db1a0b41517ff4930c4a5c76f3352
DIST k3b-i18n-1.0.5.tar.bz2 7732137 RMD160 6f08c6851da5d25ed4b2ead4ad0c4073ba94e246 SHA1 8697c0f0a9fa458895519a5d94c50120333a71c8 SHA256 068b170cd63c97263d21165b7b5106a8176f2499a1ebcec9baa68b7628395767
EBUILD k3b-0.12.17.ebuild 3645 RMD160 dd4648d745b5987fd95017bce697de1a3e56c321 SHA1 0000251d96019ecb3b1289603f70efb64c74c4d9 SHA256 077112a79739d88eabb2fc9c4def003a36fa4b2be0a3d46bbe02e18657778b19
EBUILD k3b-1.0.3.ebuild 4282 RMD160 8c3d0aaa89efc01c1fea0379ae974ef0c0f8ac50 SHA1 3816fb6f042eaa27dbc8b1102246543602e1721c SHA256 b778a9c97e408f14b9c1e36dcd2567b9d3fbc95cd224bdb7accf5bc95b5b8d54
EBUILD k3b-1.0.4-r1.ebuild 4514 RMD160 749783ccd4372193dbf23f29c992d68a79f1de5b SHA1 03f3720bdac1b3decb723414f080354c0dee3984 SHA256 5e8d38b6d3e3984c99d3e985e5935b026632fe3d0049242bc1fb9ad72e8d50a4
EBUILD k3b-1.0.4.ebuild 4255 RMD160 ccdc0eb639e96ac360907d6bc67841633f949cb6 SHA1 804b49671d2f687b4cb83b5a5309500879b9588f SHA256 5fb468f6cb7676cbee6e814f73eb00767a13ec6232f6bdca2fd19b4f442b9a37
EBUILD k3b-1.0.5-r1.ebuild 4318 RMD160 235579de927264771e00721a57ae44c849553f3a SHA1 113e3811175947fade6b69537b0fa06199888822 SHA256 bebf54e81d25dcf1d2fe34ac3aaf7bc99543fb5a0c5f55e830fa6055f7479f07
EBUILD k3b-1.0.5-r2.ebuild 4378 RMD160 5ae44145bd661c2b7d70236a9b6507e54ecb139d SHA1 b76b61b15f8694d9ff7ebda2cfbb01ceced18f64 SHA256 eb9162b5099734215762a2258f70b33bb7e82f8257da9f3d20b1e05d363fae82
EBUILD k3b-1.0.5.ebuild 4511 RMD160 ef33c75a421e870d2e8d7a0bb32bee3f9e8a4ba5 SHA1 d65fb1262d97626904b3e91cee5ff9b3c8c913f6 SHA256 5b976a1d7598c33a250481ce473f8b429f4ca9faefb93abe82f31b785f630a00
MISC ChangeLog 30712 RMD160 f5812f399f21b77e7581c56975bad61fa0dec6ee SHA1 c27b1e7313b978e6d1ac8679effcc8a23297fad9 SHA256 0503c18024fde377fdfb9c8ae0971cc9e112f87e1741d4db4be83ce260794b5c
MISC metadata.xml 183 RMD160 dfdbe8a9663c05a4c6ab7aaf0e1d5b35ac030e2f SHA1 44581aca775d8ca4854c53861174b6147da706b4 SHA256 d004a7535807ea599189a046ac582ca032a91f868bbcf4b72195773dfaf15462

files

k3b-0.12.17.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.12.17.ebuild,v 1.17 2008/07/07 19:39:26 loki_val Exp $

inherit kde eutils

DESCRIPTION="K3b, KDE CD Writing Software"
HOMEPAGE="http://www.k3b.org/"
SRC_URI="mirror://sourceforge/k3b/${P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
IUSE="alsa css dvdr encode ffmpeg flac hal kde mp3 musepack musicbrainz sndfile vcd vorbis"

DEPEND="kde? ( || ( kde-base/kdesu kde-base/kdebase ) )
hal? ( dev-libs/dbus-qt3-old sys-apps/hal )
media-libs/libsamplerate
media-libs/taglib
>=media-sound/cdparanoia-3.9.8
sndfile? ( media-libs/libsndfile )
ffmpeg? ( flac? ( media-libs/flac )
mp3? ( media-libs/libmad )
musepack? ( media-libs/libmpcdec )
vorbis? ( media-libs/libvorbis )
musicbrainz? ( =media-libs/musicbrainz-2* )
encode? ( media-sound/lame )
alsa? ( media-libs/alsa-lib )"

RDEPEND="${DEPEND}
virtual/cdrtools
>=app-cdr/cdrdao-1.1.7-r3
media-sound/normalize
dvdr? ( app-cdr/dvd+rw-tools )
css? ( media-libs/libdvdcss )
encode? ( media-sound/sox
media-video/transcode )
vcd? ( media-video/vcdimager )"

DEPEND="${DEPEND}
dev-util/pkgconfig"

need-kde 3.4

I18N="${PN}-i18n-${PV}"

# Supported languages and translated documentation
LANGS="af bg bn br bs ca cs cy da de el en_GB es et eu fi fr ga he hi hu is it
ja km lt mk ms nb nds nl nn pa pl pt pt_BR ro ru se sl sr sr@Latn sv ta tr uk
zh_CN zh_TW"

for X in ${LANGS}; do
SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
IUSE="${IUSE} linguas_${X}"
done

pkg_setup() {
if use hal && has_version ' eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
eerror "but sys-apps/dbus is not built with Qt3 support."
die "rebuild sys-apps/dbus with the qt3 useflag"
fi

if use flac && ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} with flac support you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi

kde_pkg_setup
}

src_unpack() {
kde_src_unpack

if [ -d "${WORKDIR}/${I18N}" ]; then
cd "${WORKDIR}/${I18N}"
for X in ${LANGS}; do
use linguas_${X} || rm -rf "${X}"
done
rm -f configure
fi

cd "${S}"
epatch "${FILESDIR}/${P}+flac-1.1.3.patch"
epatch "${FILESDIR}/${P}-flac-beta.patch"
rm -f "${S}/configure"
}

src_compile() {
local myconf="--with-external-libsamplerate \
--without-resmgr \
$(use_with kde k3bsetup) \
$(use_with hal) \
$(use_with encode lame) \
$(use_with ffmpeg) \
$(use_with flac) \
$(use_with vorbis oggvorbis) \
$(use_with sndfile) \
$(use_with mp3 libmad) \
$(use_with musepack) \
$(use_with musicbrainz) \
$(use_with alsa)"

# Build process of K3b
kde_src_compile

# Build process of K3b-i18n
if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_compile
fi
}

src_install() {
kde_src_install
dodoc FAQ KNOWNBUGS PERMISSIONS

if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_install
fi

# Move menu entry
if use kde; then
mv "${D}"/usr/share/applnk/Settings/System/k3bsetup2.desktop "${D}"/usr/share/applications/kde/
fi
rm -fR "${D}"/usr/share/applnk/
}

pkg_postinst() {
echo
elog "Make sure you have proper read/write permissions on the cdrom device(s)."
elog "Usually, it is sufficient to be in the cdrom group."
echo
}

k3b-1.0.3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-1.0.3.ebuild,v 1.7 2008/07/07 19:39:26 loki_val Exp $

inherit kde eutils

MY_P=${P/_/}
S="${WORKDIR}/${MY_P}"

DESCRIPTION="K3b, KDE CD Writing Software"
HOMEPAGE="http://www.k3b.org/"
SRC_URI="mirror://sourceforge/k3b/${MY_P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="alsa css dvdr dvdread encode ffmpeg flac hal kde mp3 musepack musicbrainz
sndfile vcd vorbis emovix"

DEPEND="kde? ( || ( kde-base/kdesu kde-base/kdebase ) )
hal? ( dev-libs/dbus-qt3-old sys-apps/hal )
media-libs/libsamplerate
media-libs/taglib
>=media-sound/cdparanoia-3.9.8
sndfile? ( media-libs/libsndfile )
ffmpeg? ( flac? ( media-libs/flac )
mp3? ( media-libs/libmad )
musepack? ( media-libs/libmpcdec )
vorbis? ( media-libs/libvorbis )
musicbrainz? ( =media-libs/musicbrainz-2* )
encode? ( media-sound/lame )
alsa? ( media-libs/alsa-lib )
dvdread? ( media-libs/libdvdread )"

RDEPEND="${DEPEND}
virtual/cdrtools
>=app-cdr/cdrdao-1.1.7-r3
media-sound/normalize
dvdr? ( >=app-cdr/dvd+rw-tools-7.0 )
css? ( media-libs/libdvdcss )
encode? ( media-sound/sox
media-video/transcode )
vcd? ( media-video/vcdimager )
emovix? ( media-video/emovix )"

DEPEND="${DEPEND}
dev-util/pkgconfig"

need-kde 3.5

I18N="${PN}-i18n-${PV}"

# Supported languages and translated documentation
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"
for X in ${LANGS}; do
SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
IUSE="${IUSE} linguas_${X}"
done

pkg_setup() {
if use hal && has_version ' eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
eerror "but sys-apps/dbus is not built with Qt3 support."
die "Please, rebuild sys-apps/dbus with the \"qt3\" USE flag."
fi
if use encode && ! built_with_use media-video/transcode dvdread; then
eerror "You are trying to compile ${CATEGORY}/${PF} with the \"encode\""
eerror "USE flag enabled, however media-video/transcode was not built"
eerror "with libdvdread support. Also keep in mind that enabling"
eerror "the dvdread USE flag will cause k3b to use libdvdread as well."
die "Please, rebuild media-video/transcode with the \"dvdread\" USE flag."
fi

if use flac && ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} with flac support you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi

use kde || elog "You haven't set the kde use flag. k3bsetup won't be installed."

kde_pkg_setup
}

src_unpack() {
kde_src_unpack

if [ -d "${WORKDIR}/${I18N}" ]; then
cd "${WORKDIR}/${I18N}"
for X in ${LANGS}; do
use linguas_${X} || rm -rf "${X}"
done
rm -f configure
fi
rm -f "${S}/configure"
}

src_compile() {
local myconf="--enable-libsuffix= \
--with-external-libsamplerate \
--without-resmgr \
--without-cdrecord-suid-root \
$(use_with kde k3bsetup) \
$(use_with hal) \
$(use_with encode lame) \
$(use_with ffmpeg) \
$(use_with flac) \
$(use_with vorbis oggvorbis) \
$(use_with sndfile) \
$(use_with mp3 libmad) \
$(use_with musepack) \
$(use_with musicbrainz) \
$(use_with alsa)"

# Build process of K3b
kde_src_compile

# Build process of K3b-i18n
if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_compile
fi
}

src_install() {
kde_src_install
dodoc FAQ KNOWNBUGS PERMISSIONS

if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_install
fi
}

pkg_preinst() {
kde_pkg_preinst
use kde || rm "${D}"/usr/share/applications/kde/k3bsetup2.desktop
}

pkg_postinst() {
local group=cdrom
use kernel_linux || group=operator
echo
elog "Make sure you have proper read/write permissions on the cdrom device(s)."
elog "Usually, it is sufficient to be in the ${group} group."
echo
}

k3b-1.0.4-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-1.0.4-r1.ebuild,v 1.2 2008/07/07 19:39:26 loki_val Exp $

inherit kde eutils

MY_P=${P/_/}
S="${WORKDIR}/${MY_P}"

DESCRIPTION="K3b, KDE CD Writing Software"
HOMEPAGE="http://www.k3b.org/"
SRC_URI="mirror://sourceforge/k3b/${MY_P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="alsa css dvdr dvdread encode ffmpeg flac hal mp3 musepack musicbrainz
sndfile vcd vorbis emovix"

DEPEND="hal? ( dev-libs/dbus-qt3-old sys-apps/hal )
media-libs/libsamplerate
media-libs/taglib
>=media-sound/cdparanoia-3.9.8
sndfile? ( media-libs/libsndfile )
ffmpeg? ( flac? ( media-libs/flac )
mp3? ( media-libs/libmad )
musepack? ( media-libs/libmpcdec )
vorbis? ( media-libs/libvorbis )
musicbrainz? ( =media-libs/musicbrainz-2* )
encode? ( media-sound/lame )
alsa? ( media-libs/alsa-lib )
dvdread? ( media-libs/libdvdread )"

RDEPEND="${DEPEND}
virtual/cdrtools
>=app-cdr/cdrdao-1.1.7-r3
media-sound/normalize
dvdr? ( >=app-cdr/dvd+rw-tools-7.0 )
css? ( media-libs/libdvdcss )
encode? ( media-sound/sox
media-video/transcode )
vcd? ( media-video/vcdimager )
emovix? ( media-video/emovix )"

DEPEND="${DEPEND}
dev-util/pkgconfig"

need-kde 3.5

I18N="${PN}-i18n-${PV}"

# Supported languages and translated documentation
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"
for X in ${LANGS}; do
SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
IUSE="${IUSE} linguas_${X}"
done

pkg_setup() {
if use hal && has_version ' eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
eerror "but sys-apps/dbus is not built with Qt3 support."
die "Please, rebuild sys-apps/dbus with the \"qt3\" USE flag."
fi
if use encode && ! built_with_use media-video/transcode dvdread; then
eerror "You are trying to compile ${CATEGORY}/${PF} with the \"encode\""
eerror "USE flag enabled, however media-video/transcode was not built"
eerror "with libdvdread support. Also keep in mind that enabling"
eerror "the dvdread USE flag will cause k3b to use libdvdread as well."
die "Please, rebuild media-video/transcode with the \"dvdread\" USE flag."
fi

if use flac && ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} with flac support you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi

kde_pkg_setup
}

src_unpack() {
kde_src_unpack

# Makes k3b eject and re-load properly again. Fixes bug 186173.
epatch "${FILESDIR}/${P}-eject_186173.patch"

# Fix the desktop file. cf. bug 208777.
sed -i -e "/MimeType/s:$:;:" "${S}"/src/k3b.desktop \
|| die "Fixing the desktop file failed."

if [ -d "${WORKDIR}/${I18N}" ]; then
cd "${WORKDIR}/${I18N}"
for X in ${LANGS}; do
use linguas_${X} || rm -rf "${X}"
done
rm -f configure
fi
rm -f "${S}/configure"
}

src_compile() {
local myconf="--enable-libsuffix= \
--with-external-libsamplerate \
--without-resmgr \
--without-cdrecord-suid-root \
--without-k3bsetup \
$(use_with hal) \
$(use_with encode lame) \
$(use_with ffmpeg) \
$(use_with flac) \
$(use_with vorbis oggvorbis) \
$(use_with sndfile) \
$(use_with mp3 libmad) \
$(use_with musepack) \
$(use_with musicbrainz) \
$(use_with alsa)"

# Build process of K3b
kde_src_compile

# Build process of K3b-i18n
if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_compile
fi
}

src_install() {
kde_src_install
dodoc FAQ KNOWNBUGS PERMISSIONS

if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_install
fi
}

pkg_postinst() {
echo
elog "We don't install k3bsetup anymore because Gentoo doesn't need it."
elog "If you get warnings on start-up, uncheck the \"Check system"
elog "configuration\" option in the \"Misc\" settings window."
echo

local group=cdrom
use kernel_linux || group=operator
elog "Make sure you have proper read/write permissions on the cdrom device(s)."
elog "Usually, it is sufficient to be in the ${group} group."
echo
}

k3b-1.0.4.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-1.0.4.ebuild,v 1.9 2008/07/07 19:39:26 loki_val Exp $

inherit kde eutils

MY_P=${P/_/}
S="${WORKDIR}/${MY_P}"

DESCRIPTION="K3b, KDE CD Writing Software"
HOMEPAGE="http://www.k3b.org/"
SRC_URI="mirror://sourceforge/k3b/${MY_P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE="alsa css dvdr dvdread encode ffmpeg flac hal mp3 musepack musicbrainz
sndfile vcd vorbis emovix"

DEPEND="hal? ( dev-libs/dbus-qt3-old sys-apps/hal )
media-libs/libsamplerate
media-libs/taglib
>=media-sound/cdparanoia-3.9.8
sndfile? ( media-libs/libsndfile )
ffmpeg? ( flac? ( media-libs/flac )
mp3? ( media-libs/libmad )
musepack? ( media-libs/libmpcdec )
vorbis? ( media-libs/libvorbis )
musicbrainz? ( =media-libs/musicbrainz-2* )
encode? ( media-sound/lame )
alsa? ( media-libs/alsa-lib )
dvdread? ( media-libs/libdvdread )"

RDEPEND="${DEPEND}
virtual/cdrtools
>=app-cdr/cdrdao-1.1.7-r3
media-sound/normalize
dvdr? ( >=app-cdr/dvd+rw-tools-7.0 )
css? ( media-libs/libdvdcss )
encode? ( media-sound/sox
media-video/transcode )
vcd? ( media-video/vcdimager )
emovix? ( media-video/emovix )"

DEPEND="${DEPEND}
dev-util/pkgconfig"

need-kde 3.5

I18N="${PN}-i18n-${PV}"

# Supported languages and translated documentation
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"
for X in ${LANGS}; do
SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
IUSE="${IUSE} linguas_${X}"
done

pkg_setup() {
if use hal && has_version ' eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
eerror "but sys-apps/dbus is not built with Qt3 support."
die "Please, rebuild sys-apps/dbus with the \"qt3\" USE flag."
fi
if use encode && ! built_with_use media-video/transcode dvdread; then
eerror "You are trying to compile ${CATEGORY}/${PF} with the \"encode\""
eerror "USE flag enabled, however media-video/transcode was not built"
eerror "with libdvdread support. Also keep in mind that enabling"
eerror "the dvdread USE flag will cause k3b to use libdvdread as well."
die "Please, rebuild media-video/transcode with the \"dvdread\" USE flag."
fi

if use flac && ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} with flac support you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi

kde_pkg_setup
}

src_unpack() {
kde_src_unpack

if [ -d "${WORKDIR}/${I18N}" ]; then
cd "${WORKDIR}/${I18N}"
for X in ${LANGS}; do
use linguas_${X} || rm -rf "${X}"
done
rm -f configure
fi
rm -f "${S}/configure"
}

src_compile() {
local myconf="--enable-libsuffix= \
--with-external-libsamplerate \
--without-resmgr \
--without-cdrecord-suid-root \
--without-k3bsetup \
$(use_with hal) \
$(use_with encode lame) \
$(use_with ffmpeg) \
$(use_with flac) \
$(use_with vorbis oggvorbis) \
$(use_with sndfile) \
$(use_with mp3 libmad) \
$(use_with musepack) \
$(use_with musicbrainz) \
$(use_with alsa)"

# Build process of K3b
kde_src_compile

# Build process of K3b-i18n
if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_compile
fi
}

src_install() {
kde_src_install
dodoc FAQ KNOWNBUGS PERMISSIONS

if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_install
fi
}

pkg_postinst() {
echo
elog "We don't install k3bsetup anymore because Gentoo doesn't need it."
elog "If you get warnings on start-up, uncheck the \"Check system"
elog "configuration\" option in the \"Misc\" settings window."
echo

local group=cdrom
use kernel_linux || group=operator
elog "Make sure you have proper read/write permissions on the cdrom device(s)."
elog "Usually, it is sufficient to be in the ${group} group."
echo
}

k3b-1.0.5-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-1.0.5-r1.ebuild,v 1.2 2008/07/07 19:39:26 loki_val Exp $

inherit kde eutils

MY_P=${P/_/}
S="${WORKDIR}/${MY_P}"

DESCRIPTION="K3b, KDE CD Writing Software"
HOMEPAGE="http://www.k3b.org/"
SRC_URI="mirror://sourceforge/k3b/${MY_P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="alsa css dvdr dvdread encode ffmpeg flac hal mp3 musepack musicbrainz
sndfile vcd vorbis emovix"

DEPEND="hal? ( dev-libs/dbus-qt3-old sys-apps/hal )
media-libs/libsamplerate
media-libs/taglib
>=media-sound/cdparanoia-3.9.8
sndfile? ( media-libs/libsndfile )
ffmpeg? ( flac? ( media-libs/flac )
mp3? ( media-libs/libmad )
musepack? ( media-libs/libmpcdec )
vorbis? ( media-libs/libvorbis )
musicbrainz? ( =media-libs/musicbrainz-2* )
encode? ( media-sound/lame )
alsa? ( media-libs/alsa-lib )
dvdread? ( media-libs/libdvdread )"

RDEPEND="${DEPEND}
virtual/cdrtools
>=app-cdr/cdrdao-1.1.7-r3
media-sound/normalize
dvdr? ( >=app-cdr/dvd+rw-tools-7.0 )
css? ( media-libs/libdvdcss )
encode? ( media-sound/sox
media-video/transcode )
vcd? ( media-video/vcdimager )
emovix? ( media-video/emovix )"

DEPEND="${DEPEND}
dev-util/pkgconfig"

need-kde 3.5

PATCHES=( "${FILESDIR}/k3b-1.0.5-desktop-entry.diff" )

I18N="${PN}-i18n-${PV}"

# Supported languages and translated documentation
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"
for X in ${LANGS}; do
SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
IUSE="${IUSE} linguas_${X}"
done

pkg_setup() {
if use hal && has_version ' eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
eerror "but sys-apps/dbus is not built with Qt3 support."
die "Please, rebuild sys-apps/dbus with the \"qt3\" USE flag."
fi
if use encode && ! built_with_use media-video/transcode dvdread; then
eerror "You are trying to compile ${CATEGORY}/${PF} with the \"encode\""
eerror "USE flag enabled, however media-video/transcode was not built"
eerror "with libdvdread support. Also keep in mind that enabling"
eerror "the dvdread USE flag will cause k3b to use libdvdread as well."
die "Please, rebuild media-video/transcode with the \"dvdread\" USE flag."
fi

if use flac && ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} with flac support you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi

kde_pkg_setup
}

src_unpack() {
kde_src_unpack

if [ -d "${WORKDIR}/${I18N}" ]; then
cd "${WORKDIR}/${I18N}"
for X in ${LANGS}; do
use linguas_${X} || rm -rf "${X}"
done
rm -f configure
fi
rm -f "${S}/configure"
}

src_compile() {
local myconf="--enable-libsuffix= \
--with-external-libsamplerate \
--without-resmgr \
--without-cdrecord-suid-root \
--without-k3bsetup \
$(use_with hal) \
$(use_with encode lame) \
$(use_with ffmpeg) \
$(use_with flac) \
$(use_with vorbis oggvorbis) \
$(use_with sndfile) \
$(use_with mp3 libmad) \
$(use_with musepack) \
$(use_with musicbrainz) \
$(use_with alsa)"

# Build process of K3b
kde_src_compile

# Build process of K3b-i18n
if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_compile
fi
}

src_install() {
kde_src_install
dodoc FAQ KNOWNBUGS PERMISSIONS

if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_install
fi
}

pkg_postinst() {
echo
elog "We don't install k3bsetup anymore because Gentoo doesn't need it."
elog "If you get warnings on start-up, uncheck the \"Check system"
elog "configuration\" option in the \"Misc\" settings window."
echo

local group=cdrom
use kernel_linux || group=operator
elog "Make sure you have proper read/write permissions on the cdrom device(s)."
elog "Usually, it is sufficient to be in the ${group} group."
echo
}

k3b-1.0.5-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-1.0.5-r2.ebuild,v 1.1 2008/07/07 19:39:26 loki_val Exp $

inherit kde eutils

MY_P=${P/_/}
S="${WORKDIR}/${MY_P}"

DESCRIPTION="K3b, KDE CD Writing Software"
HOMEPAGE="http://www.k3b.org/"
SRC_URI="mirror://sourceforge/k3b/${MY_P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="alsa css dvdr dvdread encode ffmpeg flac hal mp3 musepack musicbrainz
sndfile vcd vorbis emovix"

DEPEND="hal? ( dev-libs/dbus-qt3-old sys-apps/hal )
media-libs/libsamplerate
media-libs/taglib
>=media-sound/cdparanoia-3.9.8
sndfile? ( media-libs/libsndfile )
ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 )
flac? ( media-libs/flac )
mp3? ( media-libs/libmad )
musepack? ( media-libs/libmpcdec )
vorbis? ( media-libs/libvorbis )
musicbrainz? ( =media-libs/musicbrainz-2* )
encode? ( media-sound/lame )
alsa? ( media-libs/alsa-lib )
dvdread? ( media-libs/libdvdread )"

RDEPEND="${DEPEND}
virtual/cdrtools
>=app-cdr/cdrdao-1.1.7-r3
media-sound/normalize
dvdr? ( >=app-cdr/dvd+rw-tools-7.0 )
css? ( media-libs/libdvdcss )
encode? ( media-sound/sox
media-video/transcode )
vcd? ( media-video/vcdimager )
emovix? ( media-video/emovix )"

DEPEND="${DEPEND}
dev-util/pkgconfig"

need-kde 3.5

PATCHES=( "${FILESDIR}/k3b-1.0.5-desktop-entry.diff"
"${FILESDIR}/k3b-1.0.5-ffmpeg-0.4.9_p20080326-API.patch" )

I18N="${PN}-i18n-${PV}"

# Supported languages and translated documentation
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"
for X in ${LANGS}; do
SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
IUSE="${IUSE} linguas_${X}"
done

pkg_setup() {
if use hal && has_version ' eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
eerror "but sys-apps/dbus is not built with Qt3 support."
die "Please, rebuild sys-apps/dbus with the \"qt3\" USE flag."
fi
if use encode && ! built_with_use media-video/transcode dvdread; then
eerror "You are trying to compile ${CATEGORY}/${PF} with the \"encode\""
eerror "USE flag enabled, however media-video/transcode was not built"
eerror "with libdvdread support. Also keep in mind that enabling"
eerror "the dvdread USE flag will cause k3b to use libdvdread as well."
die "Please, rebuild media-video/transcode with the \"dvdread\" USE flag."
fi

if use flac && ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} with flac support you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi

kde_pkg_setup
}

src_unpack() {
kde_src_unpack

if [ -d "${WORKDIR}/${I18N}" ]; then
cd "${WORKDIR}/${I18N}"
for X in ${LANGS}; do
use linguas_${X} || rm -rf "${X}"
done
rm -f configure
fi
rm -f "${S}/configure"
}

src_compile() {
local myconf="--enable-libsuffix= \
--with-external-libsamplerate \
--without-resmgr \
--without-cdrecord-suid-root \
--without-k3bsetup \
$(use_with hal) \
$(use_with encode lame) \
$(use_with ffmpeg) \
$(use_with flac) \
$(use_with vorbis oggvorbis) \
$(use_with sndfile) \
$(use_with mp3 libmad) \
$(use_with musepack) \
$(use_with musicbrainz) \
$(use_with alsa)"

# Build process of K3b
kde_src_compile

# Build process of K3b-i18n
if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_compile
fi
}

src_install() {
kde_src_install
dodoc FAQ KNOWNBUGS PERMISSIONS

if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_install
fi
}

pkg_postinst() {
echo
elog "We don't install k3bsetup anymore because Gentoo doesn't need it."
elog "If you get warnings on start-up, uncheck the \"Check system"
elog "configuration\" option in the \"Misc\" settings window."
echo

local group=cdrom
use kernel_linux || group=operator
elog "Make sure you have proper read/write permissions on the cdrom device(s)."
elog "Usually, it is sufficient to be in the ${group} group."
echo
}

k3b-1.0.5.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-1.0.5.ebuild,v 1.2 2008/07/07 19:39:26 loki_val Exp $

inherit kde eutils

MY_P=${P/_/}
S="${WORKDIR}/${MY_P}"

DESCRIPTION="K3b, KDE CD Writing Software"
HOMEPAGE="http://www.k3b.org/"
SRC_URI="mirror://sourceforge/k3b/${MY_P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="alsa css dvdr dvdread encode ffmpeg flac hal mp3 musepack musicbrainz
sndfile vcd vorbis emovix"

DEPEND="hal? ( dev-libs/dbus-qt3-old sys-apps/hal )
media-libs/libsamplerate
media-libs/taglib
>=media-sound/cdparanoia-3.9.8
sndfile? ( media-libs/libsndfile )
ffmpeg? ( flac? ( media-libs/flac )
mp3? ( media-libs/libmad )
musepack? ( media-libs/libmpcdec )
vorbis? ( media-libs/libvorbis )
musicbrainz? ( =media-libs/musicbrainz-2* )
encode? ( media-sound/lame )
alsa? ( media-libs/alsa-lib )
dvdread? ( media-libs/libdvdread )"

RDEPEND="${DEPEND}
virtual/cdrtools
>=app-cdr/cdrdao-1.1.7-r3
media-sound/normalize
dvdr? ( >=app-cdr/dvd+rw-tools-7.0 )
css? ( media-libs/libdvdcss )
encode? ( media-sound/sox
media-video/transcode )
vcd? ( media-video/vcdimager )
emovix? ( media-video/emovix )"

DEPEND="${DEPEND}
dev-util/pkgconfig"

need-kde 3.5

I18N="${PN}-i18n-${PV}"

# Supported languages and translated documentation
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"
for X in ${LANGS}; do
SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
IUSE="${IUSE} linguas_${X}"
done

pkg_setup() {
if use hal && has_version ' eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
eerror "but sys-apps/dbus is not built with Qt3 support."
die "Please, rebuild sys-apps/dbus with the \"qt3\" USE flag."
fi
if use encode && ! built_with_use media-video/transcode dvdread; then
eerror "You are trying to compile ${CATEGORY}/${PF} with the \"encode\""
eerror "USE flag enabled, however media-video/transcode was not built"
eerror "with libdvdread support. Also keep in mind that enabling"
eerror "the dvdread USE flag will cause k3b to use libdvdread as well."
die "Please, rebuild media-video/transcode with the \"dvdread\" USE flag."
fi

if use flac && ! built_with_use --missing true media-libs/flac cxx; then
eerror "To build ${PN} with flac support you need the C++ bindings for flac."
eerror "Please enable the cxx USE flag for media-libs/flac"
die "Missing FLAC C++ bindings."
fi

kde_pkg_setup
}

src_unpack() {
kde_src_unpack

# Makes k3b eject and re-load properly again. Fixes bug 186173.
epatch "${FILESDIR}/${P}-eject_186173.patch"

# Fix the desktop file. cf. bug 208777.
sed -i -e "/MimeType/s:$:;:" "${S}"/src/k3b.desktop \
|| die "Fixing the desktop file failed."

if [ -d "${WORKDIR}/${I18N}" ]; then
cd "${WORKDIR}/${I18N}"
for X in ${LANGS}; do
use linguas_${X} || rm -rf "${X}"
done
rm -f configure
fi
rm -f "${S}/configure"
}

src_compile() {
local myconf="--enable-libsuffix= \
--with-external-libsamplerate \
--without-resmgr \
--without-cdrecord-suid-root \
--without-k3bsetup \
$(use_with hal) \
$(use_with encode lame) \
$(use_with ffmpeg) \
$(use_with flac) \
$(use_with vorbis oggvorbis) \
$(use_with sndfile) \
$(use_with mp3 libmad) \
$(use_with musepack) \
$(use_with musicbrainz) \
$(use_with alsa)"

# Build process of K3b
kde_src_compile

# Build process of K3b-i18n
if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_compile
fi
}

src_install() {
kde_src_install
dodoc FAQ KNOWNBUGS PERMISSIONS

if [ -d "${WORKDIR}/${I18N}" ]; then
KDE_S="${WORKDIR}/${I18N}" \
kde_src_install
fi
}

pkg_postinst() {
echo
elog "We don't install k3bsetup anymore because Gentoo doesn't need it."
elog "If you get warnings on start-up, uncheck the \"Check system"
elog "configuration\" option in the \"Misc\" settings window."
echo

local group=cdrom
use kernel_linux || group=operator
elog "Make sure you have proper read/write permissions on the cdrom device(s)."
elog "Usually, it is sufficient to be in the ${group} group."
echo
}

metadata.xml




kde
media-optical