summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-09-25 15:45:39 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-09-25 15:45:39 +0000
commit16a13a23c95011f3350eff4662756a9cec5aa679 (patch)
tree9942a89aae10c25b43d9bb57d5ae1ac22cefcada /app-cdr
parentversion bump, bug #58344 (Manifest recommit) (diff)
downloadgentoo-2-16a13a23c95011f3350eff4662756a9cec5aa679.tar.gz
gentoo-2-16a13a23c95011f3350eff4662756a9cec5aa679.tar.bz2
gentoo-2-16a13a23c95011f3350eff4662756a9cec5aa679.zip
add patch to compile without arts, bug #61366
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/k3b/ChangeLog6
-rw-r--r--app-cdr/k3b/files/k3b-0.11.17-noarts.patch33
-rw-r--r--app-cdr/k3b/k3b-0.11.17.ebuild7
3 files changed, 44 insertions, 2 deletions
diff --git a/app-cdr/k3b/ChangeLog b/app-cdr/k3b/ChangeLog
index 2dfc6cff44a6..a4f5f1b5ce30 100644
--- a/app-cdr/k3b/ChangeLog
+++ b/app-cdr/k3b/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-cdr/k3b
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.74 2004/09/23 19:58:21 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.75 2004/09/25 15:45:39 lanius Exp $
+
+ 25 Sep 2004; Heinrich Wendel <lanius@gentoo.org>
+ +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)
diff --git a/app-cdr/k3b/files/k3b-0.11.17-noarts.patch b/app-cdr/k3b/files/k3b-0.11.17-noarts.patch
new file mode 100644
index 000000000000..ccb15bdd389a
--- /dev/null
+++ b/app-cdr/k3b/files/k3b-0.11.17-noarts.patch
@@ -0,0 +1,33 @@
+--- kdeextragear-1/k3b/configure.in.in 2004/03/16 14:07:22 1.49
++++ kdeextragear-1/k3b/configure.in.in 2004/07/12 19:47:47 1.50
+@@ -204,16 +204,22 @@ AC_SUBST(LIBSAMPLERATE)
+ AM_CONDITIONAL(compile_libsamplerate, [test -z "$LIBSAMPLERATE"])
+
+
+-dnl Find aRts
+ ARTS_LIBS=""
+-KDE_CHECK_HEADERS(arts/artsflow.h,
+- [KDE_CHECK_HEADERS(arts/kmedia2.h,
+- [arts_available=yes
+- ARTS_LIBS="-lartskde"],
+- [arts_available=no]
+- )]
+-)
++if test "$build_arts" == "yes"; then
++ dnl Find aRts
++ KDE_CHECK_HEADERS(arts/artsflow.h,
++ [KDE_CHECK_HEADERS(arts/kmedia2.h,
++ [arts_available=yes
++ ARTS_LIBS="-lartskde"],
++ [arts_available=no]
++ )]
++ )
++fi
+ AC_SUBST(ARTS_LIBS)
++AM_CONDITIONAL(include_arts, [test -n "$ARTS_LIBS"])
++if test "$build_arts" == "yes"; and test x$arts_available = xyes; then
++ AC_DEFINE(WITH_ARTS,1,[defined if arts support is compiled in])
++fi
+
+ KDE_CHECK_THREADING
+
diff --git a/app-cdr/k3b/k3b-0.11.17.ebuild b/app-cdr/k3b/k3b-0.11.17.ebuild
index ebd7eca5cb2d..3e0caa4d23c8 100644
--- a/app-cdr/k3b/k3b-0.11.17.ebuild
+++ b/app-cdr/k3b/k3b-0.11.17.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.11.17.ebuild,v 1.1 2004/09/23 19:58:21 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-0.11.17.ebuild,v 1.2 2004/09/25 15:45:39 lanius Exp $
inherit kde
@@ -52,6 +52,11 @@ if [ -n "$MAKE_PO" ] ; then
SRC_URI="${SRC_URI} mirror://sourceforge/k3b/${I18N}.tar.bz2"
fi
+src_unpack() {
+ kde_src_unpack
+ epatch ${FILESDIR}/${P}-noarts.patch
+}
+
src_compile() {
local _S=${S}
local myconf="--enable-libsuffix= $(use_with kde k3bsetup) $(use_with arts)"