Add ebuild for k3b-2.0.0.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 30 Jul 2010 15:42:32 +0000 (17:42 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 30 Jul 2010 15:42:32 +0000 (17:42 +0200)
app-cdr/k3b/Manifest
app-cdr/k3b/k3b-2.0.0.ebuild [new file with mode: 0644]

index b62c828..ee1324a 100644 (file)
@@ -2,6 +2,8 @@ AUX k3b-1.69.0-conditional-inclusion.patch 552 RMD160 cc85df123d9e2af656de152c36
 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-1.91.0rc2.tar.bz2 13754384 RMD160 ff9efedfe7dd1df5bbb1c54503fc06fb0f6e9564 SHA1 cefb48654ebcaffb856161a1f87e3f800835779f SHA256 463bcc0a6773f80d889f2191c3502935672e9ea2eede4fb1e8ef81d2824b3958
+DIST k3b-2.0.0.tar.bz2 12441752 RMD160 203f73fe2c57181e7cac6578ff57e4039459eb9c SHA1 afe1b10a520849941c1489ccb1ed7c3b8f828e78 SHA256 df71fcb97ac29344c43a819d39ae9fb96e874c6dc40e905a1788d632d327344b
 EBUILD k3b-1.69.0_alpha4.ebuild 2926 RMD160 7653447b329d08fbf79217e33fd16db271d3436a SHA1 2475943bc85e4ffafc8990aadd2df8fbf8cc31e1 SHA256 60ebef4d857db30fd55b3507b0072d2371bbfe8078cb863271e35ff5e481dcd6
 EBUILD k3b-1.70.0_beta1.ebuild 3004 RMD160 267ccef0d17e6354aeef60fd2144207a3e393f80 SHA1 16a3ceb58b5a07a7cdbf97b659f5c16b7d5c0b12 SHA256 9ea352fc284472f37d9313185e6b8aa58c1fa1f1d20949e1dad1d7fed14c8a67
 EBUILD k3b-1.91.0_rc2.ebuild 3199 RMD160 f2647265f9f2e8990536f8e9a7579b5701bf0037 SHA1 d400f0e9952bbc74ae923578cfb944f611206300 SHA256 ecf1799c98630c79a5fb12e1ad9975523a73e3726de68a48ac3e96223447ecab
+EBUILD k3b-2.0.0.ebuild 3130 RMD160 bdc2843cce48c1bfd9eba0e7aa350db5511467dd SHA1 80a09359dfc97dc51213f1c3e21780d31cdf5fd2 SHA256 81cd707e7fe3567b38aa9588731bccf9a4adf477e25824224f7fa3d6683ff3de
diff --git a/app-cdr/k3b/k3b-2.0.0.ebuild b/app-cdr/k3b/k3b-2.0.0.ebuild
new file mode 100644 (file)
index 0000000..4e4ba34
--- /dev/null
@@ -0,0 +1,95 @@
+# 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-2.0.0.ebuild,v 1.2 2010/07/22 18:05:01 phajdan.jr Exp $
+
+EAPI=2
+WEBKIT_REQUIRED=always
+KDE_LINGUAS="ast be bg ca ca@valencia cs csb da de el en_GB eo es et eu fi fr ga
+gl he hi hne hr hu is it ja km ko ku lt mai nb nds nl nn oc pa pl pt pt_BR ro ru
+se sk sl sv th tr uk zh_CN zh_TW"
+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
+       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="ChangeLog FAQ PERMISSIONS README RELEASE_HOWTO"
+
+S=${WORKDIR}/${P/_*}
+
+PATCHES=(
+       "${FILESDIR}/${PN}-1.69.0-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) )
+
+       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
+}