Date: Saturday, March 25, 2023 @ 23:08:30
  Author: heftig
Revision: 1428005

archrelease: copy trunk to community-x86_64

Added:
  rhythmbox/repos/community-x86_64/
  rhythmbox/repos/community-x86_64/PKGBUILD
    (from rev 1428004, rhythmbox/trunk/PKGBUILD)

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

Copied: rhythmbox/repos/community-x86_64/PKGBUILD (from rev 1428004, 
rhythmbox/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2023-03-25 23:08:30 UTC (rev 1428005)
@@ -0,0 +1,63 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+# Contributor: Giovanni Scafora <[email protected]>
+
+pkgname=rhythmbox
+pkgver=3.4.6
+pkgrel=1
+pkgdesc="Music playback and management application"
+arch=(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=(brasero gobject-introspection vala libdmapsharing lirc libgpod
+             libmtp zeitgeist gtk-doc yelp-tools git meson)
+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'
+            'zeitgeist: Zeitgeist logging plugin')
+_commit=1b14819fc3937d9f03edd8dac092228cb4589240  # tags/v3.4.6^0
+source=("git+https://gitlab.gnome.org/GNOME/rhythmbox.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # Allow building with a newer version of meson
+  sed -i '/unsupported version of meson/d' meson.build
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=true
+  meson compile -C build
+}
+
+check() (
+  glib-compile-schemas "${GSETTINGS_SCHEMA_DIR:=$PWD/$pkgname/data}"
+  export GSETTINGS_SCHEMA_DIR GSETTINGS_BACKEND=memory CK_TIMEOUT_MULTIPLIER=3
+
+  xvfb-run -s '-nolisten local' \
+    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"
+}

Reply via email to