[arch-commits] Commit in cantata/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Wed Apr 2 21:02:09 UTC 2014
Date: Wednesday, April 2, 2014 @ 23:02:09
Author: bpiotrowski
Revision: 108759
upgpkg: cantata 1.3.3-1
- new upstream release
- switch to Qt5
Modified:
cantata/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-04-02 19:37:43 UTC (rev 108758)
+++ PKGBUILD 2014-04-02 21:02:09 UTC (rev 108759)
@@ -5,19 +5,20 @@
# Contributor: MisterFred <mister.fred[at]free[dot]fr>
pkgname=cantata
-pkgver=1.2.2
-pkgdesc="A KDE client for the music player daemon (MPD)"
+pkgver=1.3.3
pkgrel=1
+pkgdesc="Qt5 client for the music player daemon (MPD)"
arch=('i686' 'x86_64')
-url="http://kde-apps.org/content/show.php/Cantata?content=147733"
+url="https://code.google.com/p/cantata/"
license=('GPL')
-depends=('kdebase-runtime' 'libmtp' 'libcddb' 'libmusicbrainz5' 'mpg123' 'qjson' 'taglib-extras')
+depends=('qt5-multimedia' 'libmtp' 'libcddb' 'libmusicbrainz5' 'mpg123'
+ 'taglib-extras' 'hicolor-icon-theme')
optdepends=('perl-uri: dynamic playlist'
- 'mpd: playback')
-makedepends=('cmake' 'automoc4')
+ 'mpd: playback')
+makedepends=('cmake' 'qt5-tools' 'qt5-svg')
install="$pkgname.install"
-source=("http://cantata.googlecode.com/files/$pkgname-$pkgver.tar.bz2")
-sha1sums=('89d84736ba4a43be7dc892af6fcbad5957075e19')
+source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('67053cfde9eb5c821483acc9c4961e36')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -26,7 +27,8 @@
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
- -DENABLE_HTTP_STREAM_PLAYBACK=ON
+ -DENABLE_HTTP_STREAM_PLAYBACK=ON \
+ -DENABLE_KDE=OFF -DENABLE_QT5=ON
make
}
@@ -33,6 +35,6 @@
package() {
cd "$srcdir/$pkgname-$pkgver"
-
+
make DESTDIR="$pkgdir" PREFIX="/usr" install
}
More information about the arch-commits
mailing list