summaryrefslogtreecommitdiff
path: root/community/kid3
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/kid3
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/kid3')
-rw-r--r--community/kid3/PKGBUILD62
-rw-r--r--community/kid3/kid3.changelog6
2 files changed, 49 insertions, 19 deletions
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 <dragonlord@aur.archlinux.org>
# Contributor: Alois Nespor <alois.nespor@gmail.com>
-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 <dragonlord@aur.archlinux.org>
+ * kid3 3.0.2-2 FS#37642 fixed, package split
+
+2013-12-02 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * kid3 3.0.2-1
+
2013-11-02 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* kid3 3.0.1-1