summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-08-20 12:00:28 +0000
committerAlex Alexander <wired@gentoo.org>2009-08-20 12:00:28 +0000
commita6b8baf0c3fe6a34972b18201e33a9eb4b2f1b65 (patch)
tree8dbfdcffebf096c1ed930c068d2c179637538e90 /app-cdr/k3b
parentChange to eautoreconf in stable as well, bug 270752. (diff)
downloadgentoo-2-a6b8baf0c3fe6a34972b18201e33a9eb4b2f1b65.tar.gz
gentoo-2-a6b8baf0c3fe6a34972b18201e33a9eb4b2f1b65.tar.bz2
gentoo-2-a6b8baf0c3fe6a34972b18201e33a9eb4b2f1b65.zip
added k3b kde4 version
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr/k3b')
-rw-r--r--app-cdr/k3b/ChangeLog9
-rw-r--r--app-cdr/k3b/files/k3b-1.66.0_alpha2-fix-musepack-lib-detection.patch13
-rw-r--r--app-cdr/k3b/k3b-1.66.0_alpha2-r1.ebuild104
-rw-r--r--app-cdr/k3b/metadata.xml3
4 files changed, 127 insertions, 2 deletions
diff --git a/app-cdr/k3b/ChangeLog b/app-cdr/k3b/ChangeLog
index c42bfdb096a5..c66bacdf0236 100644
--- a/app-cdr/k3b/ChangeLog
+++ b/app-cdr/k3b/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-cdr/k3b
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.226 2009/08/16 09:59:50 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.227 2009/08/20 12:00:28 wired Exp $
+
+*k3b-1.66.0_alpha2-r1 (20 Aug 2009)
+
+ 20 Aug 2009; Alex Alexander <wired@gentoo.org>
+ +k3b-1.66.0_alpha2-r1.ebuild,
+ +files/k3b-1.66.0_alpha2-fix-musepack-lib-detection.patch, metadata.xml:
+ added kde4 version
16 Aug 2009; Christian Faulhammer <fauli@gentoo.org> k3b-1.0.5-r6.ebuild:
stable x86, bug 281598
diff --git a/app-cdr/k3b/files/k3b-1.66.0_alpha2-fix-musepack-lib-detection.patch b/app-cdr/k3b/files/k3b-1.66.0_alpha2-fix-musepack-lib-detection.patch
new file mode 100644
index 000000000000..ba10ae272501
--- /dev/null
+++ b/app-cdr/k3b/files/k3b-1.66.0_alpha2-fix-musepack-lib-detection.patch
@@ -0,0 +1,13 @@
+--- k3b-1.66.0.orig/cmake/modules/FindMuse.cmake
++++ k3b-1.66.0/cmake/modules/FindMuse.cmake
+@@ -20,8 +20,8 @@ FIND_PATH(MUSE_INCLUDE_DIR NAMES mpcdec/
+ )
+
+ if(MUSE_INCLUDE_DIR)
+- FIND_LIBRARY(MUSE_LIBRARIES NAMES mpcdec)
+- set(MPC_HEADER_FILE "<mpcdec/mpcdec.h>")
++ FIND_LIBRARY(MUSE_LIBRARIES NAMES mpcdecsv7 )
++ set(MPC_HEADER_FILE "<mpcdecsv7/mpcdec.h>")
+ else(MUSE_INCLUDE_DIR)
+ FIND_PATH(MUSE_INCLUDE_DIR NAMES musepack/musepack.h)
+ set(MPC_HEADER_FILE "<musepack/musepack.h>")
diff --git a/app-cdr/k3b/k3b-1.66.0_alpha2-r1.ebuild b/app-cdr/k3b/k3b-1.66.0_alpha2-r1.ebuild
new file mode 100644
index 000000000000..a46911919313
--- /dev/null
+++ b/app-cdr/k3b/k3b-1.66.0_alpha2-r1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-1.66.0_alpha2-r1.ebuild,v 1.1 2009/08/20 12:00:28 wired Exp $
+
+EAPI="2"
+
+WEBKIT_REQUIRED="always"
+inherit kde4-base
+
+MY_P="${P/_/}"
+DESCRIPTION="K3b, KDE CD Writing Software"
+HOMEPAGE="http://www.k3b.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug dvd emovix encode ffmpeg flac mad lame musicbrainz musepack sndfile sox taglib vorbis +wav"
+
+DEPEND="
+ >=kde-base/libkcddb-${KDE_MINIMAL}
+ media-libs/libsamplerate
+ >=x11-libs/qt-gui-4.5.0
+ dvd? ( media-libs/libdvdread )
+ ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080206 )
+ flac? ( >=media-libs/flac-1.2.1-r2[cxx] )
+ encode? (
+ lame? ( media-sound/lame )
+ )
+ mad? ( media-libs/libmad )
+ musepack? ( media-libs/libmpcdecsv7 )
+ musicbrainz? ( media-libs/musicbrainz:1 )
+ sndfile? ( media-libs/libsndfile )
+ taglib? ( >=media-libs/taglib-1.5 )
+ vorbis? ( media-libs/libvorbis )
+"
+RDEPEND="${DEPEND}
+ >=app-cdr/cdrdao-1.1.7-r3
+ >=media-sound/cdparanoia-3.9.8
+ virtual/cdrtools
+ dvd? (
+ >=app-cdr/dvd+rw-tools-7.0
+ encode? ( media-video/transcode[dvd] )
+ )
+ emovix? ( media-video/emovix )
+ encode? (
+ sox? ( media-sound/sox )
+ )
+ vcd? ( media-video/vcdimager )
+ !app-cdr/k3b:0
+ !app-cdr/k3b:2
+"
+
+DOCS="FAQ KNOWNBUGS PERMISSIONS"
+
+S="${WORKDIR}"/"${P/_*/}"
+
+# Fix musepack support, libmpcsv7 needed
+PATCHES=( "${FILESDIR}/${P}-fix-musepack-lib-detection.patch" )
+
+src_configure() {
+ # Common settings
+ mycmakeargs="${mycmakeargs}
+ -DK3B_BUILD_K3BSETUP=OFF
+ $(cmake-utils_use debug K3B_DEBUG)
+ $(cmake-utils_use musicbrainz K3B_ENABLE_MUSICBRAINZ)
+ $(cmake-utils_use dvd K3B_ENABLE_DVD_RIPPING)
+ $(cmake-utils_use taglib K3B_ENABLE_TAGLIB)
+ -DK3B_BUILD_API_DOCS=OFF
+ $(cmake-utils_use ffmpeg K3B_BUILD_FFMPEG_DECODER_PLUGIN)
+ $(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_DECODER_PLUGIN)
+ $(cmake-utils_use mad K3B_BUILD_MAD_DECODER_PLUGIN)
+ $(cmake-utils_use musepack K3B_BUILD_MUSE_DECODER_PLUGIN)
+ $(cmake-utils_use flac K3B_BUILD_FLAC_DECODER_PLUGIN)
+ $(cmake-utils_use sndfile K3B_BUILD_SNDFILE_DECODER_PLUGIN)
+ $(cmake-utils_use wav K3B_BUILD_WAVE_DECODER_PLUGIN)
+ $(cmake-utils_use encode K3B_BUILD_EXTERNAL_ENCODER_PLUGIN)"
+
+ # Encoder settings
+ if use encode; then
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_ENCODER_PLUGIN)
+ $(cmake-utils_use lame K3B_BUILD_LAME_ENCODER_PLUGIN)
+ $(cmake-utils_use sox K3B_BUILD_SOX_ENCODER_PLUGIN)"
+ fi
+
+ kde4-base_src_configure
+}
+
+pkg_postinst() {
+ kde4-base_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
+}
diff --git a/app-cdr/k3b/metadata.xml b/app-cdr/k3b/metadata.xml
index fd4a4b346b07..9ba1d923b790 100644
--- a/app-cdr/k3b/metadata.xml
+++ b/app-cdr/k3b/metadata.xml
@@ -4,6 +4,7 @@
<herd>kde</herd>
<herd>media-optical</herd>
<use>
- <flag name='emovix'>Enable burning support for eMoviX images</flag>
+ <flag name="emovix">Enable burning support for eMoviX images</flag>
+ <flag name="wav">Enable support for reading WAVE files</flag>
</use>
</pkgmetadata>