Date: Monday, May 1, 2023 @ 17:25:28
  Author: heftig
Revision: 476150

archrelease: copy trunk to gnome-unstable-any

Added:
  gnome-music/repos/gnome-unstable-any/
  gnome-music/repos/gnome-unstable-any/PKGBUILD
    (from rev 476149, gnome-music/trunk/PKGBUILD)

----------+
 PKGBUILD |   69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

Copied: gnome-music/repos/gnome-unstable-any/PKGBUILD (from rev 476149, 
gnome-music/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD                         (rev 0)
+++ gnome-unstable-any/PKGBUILD 2023-05-01 17:25:28 UTC (rev 476150)
@@ -0,0 +1,69 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=gnome-music
+pkgver=44.0
+pkgrel=1
+epoch=1
+pkgdesc="Music player and management application"
+url="https://wiki.gnome.org/Apps/Music";
+arch=(any)
+license=(GPL)
+depends=(
+  grilo
+  grilo-plugins
+  gst-plugins-base
+  gtk4
+  gvfs
+  libadwaita
+  libdmapsharing
+  libmediaart
+  python-cairo
+  python-gobject
+  python-requests
+  tracker3-miners
+)
+makedepends=(
+  appstream-glib
+  git
+  gobject-introspection
+  meson
+  yelp-tools
+)
+optdepends=(
+  'gst-libav: Extra media codecs'
+  'gst-plugins-bad: Extra media codecs'
+  'gst-plugins-good: Extra media codecs'
+  'gst-plugins-ugly: Extra media codecs'
+)
+groups=(gnome)
+_commit=11fa1a75fc1377a4afdbffe60c8890fdfe713a3f  # tags/44.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-music.git#commit=$_commit";)
+b2sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+
+  python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+  python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to