From 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 27 Dec 2013 23:55:53 +0000 Subject: Fri Dec 27 23:54:04 UTC 2013 --- community/kid3/PKGBUILD | 62 ++++++++++++++++++++++++++++++------------- community/kid3/kid3.changelog | 6 +++++ 2 files changed, 49 insertions(+), 19 deletions(-) (limited to 'community/kid3') diff --git a/community/kid3/PKGBUILD b/community/kid3/PKGBUILD index 35e3044fe..8e4efa056 100644 --- a/community/kid3/PKGBUILD +++ b/community/kid3/PKGBUILD @@ -1,40 +1,64 @@ -# $Id: PKGBUILD 100349 2013-11-02 14:50:28Z jlichtblau $ +# $Id: PKGBUILD 101955 2013-12-02 22:15:37Z jlichtblau $ # Maintainer: Jaroslav Lichtblau # Contributor: Alois Nespor -pkgname=kid3 -pkgver=3.0.1 -pkgrel=1 -pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor for KDE" +pkgbase=kid3 +pkgname=('kid3' 'kid3-qt') +pkgver=3.0.2 +pkgrel=2 arch=('i686' 'x86_64') url="http://kid3.sourceforge.net/" license=('GPL') -depends=('chromaprint' 'id3lib' 'taglib' 'kdebase-runtime') -makedepends=('automoc4' 'cmake' 'docbook-xml' 'docbook-xsl') -options=('!makeflags') -install=$pkgname.install -changelog=$pkgname.changelog -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) -sha256sums=('ebbae8b277c14083f87d49bcde5a86295c1874c4004fc5db2d5764ff53f15d59') +makedepends=('automoc4' 'cmake' 'docbook-xml' 'docbook-xsl' 'phonon-qt4' 'chromaprint' 'id3lib' 'taglib' 'libmp4v2' 'kdebase-runtime') +install=$pkgbase.install +changelog=$pkgbase.changelog +source=(http://downloads.sourceforge.net/$pkgbase/$pkgbase-$pkgver.tar.gz) +sha256sums=('31492e01039e78d2e73ba342a2d2c837395597eb48a101366b160c36fcdcfab4') build() { - cd ${pkgname}-${pkgver} - cd ${srcdir} + [[ ! -d build ]] && mkdir build + mkdir build-qt - mkdir build +#kid3 cd build cmake \ - ../${pkgname}-${pkgver} \ + ../${pkgbase}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release + -DWITH_APPS="CLI;KDE" + + make + +#kid3-qt + cd $srcdir/build-qt + + cmake \ + ../${pkgbase}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_APPS="CLI;Qt" make } -package() { - cd build +package_kid3() { +pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor, KDE version" +depends=('chromaprint' 'id3lib' 'taglib' 'libmp4v2' 'kdebase-runtime') +conflicts=('kid3-qt') + + cd $srcdir/build + + make DESTDIR=${pkgdir} install +} + +package_kid3-qt() { +pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor, QT version" +depends=('chromaprint' 'id3lib' 'taglib' 'libmp4v2' 'qt4') +conflicts=('kid3') +provides=('kid3') + + cd $srcdir/build-qt make DESTDIR=${pkgdir} install } diff --git a/community/kid3/kid3.changelog b/community/kid3/kid3.changelog index 270612022..d71b20678 100644 --- a/community/kid3/kid3.changelog +++ b/community/kid3/kid3.changelog @@ -1,3 +1,9 @@ +2013-12-02 Jaroslav Lichtblau + * kid3 3.0.2-2 FS#37642 fixed, package split + +2013-12-02 Jaroslav Lichtblau + * kid3 3.0.2-1 + 2013-11-02 Jaroslav Lichtblau * kid3 3.0.1-1 -- cgit v1.2.3-54-g00ecf