================================ k3b:source=1.70.0_beta1-1 cvc rdiff k3b -1 /weasel.rpath.org@wgl:3-devel/1.70.0_beta1-1 ================================ 1.70.0_beta1-1 Filip Brcic (brcha@xxxxxxxxxxxx) Tue Jun 15 07:54:32 2010 k3b 1.70.0 beta1 k3b-1.70.0beta1.tar.bz2: new k3b.recipe: new --- /dev/null +++ k3b.recipe @@ -0,0 +62 @@ +# +# Copyright (c) 2010 Weasel GNU/Linux [Filip Brcic (brcha@xxxxxxxxxxxx)] +# Distributed under the terms of the GNU General Public License v3 +# + +loadSuperClass('kdecorepackage') +class K3b(kdeCorePackageRecipe): + name = 'k3b' + version = '1.70.0_beta1' + + buildRequires = [ + 'libkcddb:devel', 'libsamplerate:devel', 'qt4:devel', + 'qt4-gui:devellib', 'libdvdread:devel', 'ffmpeg:devel', + 'flac:devel', 'lame:devel', 'libmad:devel', + 'musepack-tools:devel', 'musicbrainz:devel', + 'libsndfile:devel', 'taglib:devel', 'libvorbis:devel', + 'libXi:devel', 'libXt:devel', + ] + runtimeRequires = [ + 'libsamplerate:runtime', 'libdvdread:runtime', + 'ffmpeg:runtime', 'flac:runtime', 'lame:runtime', + 'musepack-tools:runtime', 'libsndfile:runtime', + 'taglib:runtime', 'hal:runtime', 'cdrdao:runtime', + 'cdparanoia:runtime', 'cdrtools:runtime', + 'dvd+rw-tools:runtime', 'transcode:runtime', 'sox:runtime', + 'vcdimager:runtime', + ] + buildRequires.extend(runtimeRequires) + + shortDesc = 'The CD/DVD Kreator for KDE' + url = 'http://www.k3b.org/' + licenses = [ 'GPL-2', 'FDL-1.2' ] + categories = [ 'Applications/CDR' ] + + def unpack(r): + r.macros.archive_version = r.version.replace('_', '') + r.addArchive('mirror://sourceforge/%(name)s/') + + r.cmakeArgs += ( + ' -DK3B_BUILD_K3BSETUP=OFF' + + r.use('K3B_DEBUG', False) + + r.use('K3B_ENABLE_MUSICBRAINZ') + + r.use('K3B_ENABLE_DVD_RIPPING') + + r.use('K3B_ENABLE_TAGLIB') + + ' -DK3B_BUILD_API_DOCS=OFF' + + r.use('K3B_BUILD_FFMPEG_DECODER_PLUGIN') + + r.use('K3B_BUILD_OGGVORBIS_DECODER_PLUGIN') + + r.use('K3B_BUILD_MAD_DECODER_PLUGIN') + + r.use('K3B_BUILD_MUSE_DECODER_PLUGIN') + + r.use('K3B_BUILD_FLAC_DECODER_PLUGIN') + + r.use('K3B_BUILD_SNDFILE_DECODER_PLUGIN') + + r.use('K3B_BUILD_WAVE_DECODER_PLUGIN') + + r.use('K3B_BUILD_EXTERNAL_ENCODER_PLUGIN') + + ' -DWITH_PolkitQt=OFF' + + r.use('K3B_BUILD_OGGVORBIS_ENCODER_PLUGIN') + + r.use('K3B_BUILD_LAME_ENCODER_PLUGIN') + + r.use('K3B_BUILD_SOX_ENCODER_PLUGIN') + ) + + def policy(r): + for req in r.runtimeRequires: + r.Requires(req, '%(bindir)s/') Committed by: brcha