From 4fe36dd9ca7bb29b54a474f815b2fd1adea7ed92 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 28 May 2012 15:09:19 -0300 Subject: clementine-libre: new libre package for Parabola --- libre/clementine-libre/PKGBUILD | 56 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 libre/clementine-libre/PKGBUILD (limited to 'libre/clementine-libre/PKGBUILD') 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 +#Contributor: BlackEagle +#Contributor: Dany Martineau +#Maintainer (Parabola): André Silva +#Contributor (Parabola): Kete + +_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 +} -- cgit v1.2.3