summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2006-04-29 12:11:01 +0000
committerCarsten Lohrke <carlo@gentoo.org>2006-04-29 12:11:01 +0000
commit0b8a27211d4e55aa27bda69c91fedf76a0e97b7a (patch)
tree8e9ce4a72335a995cbd9e1118bbb559a114c0517 /app-cdr/k3b
parentppc stable, bug #124860 (diff)
downloadgentoo-2-0b8a27211d4e55aa27bda69c91fedf76a0e97b7a.tar.gz
gentoo-2-0b8a27211d4e55aa27bda69c91fedf76a0e97b7a.tar.bz2
gentoo-2-0b8a27211d4e55aa27bda69c91fedf76a0e97b7a.zip
Clean up.
(Portage version: 2203-svn)
Diffstat (limited to 'app-cdr/k3b')
-rw-r--r--app-cdr/k3b/ChangeLog6
-rw-r--r--app-cdr/k3b/files/digest-k3b-0.12.116
-rw-r--r--app-cdr/k3b/files/digest-k3b-0.12.126
-rw-r--r--app-cdr/k3b/files/digest-k3b-0.12.136
-rw-r--r--app-cdr/k3b/files/digest-k3b-0.12.86
-rw-r--r--app-cdr/k3b/k3b-0.12.11.ebuild133
-rw-r--r--app-cdr/k3b/k3b-0.12.12.ebuild133
-rw-r--r--app-cdr/k3b/k3b-0.12.13.ebuild132
-rw-r--r--app-cdr/k3b/k3b-0.12.8.ebuild132
9 files changed, 5 insertions, 555 deletions
diff --git a/app-cdr/k3b/ChangeLog b/app-cdr/k3b/ChangeLog
index 7301f516d831..4175d97a30e6 100644
--- a/app-cdr/k3b/ChangeLog
+++ b/app-cdr/k3b/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-cdr/k3b
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.150 2006/04/27 13:06:38 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.151 2006/04/29 12:11:01 carlo Exp $
+
+ 29 Apr 2006; Carsten Lohrke <carlo@gentoo.org> -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 <marienz@gentoo.org> files/digest-k3b-0.12.8,
files/digest-k3b-0.12.11, files/digest-k3b-0.12.12,
diff --git a/app-cdr/k3b/files/digest-k3b-0.12.11 b/app-cdr/k3b/files/digest-k3b-0.12.11
deleted file mode 100644
index a4d778514a8f..000000000000
--- a/app-cdr/k3b/files/digest-k3b-0.12.11
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 17fd99200517d794b206228e3f87c528 k3b-0.12.11.tar.bz2 4088788
-RMD160 067e4dfa120830724105f971e7b5c637fd699ffd k3b-0.12.11.tar.bz2 4088788
-SHA256 3085b58ccfce4dcabd114e56ba9d17779fda48df2d1f6f0a8514eed8a31e596f k3b-0.12.11.tar.bz2 4088788
-MD5 ea8fbd1a3419f97ba52d45660d3ba29e k3b-i18n-0.12.11.tar.bz2 4619266
-RMD160 af6b404c99d6a55d406e35a6d99ca4fd69a51159 k3b-i18n-0.12.11.tar.bz2 4619266
-SHA256 f48320e84f45e7dbc006205c3c094a44997029471e89a8a4d2b11fbbdcc0f8e1 k3b-i18n-0.12.11.tar.bz2 4619266
diff --git a/app-cdr/k3b/files/digest-k3b-0.12.12 b/app-cdr/k3b/files/digest-k3b-0.12.12
deleted file mode 100644
index d32653cf056c..000000000000
--- a/app-cdr/k3b/files/digest-k3b-0.12.12
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 75257fa05bfc5504a07d12959cdc6342 k3b-0.12.12.tar.bz2 4094707
-RMD160 73cd9d1b6a8f6f2bcbaff4720d3c69f73f52ebf3 k3b-0.12.12.tar.bz2 4094707
-SHA256 14a2f167bfddc4f627b30f0725dff6518699112bebc5156df98dfd32b49797c1 k3b-0.12.12.tar.bz2 4094707
-MD5 32029e9a4fdf599a18591d8ac980c299 k3b-i18n-0.12.12.tar.bz2 4664025
-RMD160 024877434ab5c8534b987ccff56678d64b470e45 k3b-i18n-0.12.12.tar.bz2 4664025
-SHA256 03f588f73534a3be3d9d85459ede8c0ed1160e61a39d9eeb708091f26c341d1e k3b-i18n-0.12.12.tar.bz2 4664025
diff --git a/app-cdr/k3b/files/digest-k3b-0.12.13 b/app-cdr/k3b/files/digest-k3b-0.12.13
deleted file mode 100644
index 8e8da72b6343..000000000000
--- a/app-cdr/k3b/files/digest-k3b-0.12.13
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 3926e7e0b3fa912ae8db92c0b8609bb4 k3b-0.12.13.tar.bz2 4096028
-RMD160 216561b5b2308a5d8183331cbafdeec66fb35b1a k3b-0.12.13.tar.bz2 4096028
-SHA256 11af807f85f0639107a38abcace7db47e1b45e99c1b31a0c31a11ae4f430d18c k3b-0.12.13.tar.bz2 4096028
-MD5 bb72c9f5feb66bee12298596ce9bc0f9 k3b-i18n-0.12.13.tar.bz2 4744141
-RMD160 40418f37cec4608a333f3c3c2f1513d4ae4a88b4 k3b-i18n-0.12.13.tar.bz2 4744141
-SHA256 7bd6830ab2b2060898144514cf4cfdb690b2985867ad5c7be91b63888d74acef k3b-i18n-0.12.13.tar.bz2 4744141
diff --git a/app-cdr/k3b/files/digest-k3b-0.12.8 b/app-cdr/k3b/files/digest-k3b-0.12.8
deleted file mode 100644
index 5ec782dfcc4e..000000000000
--- a/app-cdr/k3b/files/digest-k3b-0.12.8
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 dff0c2075266e6ad5d3c4ad99bcf8a54 k3b-0.12.8.tar.bz2 3772647
-RMD160 2b15b92f8729b5e9587c4dcc18276fa1df3275d7 k3b-0.12.8.tar.bz2 3772647
-SHA256 0f33cb8d56e69f01b5d5413309c362e4a6bb5df6f75d36fbdf946506726a6fed k3b-0.12.8.tar.bz2 3772647
-MD5 eea7b0026cc1c34c4ca4bdd09d0eda0d k3b-i18n-0.12.8.tar.bz2 4266600
-RMD160 e43564cee14e83035927e1c90d700b2035a7a095 k3b-i18n-0.12.8.tar.bz2 4266600
-SHA256 ecc1be9bfaad5c71da2d297d87d740cc8d9fd3cc2dcdd0a9622ab970dd8d57c4 k3b-i18n-0.12.8.tar.bz2 4266600
diff --git a/app-cdr/k3b/k3b-0.12.11.ebuild b/app-cdr/k3b/k3b-0.12.11.ebuild
deleted file mode 100644
index 30d4a4b96302..000000000000
--- a/app-cdr/k3b/k3b-0.12.11.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.12.11.ebuild,v 1.1 2006/02/11 17:04:34 carlo 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? ( sys-apps/dbus sys-apps/hal )
- media-libs/libsamplerate
- media-libs/taglib
- >=media-sound/cdparanoia-3.9.8
- sndfile? ( media-libs/libsndfile )
- ffmpeg? ( media-video/ffmpeg )
- flac? ( media-libs/flac )
- mp3? ( media-libs/libmad )
- musepack? ( media-libs/libmpcdec )
- vorbis? ( media-libs/libvorbis )
- musicbrainz? ( media-libs/musicbrainz )
- 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 br bs ca cs cy da de el en_GB es et fr ga he hi hu is it lt mk nb nl nn pa pl pt pt_BR ro ru se sl sr sr@Latn sv ta tr uk zh_CN"
-
-
-for X in ${LANGS}; do
- SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
-done
-
-pkg_setup() {
- if use hal && ! built_with_use sys-apps/dbus qt; then
- eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
- eerror "but sys-apps/dbus is not built with Qt support."
- die
- fi
-
- kde_pkg_setup
-}
-
-src_unpack() {
- kde_src_unpack
-
- local MAKE_LANGS
- for X in ${LANGS}; do
- use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}"
- done
-
- if [ -d "${WORKDIR}/${I18N}" ]; then
- cd "${WORKDIR}/${I18N}"
- sed -i -e "s,^SUBDIRS = .*,SUBDIRS = ${MAKE_LANGS}," Makefile.in
- fi
-}
-
-src_compile() {
- local myconf="--enable-libsuffix= \
- --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
- local _S=${S}
- if [ -d "${WORKDIR}/${I18N}" ]; then
- S="${WORKDIR}/${I18N}"
- cd "${S}"
- kde_src_compile
- fi
- S=${_S}
-}
-
-src_install() {
- kde_src_install
- dodoc FAQ KNOWNBUGS PERMISSIONS
-
- local _S=${S}
- if [ -d "${WORKDIR}/${I18N}" ]; then
- S="${WORKDIR}/${I18N}"
- cd "${S}"
- kde_src_install
- fi
- S=${_S}
-
- # 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
- einfo "Make sure you have proper read/write permissions on the cdrom device(s)."
- einfo "Usually, it is sufficient to be in the cdrom group."
- echo
-}
diff --git a/app-cdr/k3b/k3b-0.12.12.ebuild b/app-cdr/k3b/k3b-0.12.12.ebuild
deleted file mode 100644
index ac336515843c..000000000000
--- a/app-cdr/k3b/k3b-0.12.12.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.12.12.ebuild,v 1.1 2006/02/15 15:50:40 carlo 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? ( sys-apps/dbus sys-apps/hal )
- media-libs/libsamplerate
- media-libs/taglib
- >=media-sound/cdparanoia-3.9.8
- sndfile? ( media-libs/libsndfile )
- ffmpeg? ( media-video/ffmpeg )
- flac? ( media-libs/flac )
- mp3? ( media-libs/libmad )
- musepack? ( media-libs/libmpcdec )
- vorbis? ( media-libs/libvorbis )
- musicbrainz? ( media-libs/musicbrainz )
- 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 br bs ca cs cy da de el en_GB es et fr ga he hi hu is it lt mk nb nl nn pa pl pt pt_BR ro ru se sl sr sr@Latn sv ta tr uk zh_CN"
-
-
-for X in ${LANGS}; do
- SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
-done
-
-pkg_setup() {
- if use hal && ! built_with_use sys-apps/dbus qt; then
- eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
- eerror "but sys-apps/dbus is not built with Qt support."
- die
- fi
-
- kde_pkg_setup
-}
-
-src_unpack() {
- kde_src_unpack
-
- local MAKE_LANGS
- for X in ${LANGS}; do
- use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}"
- done
-
- if [ -d "${WORKDIR}/${I18N}" ]; then
- cd "${WORKDIR}/${I18N}"
- sed -i -e "s,^SUBDIRS = .*,SUBDIRS = ${MAKE_LANGS}," Makefile.in
- fi
-}
-
-src_compile() {
- local myconf="--enable-libsuffix= \
- --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
- local _S=${S}
- if [ -d "${WORKDIR}/${I18N}" ]; then
- S="${WORKDIR}/${I18N}"
- cd "${S}"
- kde_src_compile
- fi
- S=${_S}
-}
-
-src_install() {
- kde_src_install
- dodoc FAQ KNOWNBUGS PERMISSIONS
-
- local _S=${S}
- if [ -d "${WORKDIR}/${I18N}" ]; then
- S="${WORKDIR}/${I18N}"
- cd "${S}"
- kde_src_install
- fi
- S=${_S}
-
- # 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
- einfo "Make sure you have proper read/write permissions on the cdrom device(s)."
- einfo "Usually, it is sufficient to be in the cdrom group."
- echo
-}
diff --git a/app-cdr/k3b/k3b-0.12.13.ebuild b/app-cdr/k3b/k3b-0.12.13.ebuild
deleted file mode 100644
index 860e9326baf7..000000000000
--- a/app-cdr/k3b/k3b-0.12.13.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.12.13.ebuild,v 1.1 2006/03/03 17:22:56 carlo 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? ( sys-apps/dbus sys-apps/hal )
- media-libs/libsamplerate
- media-libs/taglib
- >=media-sound/cdparanoia-3.9.8
- sndfile? ( media-libs/libsndfile )
- ffmpeg? ( media-video/ffmpeg )
- flac? ( media-libs/flac )
- mp3? ( media-libs/libmad )
- musepack? ( media-libs/libmpcdec )
- vorbis? ( media-libs/libvorbis )
- musicbrainz? ( media-libs/musicbrainz )
- 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 br bs ca cs cy da de el en_GB es et eu fr ga he hi hu is it ja lt mk nb nl nn pa pl pt pt_BR ro ru se sl sr sr@Latn sv ta tr uk zh_CN"
-
-for X in ${LANGS}; do
- SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
-done
-
-pkg_setup() {
- if use hal && ! built_with_use sys-apps/dbus qt; then
- eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
- eerror "but sys-apps/dbus is not built with Qt support."
- die
- fi
-
- kde_pkg_setup
-}
-
-src_unpack() {
- kde_src_unpack
-
- local MAKE_LANGS
- for X in ${LANGS}; do
- use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}"
- done
-
- if [ -d "${WORKDIR}/${I18N}" ]; then
- cd "${WORKDIR}/${I18N}"
- sed -i -e "s,^SUBDIRS = .*,SUBDIRS = ${MAKE_LANGS}," Makefile.in
- fi
-}
-
-src_compile() {
- local myconf="--enable-libsuffix= \
- --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
- local _S=${S}
- if [ -d "${WORKDIR}/${I18N}" ]; then
- S="${WORKDIR}/${I18N}"
- cd "${S}"
- kde_src_compile
- fi
- S=${_S}
-}
-
-src_install() {
- kde_src_install
- dodoc FAQ KNOWNBUGS PERMISSIONS
-
- local _S=${S}
- if [ -d "${WORKDIR}/${I18N}" ]; then
- S="${WORKDIR}/${I18N}"
- cd "${S}"
- kde_src_install
- fi
- S=${_S}
-
- # 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
- einfo "Make sure you have proper read/write permissions on the cdrom device(s)."
- einfo "Usually, it is sufficient to be in the cdrom group."
- echo
-}
diff --git a/app-cdr/k3b/k3b-0.12.8.ebuild b/app-cdr/k3b/k3b-0.12.8.ebuild
deleted file mode 100644
index 62c67553f899..000000000000
--- a/app-cdr/k3b/k3b-0.12.8.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.12.8.ebuild,v 1.4 2005/12/24 08:55:32 dertobi123 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 ~sparc x86"
-IUSE="css dvdr encode ffmpeg flac hal kde mp3 musepack musicbrainz sndfile vcd vorbis"
-
-DEPEND="kde? ( || ( kde-base/kdesu kde-base/kdebase ) )
- hal? ( sys-apps/dbus sys-apps/hal )
- media-libs/libsamplerate
- media-libs/taglib
- >=media-sound/cdparanoia-3.9.8
- sndfile? ( media-libs/libsndfile )
- ffmpeg? ( media-video/ffmpeg )
- flac? ( media-libs/flac )
- mp3? ( media-libs/libmad )
- musepack? ( media-libs/libmpcdec )
- vorbis? ( media-libs/libvorbis )
- musicbrainz? ( media-libs/musicbrainz )
- encode? ( media-sound/lame )"
-
-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.3
-
-I18N="${PN}-i18n-${PV}"
-
-# Supported languages and translated documentation for 0.12.8
-LANGS="bg br bs ca cs cy da de el en_GB es et fr ga \
- hi hu is it lt mk nb nl nn pa pl pt pt_BR ro \
- ru sl sr sr@Latn sv ta tr uk zh_CN"
-
-for X in ${LANGS}; do
- SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/k3b/${I18N}.tar.bz2 )"
-done
-
-pkg_setup() {
- if use hal && ! built_with_use sys-apps/dbus qt; then
- eerror "You are trying to compile ${CATEGORY}/${PF} with the \"hal\" USE flag enabled,"
- eerror "but sys-apps/dbus is not built with Qt support."
- die
- fi
-
- kde_pkg_setup
-}
-
-src_unpack() {
- kde_src_unpack
-
- local MAKE_LANGS
- for X in ${LANGS}; do
- use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}"
- done
-
- if [ -d "${WORKDIR}/${I18N}" ]; then
- cd "${WORKDIR}/${I18N}"
- sed -i -e "s,^SUBDIRS = .*,SUBDIRS = ${MAKE_LANGS}," Makefile.in
- fi
-}
-
-src_compile() {
- local myconf="--enable-libsuffix= \
- --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)"
-
- # Build process of K3b
- kde_src_compile
-
- # Build process of K3b-i18n
- local _S=${S}
- if [ -d "${WORKDIR}/${I18N}" ]; then
- S="${WORKDIR}/${I18N}"
- cd "${S}"
- kde_src_compile
- fi
- S=${_S}
-}
-
-src_install() {
- kde_src_install
- dodoc FAQ KNOWNBUGS PERMISSIONS
-
- local _S=${S}
- if [ -d "${WORKDIR}/${I18N}" ]; then
- S="${WORKDIR}/${I18N}"
- cd "${S}"
- kde_src_install
- fi
- S=${_S}
-
- # 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
- einfo "Make sure you have proper read/write permissions on the cdrom device(s)."
- einfo "Usually, it is sufficient to be in the cdrom group."
- echo
-}