[arch-commits] Commit in graphene/repos/extra-x86_64 (3 files)
Jan Steffens
heftig at gemini.archlinux.org
Tue Mar 22 00:23:28 UTC 2022
Date: Tuesday, March 22, 2022 @ 00:23:27
Author: heftig
Revision: 440463
archrelease: copy trunk to extra-x86_64
Added:
graphene/repos/extra-x86_64/PKGBUILD
(from rev 440462, graphene/trunk/PKGBUILD)
graphene/repos/extra-x86_64/no-installed-tests.diff
(from rev 440462, graphene/trunk/no-installed-tests.diff)
Deleted:
graphene/repos/extra-x86_64/PKGBUILD
-------------------------+
PKGBUILD | 106 ++++++++++++++++++++++++----------------------
no-installed-tests.diff | 15 ++++++
2 files changed, 71 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-22 00:23:09 UTC (rev 440462)
+++ PKGBUILD 2022-03-22 00:23:27 UTC (rev 440463)
@@ -1,50 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-
-pkgname=graphene
-pkgver=1.10.6
-pkgrel=1
-pkgdesc="A thin layer of graphic data types"
-url="https://ebassi.github.io/graphene/"
-arch=(x86_64)
-license=(MIT)
-makedepends=(git gtk-doc gobject-introspection meson glib2)
-checkdepends=(python-gobject python-tappy)
-_commit=01c1b63e98c9191093880919fe6a8c4327515756 # tags/1.10.6^0
-source=("git+https://github.com/ebassi/graphene#commit=$_commit"
- "git+https://github.com/ebassi/mutest")
-sha256sums=('SKIP'
- 'SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
-
- git submodule init
- git config --local submodule.subprojects/mutest.url "$srcdir/mutest"
- git submodule update
-}
-
-build() {
- arch-meson $pkgname build \
- -D gtk_doc=true \
- -D installed_tests=false
- meson compile -C build
-}
-
-check() {
- meson test -C build --print-errorlogs
-}
-
-package() {
- depends=(libg{lib,object}-2.0.so)
- provides=(libgraphene-1.0.so)
-
- DESTDIR="$pkgdir" meson install -C build
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/LICENSE.txt
-}
-
-# vim:set sw=2 et:
Copied: graphene/repos/extra-x86_64/PKGBUILD (from rev 440462, graphene/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-22 00:23:27 UTC (rev 440463)
@@ -0,0 +1,56 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=graphene
+pkgver=1.10.8
+pkgrel=1
+pkgdesc="A thin layer of graphic data types"
+url="https://ebassi.github.io/graphene/"
+arch=(x86_64)
+license=(MIT)
+makedepends=(git gtk-doc gobject-introspection meson glib2)
+checkdepends=(python-gobject python-tappy)
+options=(debug)
+_commit=4e2578450809c2099400cf85caf18eafcd7100aa # tags/1.10.8^0
+source=("git+https://github.com/ebassi/graphene#commit=$_commit"
+ "git+https://github.com/ebassi/mutest"
+ no-installed-tests.diff)
+sha256sums=('SKIP'
+ 'SKIP'
+ 'fd7c41b25920077158d7de77f5d073e3a5a215c4d96c3b9bd016ffda615be4c4')
+
+pkgver() {
+ cd graphene
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd graphene
+
+ # Don't install tests
+ git apply -3 ../no-installed-tests.diff
+
+ git submodule init
+ git submodule set-url subprojects/mutest "$srcdir/mutest"
+ git submodule update
+}
+
+build() {
+ arch-meson graphene build \
+ -D gtk_doc=true \
+ -D installed_tests=false
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ depends=(libg{lib,object}-2.0.so)
+ provides=(libgraphene-1.0.so)
+
+ meson install -C build --destdir "$pkgdir"
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 graphene/LICENSE.txt
+}
+
+# vim:set sw=2 et:
Copied: graphene/repos/extra-x86_64/no-installed-tests.diff (from rev 440462, graphene/trunk/no-installed-tests.diff)
===================================================================
--- no-installed-tests.diff (rev 0)
+++ no-installed-tests.diff 2022-03-22 00:23:27 UTC (rev 440463)
@@ -0,0 +1,15 @@
+diff --git i/tests/meson.build w/tests/meson.build
+index 0a6a355..0120c29 100644
+--- i/tests/meson.build
++++ w/tests/meson.build
+@@ -67,7 +67,9 @@ src_build_path = meson.current_build_dir() / '../src'
+
+ if build_gir and host_system == 'linux' and not meson.is_cross_build()
+ foreach unit: ['introspection.py']
+- install_data(unit, install_dir: installed_test_bindir)
++ if get_option('installed_tests')
++ install_data(unit, install_dir: installed_test_bindir)
++ endif
+
+ wrapper = '@0 at .test'.format(unit)
+ custom_target(wrapper,
More information about the arch-commits
mailing list