summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Goto2018-12-30 20:48:02 +0100
committerPhilip Goto2018-12-30 20:48:02 +0100
commit4747c79ee0e9480c6b5a7d29f2de74f0eddd404a (patch)
tree51e0b4678e0e1dc7a918c96a123713e3c4d03c23
parent7d05957972498909c49f28adc5132cd1abf1dd53 (diff)
downloadaur-4747c79ee0e9480c6b5a7d29f2de74f0eddd404a.tar.gz
Update to match repo version
-rw-r--r--.SRCINFO45
-rw-r--r--PKGBUILD67
-rw-r--r--gnome-music.install13
3 files changed, 65 insertions, 60 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7b1ba52dceb..58a0da7400f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,34 +1,37 @@
pkgbase = gnome-music-git
- pkgdesc = Music player and management application for GNOME
- pkgver = 3.17.4.r22.gfb9c664
+ pkgdesc = Music player and management application
+ pkgver = 3.31.1.r63.gd2587147
pkgrel = 1
url = https://wiki.gnome.org/Apps/Music
- install = gnome-music.install
- arch = i686
arch = x86_64
+ groups = gnome
license = GPL
- makedepends = git
- makedepends = intltool
makedepends = gobject-introspection
- makedepends = gnome-common
- depends = gtk3>=3.13.2
- depends = glib2
- depends = python-dbus
- depends = python-gobject
- depends = python-requests
- depends = tracker
+ makedepends = git
+ makedepends = meson
+ makedepends = yelp-tools
+ makedepends = appstream-glib
depends = grilo
- depends = libmediaart
depends = grilo-plugins
- depends = python-dbus-common
- depends = gupnp
- depends = gupnp-av
+ depends = tracker-miners
depends = libdmapsharing
- depends = gssdp
- depends = yelp-tools
- provides = gnome-music=3.17.4
+ depends = libmediaart
+ depends = gtk3
+ depends = gvfs
+ depends = python-gobject
+ depends = python-cairo
+ depends = gst-plugins-base
+ depends = python-requests
+ depends = libdazzle
+ optdepends = gst-plugins-good: Extra media codecs
+ optdepends = gst-plugins-ugly: Extra media codecs
+ optdepends = gst-plugins-bad: Extra media codecs
+ optdepends = gst-libav: Extra media codecs
+ provides = gnome-music
conflicts = gnome-music
- source = git://git.gnome.org/gnome-music
+ source = git+https://gitlab.gnome.org/GNOME/gnome-music.git
+ source = git+https://gitlab.gnome.org/GNOME/libgd.git
+ sha256sums = SKIP
sha256sums = SKIP
pkgname = gnome-music-git
diff --git a/PKGBUILD b/PKGBUILD
index e9aa1a13664..c1a74737cd2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,56 @@
-# Submitter: Yosef Or Boczko <yoseforb@gnome.org>
-# Maintainer: emersion <contact@emersion.fr>
+# Maintainer: Philip Goto <philip.goto@gmail.com>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+# Contributor: Yosef Or Boczko <yoseforb@gnome.org>
+# Contributor: emersion <contact@emersion.fr>
-_pkgname=gnome-music
-pkgname=$_pkgname-git
-pkgver=3.17.4.r22.gfb9c664
+pkgname=gnome-music-git
+pkgver=3.31.1.r63.gd2587147
pkgrel=1
-pkgdesc="Music player and management application for GNOME"
-arch=('i686' 'x86_64')
+pkgdesc="Music player and management application"
url="https://wiki.gnome.org/Apps/Music"
-license=('GPL')
-depends=('gtk3>=3.13.2' 'glib2' 'python-dbus' 'python-gobject' 'python-requests' 'tracker' 'grilo'
- 'libmediaart' 'grilo-plugins' 'python-dbus-common' 'gupnp' 'gupnp-av' 'libdmapsharing' 'gssdp'
- 'yelp-tools')
-makedepends=('git' 'intltool' 'gobject-introspection' 'gnome-common')
-provides=('gnome-music=3.17.4')
-conflicts=('gnome-music')
-install=gnome-music.install
-source=("git://git.gnome.org/gnome-music")
-sha256sums=('SKIP')
+arch=(x86_64)
+license=(GPL)
+depends=(grilo grilo-plugins tracker-miners libdmapsharing libmediaart gtk3 gvfs python-gobject
+ python-cairo gst-plugins-base python-requests libdazzle)
+makedepends=(gobject-introspection git meson yelp-tools appstream-glib)
+optdepends=('gst-plugins-good: Extra media codecs'
+ 'gst-plugins-ugly: Extra media codecs'
+ 'gst-plugins-bad: Extra media codecs'
+ 'gst-libav: Extra media codecs')
+conflicts=(gnome-music)
+provides=(gnome-music)
+groups=(gnome)
+source=("git+https://gitlab.gnome.org/GNOME/gnome-music.git"
+ "git+https://gitlab.gnome.org/GNOME/libgd.git")
+sha256sums=('SKIP'
+ 'SKIP')
pkgver() {
- cd "$srcdir/$_pkgname"
- git describe --always | sed -E 's/^MUSIC_//;s/_/./g;s/([^-]*-g)/r\1/;s|-|.|g'
+ cd gnome-music
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
- cd "$srcdir/$_pkgname"
- git clone git://git.gnome.org/libgd
+ cd gnome-music
+
+ git submodule init
+ git config --local submodule.subprojects/libgd.url "$srcdir/libgd"
+ git submodule update
}
build() {
- cd "$srcdir/$_pkgname"
- ./autogen.sh --prefix=/usr --disable-schemas-compile
- make
+ arch-meson gnome-music build
+ ninja -C build
+}
+
+check() {
+ meson test -C build
}
package() {
- cd "$srcdir/$_pkgname"
- make DESTDIR="$pkgdir/" install
+ DESTDIR="$pkgdir" meson install -C build
+
+ python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+ python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
}
diff --git a/gnome-music.install b/gnome-music.install
deleted file mode 100644
index 2b172e29cef..00000000000
--- a/gnome-music.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- glib-compile-schemas usr/share/glib-2.0/schemas
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}