Date: Saturday, December 16, 2017 @ 09:44:12 Author: arojas Revision: 274556
archrelease: copy trunk to community-x86_64 Added: cantata/repos/community-x86_64/PKGBUILD (from rev 274555, cantata/trunk/PKGBUILD) Deleted: cantata/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 79 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 42 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-12-16 09:43:46 UTC (rev 274555) +++ PKGBUILD 2017-12-16 09:44:12 UTC (rev 274556) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Federico Cinelli <cine...@aur.archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Mcder3 <mcder3[at]gmail[dot]com> -# Contributor: MisterFred <mister.fred[at]free[dot]fr> - -pkgname=cantata -pkgver=2.2.0 -pkgrel=1 -pkgdesc='Qt5 client for the music player daemon (MPD)' -arch=(i686 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") -sha256sums=('c84691eb17711118d3c512d70cb422267f7a137290082cdd1ff0a871b4a8e5c0') - -prepare() { - mkdir -p build -} - -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 -} Copied: cantata/repos/community-x86_64/PKGBUILD (from rev 274555, cantata/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-12-16 09:44:12 UTC (rev 274556) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Federico Cinelli <cine...@aur.archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Mcder3 <mcder3[at]gmail[dot]com> +# Contributor: MisterFred <mister.fred[at]free[dot]fr> + +pkgname=cantata +pkgver=2.2.0 +pkgrel=2 +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 +}