summaryrefslogtreecommitdiff
path: root/libre/clementine-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-11 16:50:28 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-11 16:50:28 -0300
commit936a8361b0e95e978bb957e5226e739999b22625 (patch)
treefff2c23078b516945c54cc9fd12afec66263365c /libre/clementine-libre
parent5e67439bffdfc3fed5aa26efd95f736d0f6cfe90 (diff)
clementine-libre-1.1.1-8: libimobiledevice rebuild
Diffstat (limited to 'libre/clementine-libre')
-rw-r--r--libre/clementine-libre/PKGBUILD19
-rw-r--r--libre/clementine-libre/clementine-1.1.1-libimobiledevice-fix.patch12
2 files changed, 23 insertions, 8 deletions
diff --git a/libre/clementine-libre/PKGBUILD b/libre/clementine-libre/PKGBUILD
index d7ef13b69..0daf90aec 100644
--- a/libre/clementine-libre/PKGBUILD
+++ b/libre/clementine-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: PKGBUILD 90335 2013-05-11 16:04:01Z tomegun $
#Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
#Contributor: BlackEagle <ike.devolder@gmail.com>
#Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
@@ -9,15 +9,15 @@
_pkgname=clementine
pkgname=clementine-libre
pkgver=1.1.1
-pkgrel=7
+pkgrel=8
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' 'projectm'
- 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt4' 'libimobiledevice'
+ 'libmtp' 'libplist' 'hicolor-icon-theme' 'qt4' 'libimobiledevice' 'chromaprint'
'sparsehash' 'qjson' 'libcdio-paranoia' 'protobuf' 'qca' 'qca-ossl' 'gvfs')
-makedepends=('cmake' 'boost' 'mesa-libgl')
+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-libre-plugins: for use with "Bad" plugin libraries'
@@ -26,14 +26,15 @@ replaces=('clementine')
conflicts=('clementine')
provides=("clementine=$pkgver")
source=(http://clementine-player.googlecode.com/files/${_pkgname}-${pkgver}.tar.gz
- remove-and-disable-spotify.patch)
-sha1sums=('f8d3e9c8f54ac488323ab5a629c9accbe256378e'
- '4d336b6a42100a268e4d905b9596453f396fb649')
+ 'clementine-1.1.1-libimobiledevice-fix.patch'
+ 'remove-and-disable-spotify.patch')
install=clementine.install
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
+ patch -Np1 < "$srcdir"/clementine-1.1.1-libimobiledevice-fix.patch
+
# Remove nonfree spotify references on files
patch -Np1 -i ../remove-and-disable-spotify.patch
@@ -49,7 +50,7 @@ build() {
# Create a blank file due that is a dependency for clementine
touch data/schema/schema-30.sql
- cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_PROJECTM=1
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_PROJECTM=1 -DBUILD_WERROR=0
make
}
@@ -57,3 +58,5 @@ package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
+md5sums=('28e4afb822388bd337a761db8f86febf'
+ '736df6cd828a3172701f63c8dc978cb9')
diff --git a/libre/clementine-libre/clementine-1.1.1-libimobiledevice-fix.patch b/libre/clementine-libre/clementine-1.1.1-libimobiledevice-fix.patch
new file mode 100644
index 000000000..da7722fcb
--- /dev/null
+++ b/libre/clementine-libre/clementine-1.1.1-libimobiledevice-fix.patch
@@ -0,0 +1,12 @@
+diff -up clementine-1.1.1/src/devices/imobiledeviceconnection.h.fix clementine-1.1.1/src/devices/imobiledeviceconnection.h
+--- clementine-1.1.1/src/devices/imobiledeviceconnection.h.fix 2013-04-23 14:44:56.932661018 -0400
++++ clementine-1.1.1/src/devices/imobiledeviceconnection.h 2013-04-23 14:46:44.033657190 -0400
+@@ -51,7 +51,7 @@ private:
+ idevice_t device_;
+ afc_client_t afc_;
+
+- uint16_t afc_port_;
++ lockdownd_service_descriptor_t afc_port_;
+ };
+
+ #endif // IMOBILEDEVICECONNECTION_H