diff options
author | Olivier Mauras <olivier@mauras.ch> | 2015-03-28 09:04:39 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-30 14:40:54 +0000 |
commit | 7ad4c81f2c15362682b4862c7748c1f393adce0c (patch) | |
tree | 3ec81d85f79e4b2441338d379b3fb1df3286dde0 /testing/cantata/APKBUILD | |
parent | c0c7cdfabf5dd73a2a87c46d7716609a95925fd9 (diff) | |
download | aports-7ad4c81f2c15362682b4862c7748c1f393adce0c.tar.bz2 aports-7ad4c81f2c15362682b4862c7748c1f393adce0c.tar.xz |
testing/cantata: New aport
https://code.google.com/p/cantata/
A Qt graphical client for MPD.
Diffstat (limited to 'testing/cantata/APKBUILD')
-rw-r--r-- | testing/cantata/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/cantata/APKBUILD b/testing/cantata/APKBUILD new file mode 100644 index 0000000000..71eebd37b1 --- /dev/null +++ b/testing/cantata/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Olivier Mauras <olivier@mauras.ch> +# Maintainer: +pkgname=cantata +pkgver=1.5.2 +pkgrel=0 +pkgdesc="Qt based graphical client for MPD" +url="https://code.google.com/p/cantata/" +arch="all" +license="GPLv3" +depends="" +depends_dev="qt-dev ffmpeg-dev taglib-dev mpg123-dev" +makedepends="cmake $depends_dev" +install="" +subpackages="" +source="$pkgname-$pkgver.tar.bz2::https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60LV9rM3RMQk85Z1E" + +_builddir=$srcdir/$pkgname-$pkgver +prepare() { + # Apply patches + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + mkdir build + cd build + cmake .. + make +} + +package() { + cd "$_builddir/build" + make DESTDIR="$pkgdir" install || return 1 + mv $pkgdir/usr/local/share/* $pkgdir/usr/share/ + rm -r $pkgdir/usr/local +} + +md5sums="0b29d30f1b03ecac23eb608309fbeaa1 cantata-1.5.2.tar.bz2" +sha256sums="4de985b74597c4c3936982437ea562711d08c37d318b61e04f5c07af55f52c5f cantata-1.5.2.tar.bz2" +sha512sums="84314758a936d5795a05cade68fe86df90c83b7fae78152bd60ae8b77d3cb71db6e37f0e30d49aba60b5205aea794729357051819d2d806e0a21701a1e0c78ab cantata-1.5.2.tar.bz2" + |