[arch-commits] Commit in xdg-desktop-portal-gtk/trunk (PKGBUILD build.diff)

Jan Steffens heftig at gemini.archlinux.org
Thu Sep 16 01:21:24 UTC 2021


    Date: Thursday, September 16, 2021 @ 01:21:23
  Author: heftig
Revision: 424073

1.10.0-1

Added:
  xdg-desktop-portal-gtk/trunk/build.diff
Modified:
  xdg-desktop-portal-gtk/trunk/PKGBUILD

------------+
 PKGBUILD   |   22 +++++++++++++++++-----
 build.diff |   21 +++++++++++++++++++++
 2 files changed, 38 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-16 01:08:33 UTC (rev 424072)
+++ PKGBUILD	2021-09-16 01:21:23 UTC (rev 424073)
@@ -3,7 +3,7 @@
 # Contributor: Patrick Griffis <tingping at tingping.se>
 
 pkgname=xdg-desktop-portal-gtk
-pkgver=1.8.0
+pkgver=1.10.0
 pkgrel=1
 pkgdesc="A GTK+ backend for xdg-desktop-portal"
 url="https://github.com/flatpak/xdg-desktop-portal-gtk"
@@ -13,9 +13,11 @@
 makedepends=(xdg-desktop-portal python git)
 optdepends=("evince: Print preview")
 provides=(xdg-desktop-portal-impl)
-_commit=5e45e780eecacfe199ee9582cce4c54a27ce186f  # tags/1.8.0^0
-source=("git+https://github.com/flatpak/xdg-desktop-portal-gtk#commit=$_commit")
-sha256sums=('SKIP')
+_commit=3a9ac80eb720d1ba8a2aecc2108f66b2f737f185  # tags/1.10.0^0
+source=("git+https://github.com/flatpak/xdg-desktop-portal-gtk#commit=$_commit"
+        build.diff)
+sha256sums=('SKIP'
+            '43cc8f25956d543166bbdf1413ed4fae067a380cecb7415db1422bdb846c5067')
 
 pkgver() {
   cd $pkgname
@@ -24,12 +26,22 @@
 
 prepare() {
   cd $pkgname
+  
+  # Fix build
+  git apply -3 ../build.diff
+
   NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
   cd $pkgname
-  ./configure --prefix=/usr --libexecdir=/usr/lib
+  ./configure --prefix=/usr --libexecdir=/usr/lib \
+    --enable-wallpaper \
+    --enable-screenshot \
+    --enable-screencast \
+    --enable-background \
+    --enable-settings \
+    --enable-appchooser
   make 
 }
 

Added: build.diff
===================================================================
--- build.diff	                        (rev 0)
+++ build.diff	2021-09-16 01:21:23 UTC (rev 424073)
@@ -0,0 +1,21 @@
+diff --git i/po/hi.po w/po/hi.po
+index 14d97bf..5795e0e 100644
+--- i/po/hi.po
++++ w/po/hi.po
+@@ -309,14 +309,14 @@ msgstr "गतिविधियां"
+ #~ "Select an application to open “%s”. More applications are available in <a "
+ #~ "href='software'>Software.</a>"
+ #~ msgstr ""
+-#~ "खोलने के लिए एक आवेदन का चयन करें "%s". अधिक एप्लिकेशन उपलब्ध हैं <a "
++#~ "खोलने के लिए एक आवेदन का चयन करें \"%s\". अधिक एप्लिकेशन उपलब्ध हैं <a "
+ #~ "href='software'>सॉफ्टवेयर।</a>"
+ 
+ #~ msgid ""
+ #~ "Select an application. More applications are available in <a "
+ #~ "href='software'>Software.</a>"
+ #~ msgstr ""
+-#~ "एक आवेदन का चयन करें। <a "में अधिक एप्लिकेशन उपलब्ध हैं"
++#~ "एक आवेदन का चयन करें। <a \"में अधिक एप्लिकेशन उपलब्ध हैं"
+ #~ "href=href='software'>सॉफ्टवेयर।</a>"
+ 
+ #~ msgid "Unable to find a suitable application."



More information about the arch-commits mailing list