Add ebuild for app-cdr/k3b-1.69.0_alpha4.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 15 Jan 2010 19:45:51 +0000 (20:45 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 15 Jan 2010 19:45:51 +0000 (20:45 +0100)
app-cdr/k3b/Manifest
app-cdr/k3b/files/k3b-1.69.0-conditional-inclusion.patch [new file with mode: 0644]
app-cdr/k3b/k3b-1.69.0_alpha4.ebuild [new file with mode: 0644]

index f0d9d81..3e9f35a 100644 (file)
@@ -4,6 +4,9 @@ AUX k3b-1.0.5-ffmpeg-0.4.9_p20080326-API.patch 2991 RMD160 8d0204a12cfe1eabe03e6
 AUX k3b-1.0.5-ffmpeg-0.4.9_p20081014-API.patch 1049 RMD160 022fecbc707775adc782b828bfdd571eccb95936 SHA1 270f19b05ce7ca35aee0dd7009556fec9b66f90c SHA256 e99f6b309e6c20d085860c495c2aa9d34d6d69a864e0be11aac01e0b3a6ac67d
 AUX k3b-1.0.5-libmpcdecsv7.patch 1452 RMD160 a471ea325226e5ced0c84d6a9ea1f27dcbc21e17 SHA1 6f09c5a943416d1652f6a5ffa7bb99d3ee576dba SHA256 7c9061027d7c49f637d768b4a45039f0a653895929e35c16ea04a5da936f75a7
 AUX k3b-1.0.5-transcode-1.1.patch 1097 RMD160 08fcc3769803a400bc5d00be223b9f37fdc7e7d0 SHA1 68547f4e312dc30c6440bed126a4408716b78e13 SHA256 8317afcf5e26dd5195065f2eb3b062e41804c46afe9d3c906012dee6249290f4
+AUX k3b-1.69.0-conditional-inclusion.patch 552 RMD160 cc85df123d9e2af656de152c3607268347453dd6 SHA1 429b80a9ec77903b102a5e63e080d1d2cf2317a3 SHA256 8614eba740ecacd3b5089f8bf181a94af23e8f00966f686410f4f9df4726093a
 DIST k3b-1.0.5.tar.bz2 5113060 RMD160 b562746015cc2e4226652402725b4e69eb846822 SHA1 c45d6f2a36b1bc7ea14101d444149c40fd4b700e SHA256 d4f9799f234ade98b7e417d1493de3bd4a44fd937e813c2beb29eba02cda50df
+DIST k3b-1.69.0alpha4.tar.bz2 3937927 RMD160 7481c27a2576f5532b0d4a1b47e5256b287e2b6d SHA1 f835f5fb3736ea3c7680ad4e6a07c76835a59c60 SHA256 f98c4cd81d9dd4a7c1c774f6a2a76892aef2a1043562184a319c354d1958095a
 DIST k3b-i18n-1.0.5.tar.bz2 7732137 RMD160 6f08c6851da5d25ed4b2ead4ad0c4073ba94e246 SHA1 8697c0f0a9fa458895519a5d94c50120333a71c8 SHA256 068b170cd63c97263d21165b7b5106a8176f2499a1ebcec9baa68b7628395767
 EBUILD k3b-1.0.5-r6.ebuild 3929 RMD160 17bdff4f45d7516a40846359bcbc258827eec1d5 SHA1 8a90169f4129e22acbbe7ff1310d79b3d139e377 SHA256 11c497807f4085b437dd732487003bc42cfa71238f05c0440282b3d5b39c0184
+EBUILD k3b-1.69.0_alpha4.ebuild 2926 RMD160 7653447b329d08fbf79217e33fd16db271d3436a SHA1 2475943bc85e4ffafc8990aadd2df8fbf8cc31e1 SHA256 60ebef4d857db30fd55b3507b0072d2371bbfe8078cb863271e35ff5e481dcd6
diff --git a/app-cdr/k3b/files/k3b-1.69.0-conditional-inclusion.patch b/app-cdr/k3b/files/k3b-1.69.0-conditional-inclusion.patch
new file mode 100644 (file)
index 0000000..63495d0
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nur k3b-1.69.0-orig/src/rip/k3bpatternparser.cpp k3b-1.69.0/src/rip/k3bpatternparser.cpp
+--- k3b-1.69.0-orig/src/rip/k3bpatternparser.cpp       2009-03-12 12:49:54.000000000 +0100
++++ k3b-1.69.0/src/rip/k3bpatternparser.cpp    2010-01-15 20:30:41.000000000 +0100
+@@ -204,7 +204,7 @@
+     QString inclusion;
+     bool isIncluded;
+-    static QRegExp conditionrx( "^[@|!][atyegrmx](?:='.*')?\\{" );
++    static QRegExp conditionrx( "^[@|!][atyegrmxcC](?:='.*')?\\{" );
+     conditionrx.setMinimal( true );
+     for( int i = 0; i < dir.length(); ++i ) {
diff --git a/app-cdr/k3b/k3b-1.69.0_alpha4.ebuild b/app-cdr/k3b/k3b-1.69.0_alpha4.ebuild
new file mode 100644 (file)
index 0000000..5b7078d
--- /dev/null
@@ -0,0 +1,98 @@
+# 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.69.0_alpha4.ebuild,v 1.3 2009/12/29 19:29:54 fauli Exp $
+
+EAPI=2
+WEBKIT_REQUIRED=always
+
+inherit kde4-base
+
+DESCRIPTION="The CD/DVD Kreator for KDE"
+HOMEPAGE="http://www.k3b.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE="debug dvd emovix encode ffmpeg flac mad lame musicbrainz sndfile sox taglib vcd vorbis +wav"
+
+DEPEND=">=kde-base/libkcddb-${KDE_MINIMAL}
+       media-libs/libsamplerate
+       >=x11-libs/qt-gui-4.5
+       dvd? ( media-libs/libdvdread )
+       ffmpeg? ( >=media-video/ffmpeg-0.5 )
+       flac? ( >=media-libs/flac-1.2[cxx] )
+       encode? ( lame? ( media-sound/lame ) )
+       mad? ( media-libs/libmad )
+       musicbrainz? ( media-libs/musicbrainz:1 )
+       sndfile? ( media-libs/libsndfile )
+       taglib? ( >=media-libs/taglib-1.5 )
+       vorbis? ( media-libs/libvorbis )"
+RDEPEND="${DEPEND}
+       sys-apps/hal
+       app-cdr/cdrdao
+       media-sound/cdparanoia
+       virtual/cdrtools
+       dvd? ( >=app-cdr/dvd+rw-tools-7
+               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/_*}
+
+PATCHES=(
+       "${FILESDIR}/${P/_*}-conditional-inclusion.patch"
+)
+
+src_prepare() {
+       kde4-base_src_prepare
+}
+
+src_configure() {
+       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)
+               -DK3B_BUILD_MUSE_DECODER_PLUGIN=OFF
+               $(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)
+               -DWITH_PolkitQt=OFF"
+
+       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
+}