[arch-commits] Commit in cantata/repos (6 files)

Antonio Rojas arojas at archlinux.org
Mon Feb 15 23:52:50 UTC 2016


    Date: Tuesday, February 16, 2016 @ 00:52:50
  Author: arojas
Revision: 161721

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  cantata/repos/community-staging-i686/
  cantata/repos/community-staging-i686/PKGBUILD
    (from rev 161720, cantata/trunk/PKGBUILD)
  cantata/repos/community-staging-i686/cantata.install
    (from rev 161720, cantata/trunk/cantata.install)
  cantata/repos/community-staging-x86_64/
  cantata/repos/community-staging-x86_64/PKGBUILD
    (from rev 161720, cantata/trunk/PKGBUILD)
  cantata/repos/community-staging-x86_64/cantata.install
    (from rev 161720, cantata/trunk/cantata.install)

------------------------------------------+
 community-staging-i686/PKGBUILD          |   41 +++++++++++++++++++++++++++++
 community-staging-i686/cantata.install   |   12 ++++++++
 community-staging-x86_64/PKGBUILD        |   41 +++++++++++++++++++++++++++++
 community-staging-x86_64/cantata.install |   12 ++++++++
 4 files changed, 106 insertions(+)

Copied: cantata/repos/community-staging-i686/PKGBUILD (from rev 161720, cantata/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-02-15 23:52:50 UTC (rev 161721)
@@ -0,0 +1,41 @@
+# $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.0.0
+pkgrel=3
+pkgdesc='Qt5 client for the music player daemon (MPD)'
+arch=(i686 x86_64)
+url='https://code.google.com/p/cantata/'
+license=(GPL)
+depends=(qt5-svg libmtp libcddb libmusicbrainz5 mpg123 vlc taglib-extras cdparanoia media-player-info udisks2)
+optdepends=('perl-uri: dynamic playlist' 'mpd: playback' 'ffmpeg: ReplayGain support')
+makedepends=(cmake qt5-tools ffmpeg)
+install=$pkgname.install
+source=("https://github.com/CDrummond/cantata/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
+md5sums=('dc7a65145692c5b2cac4c2c8a7c767c5')
+
+prepare() {
+  mkdir -p build
+
+# Fix build against ffmpeg 3.0
+  sed -e '/audioconvert.h/d' -i $pkgname-$pkgver/replaygain/ffmpeginput.cpp
+}
+
+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-staging-i686/cantata.install (from rev 161720, cantata/trunk/cantata.install)
===================================================================
--- community-staging-i686/cantata.install	                        (rev 0)
+++ community-staging-i686/cantata.install	2016-02-15 23:52:50 UTC (rev 161721)
@@ -0,0 +1,12 @@
+post_install() {
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Copied: cantata/repos/community-staging-x86_64/PKGBUILD (from rev 161720, cantata/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-02-15 23:52:50 UTC (rev 161721)
@@ -0,0 +1,41 @@
+# $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.0.0
+pkgrel=3
+pkgdesc='Qt5 client for the music player daemon (MPD)'
+arch=(i686 x86_64)
+url='https://code.google.com/p/cantata/'
+license=(GPL)
+depends=(qt5-svg libmtp libcddb libmusicbrainz5 mpg123 vlc taglib-extras cdparanoia media-player-info udisks2)
+optdepends=('perl-uri: dynamic playlist' 'mpd: playback' 'ffmpeg: ReplayGain support')
+makedepends=(cmake qt5-tools ffmpeg)
+install=$pkgname.install
+source=("https://github.com/CDrummond/cantata/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
+md5sums=('dc7a65145692c5b2cac4c2c8a7c767c5')
+
+prepare() {
+  mkdir -p build
+
+# Fix build against ffmpeg 3.0
+  sed -e '/audioconvert.h/d' -i $pkgname-$pkgver/replaygain/ffmpeginput.cpp
+}
+
+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-staging-x86_64/cantata.install (from rev 161720, cantata/trunk/cantata.install)
===================================================================
--- community-staging-x86_64/cantata.install	                        (rev 0)
+++ community-staging-x86_64/cantata.install	2016-02-15 23:52:50 UTC (rev 161721)
@@ -0,0 +1,12 @@
+post_install() {
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}



More information about the arch-commits mailing list