[arch-commits] Commit in gnome-music/trunk (PKGBUILD fix-build.diff)

Jan Steffens heftig at archlinux.org
Tue Jun 8 19:17:52 UTC 2021


    Date: Tuesday, June 8, 2021 @ 19:17:52
  Author: heftig
Revision: 417502

40.1-1

Added:
  gnome-music/trunk/fix-build.diff
Modified:
  gnome-music/trunk/PKGBUILD

----------------+
 PKGBUILD       |   14 +++++++++-----
 fix-build.diff |   12 ++++++++++++
 2 files changed, 21 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-08 18:38:20 UTC (rev 417501)
+++ PKGBUILD	2021-06-08 19:17:52 UTC (rev 417502)
@@ -2,7 +2,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-music
-pkgver=40.0
+pkgver=40.1
 pkgrel=1
 epoch=1
 pkgdesc="Music player and management application"
@@ -18,13 +18,15 @@
             'gst-plugins-bad: Extra media codecs'
             'gst-libav: Extra media codecs')
 groups=(gnome)
-_commit=1cf0f573067fa4ccb6b044987ea338441f237f80  # tags/40.0^0
+_commit=d9571372f3a68d100b314c42201f67600ff1d0e5  # tags/40.1^0
 source=("git+https://gitlab.gnome.org/GNOME/gnome-music.git#commit=$_commit"
         "git+https://gitlab.gnome.org/GNOME/libgd.git"
-        "git+https://gitlab.gnome.org/mschraal/gfm.git")
+        "git+https://gitlab.gnome.org/mschraal/gfm.git"
+        fix-build.diff)
 sha256sums=('SKIP'
             'SKIP'
-            'SKIP')
+            'SKIP'
+            '3ca62c6f6ef28057495d8c01c5ca96f82bd3601a9f964ce5ecd8a3fd30b1aff3')
 
 pkgver() {
   cd $pkgname
@@ -34,6 +36,8 @@
 prepare() {
   cd $pkgname
 
+  git apply -3 ../fix-build.diff
+
   git submodule init
   git submodule set-url subprojects/libgd "$srcdir/libgd"
   git submodule set-url subprojects/gfm "$srcdir/gfm"
@@ -50,7 +54,7 @@
 }
 
 package() {
-  DESTDIR="$pkgdir" meson install -C build
+  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"

Added: fix-build.diff
===================================================================
--- fix-build.diff	                        (rev 0)
+++ fix-build.diff	2021-06-08 19:17:52 UTC (rev 417502)
@@ -0,0 +1,12 @@
+diff --git i/data/org.gnome.Music.appdata.xml.in.in w/data/org.gnome.Music.appdata.xml.in.in
+index 633732fd..5b03d990 100644
+--- i/data/org.gnome.Music.appdata.xml.in.in
++++ w/data/org.gnome.Music.appdata.xml.in.in
+@@ -37,7 +37,6 @@
+         <p>This release also updates translations.</p>
+       </description>
+     </release>
+-  <releases>
+     <release version="40.0" date="2021-03-21">
+       <description>
+         <p>



More information about the arch-commits mailing list