blob: e77a67e2d85bc3b8a329ae6e72b53c66513ade99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=pantheon-music-git
pkgver=r2949.5385ace5
pkgrel=1
pkgdesc='The Pantheon Music Player'
arch=('i686' 'x86_64')
url='https://github.com/elementary/music'
license=('GPL3')
depends=('cairo' 'gdk-pixbuf2' 'glib2' 'glibc' 'gst-plugins-base-libs'
'gstreamer' 'gtk3' 'json-glib' 'libaccounts-glib' 'libgda' 'libgee'
'libgpod' 'libgsignon-glib' 'libpeas' 'libsoup' 'pango' 'taglib'
'zeitgeist'
'libgranite.so')
makedepends=('cmake' 'git' 'gobject-introspection' 'granite-git' 'intltool'
'vala')
optdepends=('gst-plugins-base: "Base" plugin libraries'
'gst-plugins-good: "Good" plugin libraries'
'gst-plugins-bad: "Bad" plugin libraries'
'gst-plugins-ugly: "Ugly" plugin libraries'
'gst-libav: Libav plugin')
provides=('pantheon-music')
conflicts=('noise' 'noise-player' 'pantheon-music')
replaces=('noise-player-bzr')
source=('pantheon-music::git+https://github.com/elementary/music.git'
'mesa-demos-conflict.patch'
'noise-install-dirs.patch')
sha256sums=('SKIP'
'9135fe677b0d61778a624ba211b545eb861468b500cfd161469aa28139ab1296'
'd0ebc710a742d942e04a8df61d91dd75ae4b2aeafe7fece08f1fbc90c507f1df')
pkgver() {
cd pantheon-music
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
cd pantheon-music
patch -Np1 -i ../mesa-demos-conflict.patch
patch -Np1 -i ../noise-install-dirs.patch
if [[ -d build ]]; then
rm -rf build
fi
mkdir build
}
build() {
cd pantheon-music/build
cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR='/usr/lib' \
-DGSETTINGS_COMPILE='FALSE'
make -j1
}
package() {
cd pantheon-music/build
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et:
|