[arch-commits] Commit in libnotify/repos/extra-x86_64 (3 files)

Jan Steffens heftig at gemini.archlinux.org
Sat Jul 16 20:21:53 UTC 2022


    Date: Saturday, July 16, 2022 @ 20:21:52
  Author: heftig
Revision: 451150

archrelease: copy trunk to extra-x86_64

Added:
  libnotify/repos/extra-x86_64/PKGBUILD
    (from rev 451148, libnotify/trunk/PKGBUILD)
  libnotify/repos/extra-x86_64/gir-version.diff
    (from rev 451148, libnotify/trunk/gir-version.diff)
Deleted:
  libnotify/repos/extra-x86_64/PKGBUILD

------------------+
 PKGBUILD         |   87 ++++++++++++++++++++++++++++-------------------------
 gir-version.diff |   13 +++++++
 2 files changed, 59 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-16 20:21:52 UTC (rev 451149)
+++ PKGBUILD	2022-07-16 20:21:52 UTC (rev 451150)
@@ -1,41 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=libnotify
-pkgver=0.8.0
-pkgrel=1
-pkgdesc="Library for sending desktop notifications"
-url="https://gitlab.gnome.org/GNOME/libnotify"
-arch=(x86_64)
-license=(LGPL)
-depends=(gdk-pixbuf2)
-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')
-
-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() {
-  depends+=(libg{lib,object,io}-2.0.so libgdk_pixbuf-2.0.so)
-  provides+=(libnotify.so)
-
-  meson install -C build --destdir "$pkgdir"
-}

Copied: libnotify/repos/extra-x86_64/PKGBUILD (from rev 451148, libnotify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-16 20:21:52 UTC (rev 451150)
@@ -0,0 +1,46 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libnotify
+pkgver=0.8.0
+pkgrel=2
+pkgdesc="Library for sending desktop notifications"
+url="https://gitlab.gnome.org/GNOME/libnotify"
+arch=(x86_64)
+license=(LGPL)
+depends=(gdk-pixbuf2)
+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"
+        gir-version.diff)
+sha256sums=('SKIP'
+            '6322d9ebdd8294a4aea5257f75ac37b52bcc127d790ab10edc9a4e7ae43d0833')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # https://gitlab.gnome.org/GNOME/libnotify/-/issues/27
+  git apply -3 ../gir-version.diff
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(libg{lib,object,io}-2.0.so libgdk_pixbuf-2.0.so)
+  provides+=(libnotify.so)
+
+  meson install -C build --destdir "$pkgdir"
+}

Copied: libnotify/repos/extra-x86_64/gir-version.diff (from rev 451148, libnotify/trunk/gir-version.diff)
===================================================================
--- gir-version.diff	                        (rev 0)
+++ gir-version.diff	2022-07-16 20:21:52 UTC (rev 451150)
@@ -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