summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2003-11-11 13:39:29 +0000
committerCaleb Tennis <caleb@gentoo.org>2003-11-11 13:39:29 +0000
commit8145723e2e233b9861bdf69ed8406e4422536485 (patch)
tree47f3a228778cbd0e2b162f4f2ad138dc9c4c75ae /app-cdr
parentnew version, modified lingua support (diff)
downloadhistorical-8145723e2e233b9861bdf69ed8406e4422536485.tar.gz
historical-8145723e2e233b9861bdf69ed8406e4422536485.tar.bz2
historical-8145723e2e233b9861bdf69ed8406e4422536485.zip
new version, modified lingua support
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/k3b/Manifest4
-rw-r--r--app-cdr/k3b/files/digest-k3b-0.10.22
-rw-r--r--app-cdr/k3b/k3b-0.10.2.ebuild100
3 files changed, 104 insertions, 2 deletions
diff --git a/app-cdr/k3b/Manifest b/app-cdr/k3b/Manifest
index 73a5d95f48de..742fbe03840e 100644
--- a/app-cdr/k3b/Manifest
+++ b/app-cdr/k3b/Manifest
@@ -3,9 +3,9 @@ MD5 3a2ad6a2bdefe879915a652e31f36442 k3b-0.10.1.ebuild 2217
MD5 8a7c1216879b82cde9cbc9a59847c71c k3b-0.8.1-r1.ebuild 934
MD5 6e8d54565cd909e1c4369a6b43dfc615 k3b-0.10.ebuild 1357
MD5 76f2d6c12c58cabb56e236c70b0c5ddb k3b-0.9-r1.ebuild 1606
-MD5 aa55060654c5a4ec1d69758f72fbda1c ChangeLog 3955
+MD5 c95b8b7107aa6e57b721b6a2999f3171 ChangeLog 4088
MD5 1b6808bbd78c9161f8b7efb090d966f8 metadata.xml 162
-MD5 080de059a26fc1b0573a28896a46cec1 k3b-0.10.2.ebuild 2644
+MD5 5bc3c56d33c0d06512068019f90d540e k3b-0.10.2.ebuild 2644
MD5 43a105c8a3d881b6ab605196dff8fd70 files/k3b-0.10.1-include-limits.patch 362
MD5 c549a5d24aece143a2693361b98742c1 files/mp3decoder_fix.diff 731
MD5 4f97636cdaf97e2394166286641f5742 files/digest-k3b-0.8.1-r1 62
diff --git a/app-cdr/k3b/files/digest-k3b-0.10.2 b/app-cdr/k3b/files/digest-k3b-0.10.2
new file mode 100644
index 000000000000..d63eb5e5bd50
--- /dev/null
+++ b/app-cdr/k3b/files/digest-k3b-0.10.2
@@ -0,0 +1,2 @@
+MD5 23f3ec4f57c722a33811e267395e41f1 k3b-0.10.2.tar.gz 2547002
+MD5 a14fd760bb146eaee22802c504e53152 k3b-i18n-0.10.tar.gz 3241287
diff --git a/app-cdr/k3b/k3b-0.10.2.ebuild b/app-cdr/k3b/k3b-0.10.2.ebuild
new file mode 100644
index 000000000000..27ecd437e622
--- /dev/null
+++ b/app-cdr/k3b/k3b-0.10.2.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.10.2.ebuild,v 1.1 2003/11/11 13:39:25 caleb Exp $
+
+inherit kde
+need-kde 3.1
+
+DESCRIPTION="K3b, KDE CD Writing Software"
+HOMEPAGE="http://k3b.sourceforge.net/"
+SRC_URI="mirror://sourceforge/k3b/${P}.tar.gz"
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE="debug dvd oggvorbis mad dvdr"
+
+newdepend ">=sys-apps/portage-2.0.49-r8
+ >=media-sound/mpg123-0.59
+ >=media-sound/cdparanoia-3.9.8
+ >=media-libs/id3lib-3.8.0_pre2
+ mad? ( >=media-sound/mad-0.14.2b )
+ oggvorbis? ( media-libs/libvorbis )"
+
+RDEPEND="$RDEPEND sys-apps/eject
+ >=app-cdr/cdrtools-1.11
+ >=app-cdr/cdrdao-1.1.5
+ media-sound/normalize
+ dvdr? ( app-cdr/dvd+rw-tools )
+ dvd? ( media-video/transcode media-libs/xvid )"
+
+LANGS="af bg ca cs cy da de el en_GB eo es et fa fr he hu it
+ja nb nl nn pl pt pt_BR ru se sk sl sr sv tr ven xh zh_CN zh_TW"
+
+I18N=${PN}-i18n-${PV/10.2/10}
+
+for pkg in $LANGS
+do
+ SRC_URI="$SRC_URI linguas_${pkg}? (mirror://sourceforge/k3b/${I18N}.tar.gz)"
+done
+
+myconf="$myconf --enable-sso"
+[ `use debug` ] \
+ && myconf="$myconf --enable-debugging --enable-profiling" \
+ || myconf="$myconf --disable-debugging --disable-profiling"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_unpack() {
+ base_src_unpack unpack
+}
+
+src_compile() {
+ local _S=${S}
+ if ! [ -z $LINGUAS ]; then
+ echo "SUBDIRS = "${LINGUAS} > ${WORKDIR}/${I18N}/po/Makefile.am
+ fi
+
+ # Build process of K3B
+ S=${WORKDIR}/k3b-${PV}
+ kde_src_compile myconf
+ myconf="$myconf --prefix=$KDEDIR -C"
+ kde_src_compile configure
+ kde_src_compile make
+
+ # Build process for K3B-i18n
+ # I think running this in a for-loop is not necessary,
+ # because there should be only those two directories.
+ # If you find a better way for running aclocal and automake, do so... :)
+ S=${WORKDIR}/${I18N}
+ ebegin "Running aclocal and automake, fixes bug #32564..."
+ kde_src_compile myconf
+ aclocal
+ if [ "$?" == "0" ];
+ then WANT_AUTOMAKE=1.7 automake;
+ fi;
+ eend $?
+ myconf="$myconf --prefix=$KDEDIR -C"
+ kde_src_compile configure
+ kde_src_compile make
+
+ S=${_S}
+}
+
+src_install() {
+ local _S=${S}
+ for dir in `ls ${WORKDIR}`; do
+ cd ${WORKDIR}/$dir
+ make install DESTDIR=${D} destdir=${D}
+ done
+ S=${_S}
+}
+
+pkg_postinst()
+{
+ einfo "The k3b setup program will offer to change some permissions and"
+ einfo "create a user group. These changes are not necessary. We recommend"
+ einfo "that you clear the two check boxes that let k3b make changes for"
+ einfo "cdrecord and cdrdao and let k3b make changes for the devices when"
+ einfo "running k3b setup."
+}