diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-28 15:09:19 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-28 15:09:19 -0300 |
commit | 4fe36dd9ca7bb29b54a474f815b2fd1adea7ed92 (patch) | |
tree | 836ceac4acc0e56413bfd19b2fb3701a9ae472d5 /libre/clementine-libre/PKGBUILD | |
parent | 3af7137b696f82b068f176503450805b69022052 (diff) |
clementine-libre: new libre package for Parabola
Diffstat (limited to 'libre/clementine-libre/PKGBUILD')
-rw-r--r-- | libre/clementine-libre/PKGBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/libre/clementine-libre/PKGBUILD b/libre/clementine-libre/PKGBUILD new file mode 100644 index 000000000..89201cf74 --- /dev/null +++ b/libre/clementine-libre/PKGBUILD @@ -0,0 +1,56 @@ +# $Id$ +#Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +#Contributor: BlackEagle <ike.devolder@gmail.com> +#Contributor: Dany Martineau <dany.luc.martineau@gmail.com> +#Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy> +#Contributor (Parabola): Kete <kete@ninthfloor.org> + +_pkgname=clementine +pkgname=clementine-libre +pkgver=1.0.1 +pkgrel=3 +pkgdesc="A music player and library organizer, without spotify support" +url="http://www.clementine-player.org/" +license=('GPL') +arch=('i686' 'x86_64') +depends=('gstreamer0.10-base' 'taglib' 'glew' 'liblastfm' 'libgpod' + 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt' 'libimobiledevice' + 'qjson' 'libcdio' 'protobuf' 'qca' 'qca-ossl') +makedepends=('cmake' 'boost') +optdepends=('gstreamer0.10-base-plugins: for more open formats' + 'gstreamer0.10-good-plugins: for use with "Good" plugin libraries' + 'gstreamer0.10-bad-libre-plugins: for use with "Bad" plugin libraries' + 'gstreamer0.10-ugly-plugins: for use with "Ugly" plugin libraries') +replaces=('clementine') +conflicts=('clementine') +provides=("clementine=$pkgver") +source=(http://clementine-player.googlecode.com/files/${_pkgname}-${pkgver}.tar.gz + clementine-fix-albumcoverfetch-crash.patch + clementine-fresh-start.patch + disable-spotify.patch) +sha1sums=('e05320da689e2fad744fd3e68518bc4103ecf0fd' + 'fddd2e784181ce1dcc7809e7122cbade0af7b01f' + 'd8abab4b8fb2d5284a2f43107505325e62d4af5f' + 'ae796afc31bbd97c03513496cee335cb2601dca4') +install=clementine.install + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + # https://bugs.gentoo.org/401713?id=401713 + patch -Np1 -i ../clementine-fresh-start.patch + + # http://code.google.com/p/clementine-player/issues/detail?id=2752 + patch -Np1 -i ../clementine-fix-albumcoverfetch-crash.patch + + # https://labs.parabola.nu/issues/99 + patch -Np1 -i ../disable-spotify.patch + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_REMOTE=ON + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |