[arch-commits] Commit in lib32-json-glib/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Tue Aug 17 22:21:26 UTC 2021
Date: Tuesday, August 17, 2021 @ 22:21:26
Author: heftig
Revision: 1002757
archrelease: copy trunk to multilib-x86_64
Added:
lib32-json-glib/repos/multilib-x86_64/PKGBUILD
(from rev 1002756, lib32-json-glib/trunk/PKGBUILD)
Deleted:
lib32-json-glib/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 101 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 53 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-17 22:21:10 UTC (rev 1002756)
+++ PKGBUILD 2021-08-17 22:21:26 UTC (rev 1002757)
@@ -1,48 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-
-pkgname=lib32-json-glib
-pkgver=1.6.2
-pkgrel=1
-pkgdesc='JSON library built on GLib'
-arch=(x86_64)
-url=https://wiki.gnome.org/Projects/JsonGlib
-license=(GPL)
-depends=(
- json-glib
- lib32-glib2
-)
-makedepends=(
- git
- meson
-)
-_tag=667e2f35bd161fc74832b2a69d6294f583de361d
-source=(git+https://gitlab.gnome.org/GNOME/json-glib.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
- cd json-glib
-
- git describe --tags
-}
-
-build(){
- export CC='gcc -m32'
- export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
-
- arch-meson json-glib build \
- --libdir=/usr/lib32 \
- --libexecdir=/usr/lib32 \
- -D gtk_doc=disabled \
- -D introspection=disabled \
- -D man=false \
- -D tests=false
- ninja -C build
-}
-
-package(){
- DESTDIR="${pkgdir}" ninja -C build install
- rm -rf "${pkgdir}"/usr/{bin,include,share}
-}
-
-# vim: ts=2 sw=2 et:
Copied: lib32-json-glib/repos/multilib-x86_64/PKGBUILD (from rev 1002756, lib32-json-glib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-17 22:21:26 UTC (rev 1002757)
@@ -0,0 +1,53 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+
+pkgname=lib32-json-glib
+pkgver=1.6.4
+pkgrel=1
+pkgdesc='JSON library built on GLib'
+arch=(x86_64)
+url=https://wiki.gnome.org/Projects/JsonGlib
+license=(GPL)
+depends=(
+ json-glib
+ lib32-glib2
+)
+makedepends=(
+ git
+ meson
+)
+_tag=0e318b4e3be43278435c636891e0c840591be705
+source=(git+https://gitlab.gnome.org/GNOME/json-glib.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd json-glib
+
+ git describe --tags
+}
+
+build() {
+ export CC='gcc -m32'
+ export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+
+ arch-meson json-glib build \
+ --libdir=/usr/lib32 \
+ -D gtk_doc=disabled \
+ -D introspection=disabled
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ depends+=(libg{lib,object,io}-2.0.so)
+ provides+=(libjson-glib-1.0.so)
+
+ meson install -C build --destdir "${pkgdir}"
+
+ rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list