gobject-introspection: adopted port

This commit is contained in:
Tim Biermann 2023-08-27 17:43:40 +02:00
parent 6d7d51d8a8
commit bfb199e3e9
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 18 additions and 18 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/a36chwYLbF0wwYCOGVR1Wmx4I7keAGmNyo3wKIPaGSk7L04IqmVQwOKIxDv3uJb5iq8DrsUWmTdEWKyySrhvgg=
SHA256 (Pkgfile) = 7f278c21bbbc47a4d5030410c4013c56fb0f80ed47920945a7984e5680939ec2
RWSE3ohX2g5d/VOqAKzPk7ZPgKYZRUAMxKqbPk9dj2//ytIrloeN56Z2uud9yFH9A3kZYlw8dMEzYbz/RPugl9LLmNLWsPQS9As=
SHA256 (Pkgfile) = 2d9e5f11407e1cd7a2b162208420a44fe2771c194c9e45da40cdd310cf1b3cf5
SHA256 (.footprint) = e87dc9bbeff26b4d20d985e1fdae7c0b40329adfc069899b7d853f9d61b68961
SHA256 (gobject-introspection-1.76.1.tar.xz) = 196178bf64345501dcdc4d8469b36aa6fe80489354efe71cb7cb8ab82a3738bf

View File

@ -1,7 +1,7 @@
# Description: A middleware layer between C libraries (using GObject) and language bindings.
# Description: A middleware layer between C libraries (using GObject) and language bindings
# URL: https://live.gnome.org/GObjectIntrospection
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: glib libffi
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: glib
# Optional: cairo python3-mako python3-markdown
name=gobject-introspection
@ -10,20 +10,20 @@ release=1
source=(https://download.gnome.org/sources/$name/${version::4}/$name-$version.tar.xz)
build() {
prt-get isinst cairo || PKGMK_GOBJECTINTROSPECTION+=' -D cairo=disabled'
prt-get isinst python3-mako python3-markdown || PKGMK_GOBJECTINTROSPECTION+=' -D doctool=disabled'
prt-get isinst cairo || PKGMK_GOBJECTINTROSPECTION+=' -D cairo=disabled'
prt-get isinst python3-mako python3-markdown || PKGMK_GOBJECTINTROSPECTION+=' -D doctool=disabled'
meson build $name-$version $PKGMK_GOBJECTINTROSPECTION \
--prefix /usr \
--buildtype plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
/usr/bin/python3 -m compileall -d /usr/lib/$name $PKG
/usr/bin/python3 -O -m compileall -d /usr/lib/$name $PKG
/usr/bin/python3 -OO -m compileall -d /usr/lib/$name $PKG
/usr/bin/python3 -m compileall -d /usr/lib/$name $PKG
/usr/bin/python3 -O -m compileall -d /usr/lib/$name $PKG
/usr/bin/python3 -OO -m compileall -d /usr/lib/$name $PKG
}