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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sun Jul 14 19:56:39 UTC 2013


    Date: Sunday, July 14, 2013 @ 21:56:39
  Author: bpiotrowski
Revision: 94134

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 94133, cantata/trunk/PKGBUILD)
  cantata/repos/community-staging-i686/cantata.install
    (from rev 94133, cantata/trunk/cantata.install)
  cantata/repos/community-staging-x86_64/
  cantata/repos/community-staging-x86_64/PKGBUILD
    (from rev 94133, cantata/trunk/PKGBUILD)
  cantata/repos/community-staging-x86_64/cantata.install
    (from rev 94133, 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 94133, cantata/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-07-14 19:56:39 UTC (rev 94134)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:  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=1.0.3
+pkgdesc="A KDE client for the music player daemon (MPD)"
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://kde-apps.org/content/show.php/Cantata?content=147733"
+license=('GPL')
+depends=('kdebase-runtime' 'taglib-extras' 'mpg123' 'libmtp' 'libcddb' 'libmusicbrainz5')
+makedepends=('cmake' 'automoc4')
+install="$pkgname.install"
+source=("http://cantata.googlecode.com/files/$pkgname-$pkgver.tar.bz2")
+md5sums=('fd942d25127a7936efaf1fe887d66189')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i 's/AVCODEC_MAX_AUDIO_FRAME_SIZE/192000/' replaygain/ffmpeginput.cpp
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  mkdir build
+
+  cmake . \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DENABLE_PHONON=ON
+
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  
+  make DESTDIR="$pkgdir" PREFIX="/usr" install
+}

Copied: cantata/repos/community-staging-i686/cantata.install (from rev 94133, cantata/trunk/cantata.install)
===================================================================
--- community-staging-i686/cantata.install	                        (rev 0)
+++ community-staging-i686/cantata.install	2013-07-14 19:56:39 UTC (rev 94134)
@@ -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 94133, cantata/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-07-14 19:56:39 UTC (rev 94134)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:  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=1.0.3
+pkgdesc="A KDE client for the music player daemon (MPD)"
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://kde-apps.org/content/show.php/Cantata?content=147733"
+license=('GPL')
+depends=('kdebase-runtime' 'taglib-extras' 'mpg123' 'libmtp' 'libcddb' 'libmusicbrainz5')
+makedepends=('cmake' 'automoc4')
+install="$pkgname.install"
+source=("http://cantata.googlecode.com/files/$pkgname-$pkgver.tar.bz2")
+md5sums=('fd942d25127a7936efaf1fe887d66189')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i 's/AVCODEC_MAX_AUDIO_FRAME_SIZE/192000/' replaygain/ffmpeginput.cpp
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  mkdir build
+
+  cmake . \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DENABLE_PHONON=ON
+
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  
+  make DESTDIR="$pkgdir" PREFIX="/usr" install
+}

Copied: cantata/repos/community-staging-x86_64/cantata.install (from rev 94133, cantata/trunk/cantata.install)
===================================================================
--- community-staging-x86_64/cantata.install	                        (rev 0)
+++ community-staging-x86_64/cantata.install	2013-07-14 19:56:39 UTC (rev 94134)
@@ -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