[arch-commits] Commit in cantata/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Thu Jan 11 18:20:37 UTC 2018
Date: Thursday, January 11, 2018 @ 18:20:35
Author: arojas
Revision: 281362
archrelease: copy trunk to community-staging-x86_64
Added:
cantata/repos/community-staging-x86_64/
cantata/repos/community-staging-x86_64/PKGBUILD
(from rev 281361, cantata/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: cantata/repos/community-staging-x86_64/PKGBUILD (from rev 281361, cantata/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-01-11 18:20:35 UTC (rev 281362)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Federico Cinelli <cinelli at aur.archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Mcder3 <mcder3[at]gmail[dot]com>
+# Contributor: MisterFred <mister.fred[at]free[dot]fr>
+
+pkgname=cantata
+pkgver=2.2.0
+pkgrel=3
+pkgdesc='Qt5 client for the music player daemon (MPD)'
+arch=(x86_64)
+url='https://github.com/CDrummond/cantata'
+license=(GPL)
+depends=(qt5-svg libmtp libmusicbrainz5 mpg123 vlc taglib-extras media-player-info libcdio-paranoia udisks2)
+optdepends=('perl-uri: dynamic playlist' 'mpd: playback' 'ffmpeg: ReplayGain support')
+makedepends=(cmake qt5-tools ffmpeg)
+source=("https://github.com/CDrummond/cantata/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"
+ cantata-qt5.10-crash.patch::"https://github.com/CDrummond/cantata/commit/4da7a912.patch")
+sha256sums=('c84691eb17711118d3c512d70cb422267f7a137290082cdd1ff0a871b4a8e5c0'
+ '13f7fc999333b28bc5dc07d8f50c16479c87e606045ef018cf3cc7dac7460305')
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$pkgver
+ patch -p1 -i ../cantata-qt5.10-crash.patch # Fix crash with Qt 5.10 https://github.com/CDrummond/cantata/issues/1130
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_TOUCH_SUPPORT=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list