Date: Friday, August 2, 2013 @ 00:31:55 Author: alucryd Revision: 94971
FS#36369: clementine 1.1.1-9 Modified: clementine/trunk/PKGBUILD clementine/trunk/clementine.install --------------------+ PKGBUILD | 56 ++++++++++++++++++++++++++++++--------------------- clementine.install | 8 ++++--- 2 files changed, 39 insertions(+), 25 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-08-01 22:29:31 UTC (rev 94970) +++ PKGBUILD 2013-08-01 22:31:55 UTC (rev 94971) @@ -1,39 +1,51 @@ # $Id$ -#Maintainer: Stéphane Gaudreault <[email protected]> -#Contributor: BlackEagle <[email protected]> -#Contributor: Dany Martineau <[email protected]> +# Maintainer: Maxime Gauduin <[email protected]> +# Contributor: Stéphane Gaudreault <[email protected]> +# Contributor: BlackEagle <[email protected]> +# Contributor: Dany Martineau <[email protected]> pkgname=clementine pkgver=1.1.1 -pkgrel=8 +pkgrel=9 pkgdesc="A music player and library organizer" url="http://www.clementine-player.org/" license=('GPL') arch=('i686' 'x86_64') -depends=('gstreamer0.10-base' 'taglib' 'glew' 'liblastfm' 'libgpod' 'projectm' - 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt4' 'libimobiledevice' 'chromaprint' - 'sparsehash' 'qjson' 'libcdio-paranoia' 'protobuf' 'qca' 'qca-ossl' 'gvfs') -makedepends=('cmake' 'boost' 'mesa') -optdepends=('gstreamer0.10-base-plugins: for more open formats' - 'gstreamer0.10-good-plugins: for use with "Good" plugin libraries' - 'gstreamer0.10-bad-plugins: for use with "Bad" plugin libraries' - 'gstreamer0.10-ugly-plugins: for use with "Ugly" plugin libraries') -source=(http://clementine-player.googlecode.com/files/${pkgname}-${pkgver}.tar.gz +depends=('chromaprint' 'gstreamer0.10-base' 'libcdio' 'libgpod' 'liblastfm' 'libmtp' 'projectm' 'protobuf' 'qca-ossl' 'qjson' 'taglib') +makedepends=('cmake' 'boost' 'mesa' 'sparsehash') +optdepends=('gstreamer0.10-base-plugins: "Base" plugin libraries' + 'gstreamer0.10-good-plugins: "Good" plugin libraries' + 'gstreamer0.10-bad-plugins: "Bad" plugin libraries' + 'gstreamer0.10-ugly-plugins: "Ugly" plugin libraries' + 'gvfs: Various devices support') +install=clementine.install +source=("http://clementine-player.googlecode.com/files/${pkgname}-${pkgver}.tar.gz" 'clementine-1.1.1-libimobiledevice-fix.patch') -install=clementine.install +md5sums=('28e4afb822388bd337a761db8f86febf' + '736df6cd828a3172701f63c8dc978cb9') +prepare() { + cd ${pkgname}-${pkgver} + + patch -Np1 -i ../clementine-1.1.1-libimobiledevice-fix.patch +} + build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} - patch -Np1 < "$srcdir"/clementine-1.1.1-libimobiledevice-fix.patch + if [[ -d build ]]; then + rm -rf build + fi + mkdir build && cd build - cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_PROJECTM=1 -DBUILD_WERROR=0 - make + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_PROJECTM=1 -DBUILD_WERROR=0 + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + cd ${pkgname}-${pkgver}/build + + make DESTDIR="${pkgdir}" install } -md5sums=('28e4afb822388bd337a761db8f86febf' - '736df6cd828a3172701f63c8dc978cb9') + +# vim: ts=2 sw=2 et: Modified: clementine.install =================================================================== --- clementine.install 2013-08-01 22:29:31 UTC (rev 94970) +++ clementine.install 2013-08-01 22:31:55 UTC (rev 94971) @@ -1,13 +1,15 @@ post_install() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + gtk-update-icon-cache -ftq usr/share/icons/hicolor update-desktop-database -q } post_upgrade() { - post_install $1 + post_install } post_remove() { - post_install $1 + post_install } + +# vim: ts=2 sw=2 et:
