[arch-commits] Commit in gnome-music/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 14:05:12 UTC 2016
Date: Tuesday, September 27, 2016 @ 14:05:12
Author: heftig
Revision: 277044
3.22.0+1+gdb01ed9-1
Modified:
gnome-music/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 13:57:04 UTC (rev 277043)
+++ PKGBUILD 2016-09-27 14:05:12 UTC (rev 277044)
@@ -2,7 +2,7 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=gnome-music
-pkgver=3.20.2
+pkgver=3.22.0+1+gdb01ed9
pkgrel=1
pkgdesc="Music player and management application"
url="https://wiki.gnome.org/Apps/Music"
@@ -11,17 +11,28 @@
depends=(grilo grilo-plugins tracker libdmapsharing python-dbus dbus-glib
gnome-themes-standard gtk3 gvfs python-gobject python-cairo
gst-plugins-base python-requests)
-makedepends=(intltool itstool gobject-introspection)
+makedepends=(intltool itstool gobject-introspection gnome-common git)
optdepends=('gst-plugins-good: Extra media codecs'
'gst-plugins-ugly: Extra media codecs'
'gst-plugins-bad: Extra media codecs'
'gst-libav: Extra media codecs')
groups=(gnome-extra)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('ca328bfd85ba8cb651e4e3c5d56499b111cb95b4f3e9b2e482cca7830213c7a0')
+_commit=db01ed9a229c7e563d8d0c503617edc73d6a95d2
+source=("git://git.gnome.org/gnome-music#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --disable-schemas-compile
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
@@ -28,6 +39,6 @@
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list