summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoremersion2015-08-07 01:08:50 +0200
committeremersion2015-08-07 01:08:50 +0200
commit037406c10553adc7c0ad6635c27a9c721ea6706b (patch)
tree47ff75d8837412a5e5e719ea9e01b67920757db2
downloadaur-037406c10553adc7c0ad6635c27a9c721ea6706b.tar.gz
Initial commit
-rw-r--r--.SRCINFO33
-rw-r--r--PKGBUILD40
-rw-r--r--gnome-music.install13
3 files changed, 86 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3869628938a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,33 @@
+pkgbase = gnome-music-git
+ pkgdesc = Music player and management application for GNOME
+ pkgver = 3.17.4.r22.gfb9c664
+ pkgrel = 1
+ url = https://wiki.gnome.org/Apps/Music
+ install = gnome-music.install
+ arch = i686
+ arch = x86_64
+ 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 = tracker
+ depends = grilo
+ depends = libmediaart
+ depends = grilo-plugins
+ depends = python-dbus-common
+ depends = gupnp
+ depends = gupnp-av
+ depends = libdmapsharing
+ depends = gssdp
+ provides = gnome-music=3.17.4
+ conflicts = gnome-music
+ source = git://git.gnome.org/gnome-music
+ sha256sums = SKIP
+
+pkgname = gnome-music-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b93f6988f3c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Submitter: Yosef Or Boczko <yoseforb@gnome.org>
+# Maintainer: emersion <contact@emersion.fr>
+
+_pkgname=gnome-music
+pkgname=$_pkgname-git
+pkgver=3.17.4.r22.gfb9c664
+pkgrel=1
+pkgdesc="Music player and management application for GNOME"
+arch=('i686' 'x86_64')
+url="https://wiki.gnome.org/Apps/Music"
+license=('GPL')
+depends=("gtk3>=3.13.2" 'glib2' 'python-dbus' 'python-gobject' 'tracker' "grilo" 'libmediaart'
+ 'grilo-plugins' 'python-dbus-common' 'gupnp' 'gupnp-av' 'libdmapsharing' 'gssdp')
+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')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git describe --always | sed -E 's/^MUSIC_//;s/_/./g;s/([^-]*-g)/r\1/;s|-|.|g'
+}
+
+prepare() {
+ cd "$srcdir/$_pkgname"
+ git clone git://git.gnome.org/libgd
+}
+
+build() {
+ cd "$srcdir/$_pkgname"
+ ./autogen.sh --prefix=/usr --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/gnome-music.install b/gnome-music.install
new file mode 100644
index 00000000000..2b172e29cef
--- /dev/null
+++ b/gnome-music.install
@@ -0,0 +1,13 @@
+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
+}