From 7a6f18a463b2cc14db5673dae73468240f95d8c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 21 Aug 2010 01:42:24 +0200 Subject: [PATCH] Add ebuild for app-cdr/k3b-2.0.1. --- app-cdr/k3b/Manifest | 2 + app-cdr/k3b/k3b-2.0.1.ebuild | 95 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 app-cdr/k3b/k3b-2.0.1.ebuild diff --git a/app-cdr/k3b/Manifest b/app-cdr/k3b/Manifest index ee1324a..ff4c495 100644 --- a/app-cdr/k3b/Manifest +++ b/app-cdr/k3b/Manifest @@ -3,7 +3,9 @@ DIST k3b-1.69.0alpha4.tar.bz2 3937927 RMD160 7481c27a2576f5532b0d4a1b47e5256b287 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 +DIST k3b-2.0.1.tar.bz2 12269204 RMD160 8f85510c65a0da305b3a7c06ac0dd88e0631e66f SHA1 44da8d11b36945aeb9495c9150d8227fa906d6c2 SHA256 8631460e617833a1f907145271ae4e3224c53e391339f273d2bd340c451ccdb7 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 +EBUILD k3b-2.0.1.ebuild 3130 RMD160 c4a8cace7ea91a4985611d7aed86190d59378b96 SHA1 af739e3f1594804485c6f1d1201c1b3fd470aea5 SHA256 c6cf1a060ec33e7b53cb5aed2ac7b416bf13f4bdff7720452709a1cc067dfe8f diff --git a/app-cdr/k3b/k3b-2.0.1.ebuild b/app-cdr/k3b/k3b-2.0.1.ebuild new file mode 100644 index 0000000..793e2db --- /dev/null +++ b/app-cdr/k3b/k3b-2.0.1.ebuild @@ -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.1.ebuild,v 1.1 2010/08/18 13:41:29 scarabeus 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 +} -- 2.7.4