Add app-cdr/k3b-1.70.0_beta1.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 14 Feb 2010 14:35:06 +0000 (15:35 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 14 Feb 2010 14:35:06 +0000 (15:35 +0100)
app-cdr/k3b/Manifest
app-cdr/k3b/k3b-1.70.0_beta1.ebuild [new file with mode: 0644]

index 3e9f35a..6a4e6d6 100644 (file)
@@ -7,6 +7,9 @@ AUX k3b-1.0.5-transcode-1.1.patch 1097 RMD160 08fcc3769803a400bc5d00be223b9f37fd
 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-1.70.0beta1.tar.bz2 8613028 RMD160 0b2b3c20ab34ffa9cecb4ad44dc3a01c323c6867 SHA1 9d867f62ea0f165bb0010f68793fa1ea9083876f SHA256 6af2a862b527455bc6ad21149ea621c969147e0d491a25f53b404e85d7a5c333
 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
+EBUILD k3b-1.70.0_beta1.ebuild 2998 RMD160 0543601314268967cea00c57095bd8c85184078e SHA1 f41feea63a5421ea85ad4f9275580338c14b9f2d SHA256 a7965de6d67d51bf6d479fb5b3c2094fb0dcda4ff8e6d7a6460a36ebee42097b
+MISC k3b-1.70.0_beta1.ebuild.orig 2892 RMD160 3023984339ed79dac5be35e72db1be6e5dc10ddb SHA1 5c29188a202dd0e9373ec18de413d827a1a93920 SHA256 1e572126a7bc59ea99b7565ff746977a147b4023fd17cdbcb2e9cc79a6846029
diff --git a/app-cdr/k3b/k3b-1.70.0_beta1.ebuild b/app-cdr/k3b/k3b-1.70.0_beta1.ebuild
new file mode 100644 (file)
index 0000000..63f33a0
--- /dev/null
@@ -0,0 +1,94 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-1.70.0_beta1.ebuild,v 1.1 2010/02/01 09:31:35 ssuominen 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 FDL-1.2"
+SLOT="4"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug dvd emovix encode ffmpeg flac mad lame musepack musicbrainz sndfile sox taglib vcd vorbis +wav"
+
+DEPEND=">=kde-base/libkcddb-${KDE_MINIMAL}
+       media-libs/libsamplerate
+       >=x11-libs/qt-gui-4.5:4
+       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 )
+       musepack? ( >=media-sound/musepack-tools-444 )
+       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 )"
+
+DOCS="AUTHORS ChangeLog FAQ PERMISSIONS README RELEASE_HOWTO TODO"
+
+S=${WORKDIR}/${P/_*}
+
+PATCHES=(
+       "${FILESDIR}/${P/_*}-conditional-inclusion.patch"
+)
+
+src_prepare() {
+       kde4-base_src_prepare
+}
+
+src_configure() {
+       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)
+               "-DWITH_PolkitQt=OFF" )
+
+       if use encode; then
+               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
+}