summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/clementine/PKGBUILD (renamed from libre/clementine-libre/PKGBUILD)31
-rw-r--r--libre/clementine/clementine.install (renamed from libre/clementine-libre/clementine.install)0
-rw-r--r--libre/clementine/moognu.png (renamed from libre/clementine-libre/moognu.png)bin610 -> 610 bytes
-rw-r--r--libre/clementine/remove-nonfree-artwork-and-spotify.patch (renamed from libre/clementine-libre/remove-nonfree-artwork-and-spotify.patch)0
-rw-r--r--libre/clementine/udisks-namespace.patch (renamed from libre/clementine-libre/udisks-namespace.patch)0
5 files changed, 15 insertions, 16 deletions
diff --git a/libre/clementine-libre/PKGBUILD b/libre/clementine/PKGBUILD
index f34f648cb..cfa05ad10 100644
--- a/libre/clementine-libre/PKGBUILD
+++ b/libre/clementine/PKGBUILD
@@ -7,17 +7,16 @@
# Contributor: Kete <kete@ninthfloor.org>
# Contributor: Márcio Silva <coadde@parabola.nu>
-_pkgname=clementine
-pkgname=clementine-libre
+pkgname=clementine
+_pkgname=$pkgname-libre
pkgver=1.2.3
-pkgrel=2
+pkgrel=2.parabola1
pkgdesc='A modern music player and library organizer, without nonfree artwork and Spotify support'
-url='http://www.clementine-player.org/'
+url="http://www.$pkgname-player.org/"
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
-replaces=('clementine')
-conflicts=('clementine')
-provides=("clementine=$pkgver")
+replaces=("$_pkgname")
+conflicts=("$_pkgname")
depends=('chromaprint' 'glew' 'gstreamer0.10-base' 'libcdio' 'libgpod' 'liblastfm' 'libmtp' 'libmygpo-qt' 'protobuf' 'qca-ossl' 'taglib')
makedepends=('cmake' 'boost' 'mesa' 'sparsehash')
optdepends=('gstreamer0.10-base-plugins: "Base" plugin libraries'
@@ -25,11 +24,11 @@ optdepends=('gstreamer0.10-base-plugins: "Base" plugin libraries'
'gstreamer0.10-bad-plugins: "Bad" plugin libraries'
'gstreamer0.10-ugly-plugins: "Ugly" plugin libraries'
'gvfs: Various devices support')
-install="${_pkgname}.install"
-mksource=("${_pkgname}-${pkgver}.tar.gz::https://github.com/clementine-player/Clementine/archive/${pkgver}.tar.gz"
+install="${pkgname}.install"
+mksource=("${pkgname}-${pkgver}.tar.gz::https://github.com/$pkgname-player/${pkgname^}/archive/${pkgver}.tar.gz"
'remove-nonfree-artwork-and-spotify.patch'
'moognu.png')
-source=("https://repo.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+source=("https://repo.parabolagnulinux.org/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
'udisks-namespace.patch')
mksha256sums=('7df5650445a005c09f5f0e1a1b0d077037c37ecbe4ee77baf9d45f121308a1bf'
'48bfbf42c84ac1891021638627c10780194fcc59eda1c69e157be3aebe8ee10b'
@@ -38,13 +37,13 @@ sha256sums=('c68275373b839b5b256b813b5bed85d501f94e12bef3dd8ed69e90094af3f769'
'a7c2764576cee303a57e4efe6a5dbd583a66de8a15aee738bd92d4bb21786008')
mksource() {
- cd Clementine-${pkgver}
+ cd ${pkgname^}-${pkgver}
# remove nonfree nonfree artwork and spotify references on files
patch -Np1 -i ../remove-nonfree-artwork-and-spotify.patch
# remove nonfree spotifyblob folders
- rm -rv ext/{clementine-spotifyblob,libclementine-spotifyblob}
+ rm -rv ext/{$pkgname-spotifyblob,lib${pkgname}-spotifyblob}
# remove nonfree spotify files
rm -v cmake/SpotifyVersion.cmake
@@ -60,17 +59,17 @@ mksource() {
install -m644 -v ../moognu.png data
# create a blank file due which is a dependency for clementine
- touch data/schema/schema-30.sql
+ touch data/schema/schema-30.sql
}
prepare() {
- cd Clementine-${pkgver}
+ cd ${_pkgname}-${pkgver}
patch -Np1 -i ../udisks-namespace.patch
}
build() {
- cd Clementine-${pkgver}
+ cd ${_pkgname}-${pkgver}
if [[ -d build ]]; then
rm -rf build
@@ -82,7 +81,7 @@ build() {
}
package() {
- cd Clementine-${pkgver}/build
+ cd ${_pkgname}-${pkgver}/build
make DESTDIR="${pkgdir}" install
}
diff --git a/libre/clementine-libre/clementine.install b/libre/clementine/clementine.install
index 927a10258..927a10258 100644
--- a/libre/clementine-libre/clementine.install
+++ b/libre/clementine/clementine.install
diff --git a/libre/clementine-libre/moognu.png b/libre/clementine/moognu.png
index 177041886..177041886 100644
--- a/libre/clementine-libre/moognu.png
+++ b/libre/clementine/moognu.png
Binary files differ
diff --git a/libre/clementine-libre/remove-nonfree-artwork-and-spotify.patch b/libre/clementine/remove-nonfree-artwork-and-spotify.patch
index 8c1b9aafd..8c1b9aafd 100644
--- a/libre/clementine-libre/remove-nonfree-artwork-and-spotify.patch
+++ b/libre/clementine/remove-nonfree-artwork-and-spotify.patch
diff --git a/libre/clementine-libre/udisks-namespace.patch b/libre/clementine/udisks-namespace.patch
index e74889e78..e74889e78 100644
--- a/libre/clementine-libre/udisks-namespace.patch
+++ b/libre/clementine/udisks-namespace.patch