[arch-commits] Commit in libnotify/trunk (PKGBUILD gir-version.diff)
Jan Steffens
heftig at gemini.archlinux.org
Sat Jul 16 20:21:11 UTC 2022
Date: Saturday, July 16, 2022 @ 20:21:11
Author: heftig
Revision: 451147
0.8.0-2: Fix GIR version break
Added:
libnotify/trunk/gir-version.diff
Modified:
libnotify/trunk/PKGBUILD
------------------+
PKGBUILD | 11 ++++++++---
gir-version.diff | 13 +++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-16 20:20:24 UTC (rev 451146)
+++ PKGBUILD 2022-07-16 20:21:11 UTC (rev 451147)
@@ -3,7 +3,7 @@
pkgname=libnotify
pkgver=0.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="Library for sending desktop notifications"
url="https://gitlab.gnome.org/GNOME/libnotify"
arch=(x86_64)
@@ -12,8 +12,10 @@
makedepends=(gtk3 gobject-introspection git meson docbook-xsl xmlto gtk-doc)
options=(debug)
_commit=359443f70f3e99019668c02942fb39cd9efb9425 # tags/0.8.0^0
-source=("git+$url.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+$url.git#commit=$_commit"
+ gir-version.diff)
+sha256sums=('SKIP'
+ '6322d9ebdd8294a4aea5257f75ac37b52bcc127d790ab10edc9a4e7ae43d0833')
pkgver() {
cd $pkgname
@@ -22,6 +24,9 @@
prepare() {
cd $pkgname
+
+ # https://gitlab.gnome.org/GNOME/libnotify/-/issues/27
+ git apply -3 ../gir-version.diff
}
build() {
Added: gir-version.diff
===================================================================
--- gir-version.diff (rev 0)
+++ gir-version.diff 2022-07-16 20:21:11 UTC (rev 451147)
@@ -0,0 +1,13 @@
+diff --git i/meson.build w/meson.build
+index 05a5385..5a6cb34 100644
+--- i/meson.build
++++ w/meson.build
+@@ -23,7 +23,7 @@ LT_REVISION=0
+ LT_AGE=0
+
+ VERSION_ARRAY = meson.project_version().split('.')
+-MODULE_VERSION = '@0 at .@1@'.format(VERSION_ARRAY[0], VERSION_ARRAY[1])
++MODULE_VERSION = '0.7'
+ LIBNAME = meson.project_name().split('lib')[1]
+
+ default_includes = include_directories('.')
More information about the arch-commits
mailing list