blob: 1ed128e11d63b3d073138985562fc8e18b46e8da (
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
68
69
70
71
72
73
74
75
76
77
|
# Maintainer Adria Arrufat <swiftscythe@gmail.com>
# Contributor Limao Luo <luolimao+AUR@gmail.com>
# Contributor Thomas Dziedzic <gostrc@gmail.com>
# Contributor Jan de Groot <jgc@archlinux.org>
# Contributor Giovanni Scafora <giovanni@archlinux.org>
_pkgname=rhythmbox
pkgname=$_pkgname-git
pkgver=3.4.3+106+g4859c2d5e
pkgrel=1
pkgdesc="Music playback and management application"
arch=(i686 x86_64)
license=(GPL)
url="https://wiki.gnome.org/Apps/Rhythmbox"
depends=(dconf gst-plugins-base gst-plugins-good libsoup json-glib libnotify libpeas
media-player-info totem-plparser tdb python-gobject libgudev grilo)
makedepends=(itstool intltool brasero gobject-introspection vala grilo libdmapsharing lirc libgpod
libmtp gtk-doc yelp-tools git)
checkdepends=(check xorg-server-xvfb)
optdepends=('gst-plugins-ugly: Extra media codecs'
'gst-plugins-bad: Extra media codecs'
'gst-libav: Extra media codecs'
'brasero: Audio CD Recorder plugin'
'libdmapsharing: DAAP Music Sharing plugin'
'grilo-plugins: Grilo media browser plugin'
'lirc: LIRC plugin'
'libgpod: Portable Players - iPod plugin'
'libmtp: Portable Players - MTP plugin'
'gvfs-mtp: Portable Players - Android plugin')
options=('!emptydirs')
provides=($_pkgname=$pkgver)
conflicts=($_pkgname)
source=($pkgname::git+https://gitlab.gnome.org/GNOME/$_pkgname)
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
cd "$srcdir/$pkgname"
git submodule init
git config libgd.url "${srcdir}/libgd"
git config libglnx.url "${srcdir}/lbglnx"
git submodule update
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/rhythmbox \
--disable-browser-plugin \
--disable-static \
--disable-more-warnings \
--enable-daap \
--enable-gtk-doc \
--enable-python \
--enable-vala \
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
rm -r "$pkgdir/usr/lib/rhythmbox/sample-plugins"
rm -r "$pkgdir/usr/lib/rhythmbox/plugins/rbzeitgeist"
}
|