CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
ports
/
opt-arm64.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python3-libxml2: updated to 2.9.13
[ports/opt-arm64.git]
/
gobject-introspection
/
Pkgfile
diff --git
a/gobject-introspection/Pkgfile
b/gobject-introspection/Pkgfile
index 676dbb1201833ec27b1f85701c4eb28cf18de057..f2a0060701c1daf37475d2a87d545238c4f5329e 100644
(file)
--- a/
gobject-introspection/Pkgfile
+++ b/
gobject-introspection/Pkgfile
@@
-3,23
+3,32
@@
# Maintainer: Danny Rawlins, crux at romster dot me
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Packager: Matt Housh, jaeger at morpheus dot net
# Maintainer: Danny Rawlins, crux at romster dot me
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Packager: Matt Housh, jaeger at morpheus dot net
-# Depends on: python glib
+# Depends on: glib libffi
+# Optional: cairo python3-mako python3-markdown
name=gobject-introspection
name=gobject-introspection
-version=1.52.1
-release=1
-source=(http://ftp.gnome.org/pub/GNOME/sources/$name/${version::4}/$name-$version.tar.xz)
+version=1.70.0
+release=2
+source=(http://ftp.gnome.org/pub/GNOME/sources/$name/${version::4}/$name-$version.tar.xz
+ gobject-introspection-1.70.0-meson-0.61.patch)
build() {
build() {
- cd $name-$version
+ prt-get isinst cairo || PKGMK_GOBJECTINTROSPECTION+=' -D cairo=disabled'
+ prt-get isinst python3-mako python3-markdown || PKGMK_GOBJECTINTROSPECTION+=' -D doctool=disabled'
- ./configure --prefix=/usr \
- --disable-doctool \
- --disable-gtk-doc-html \
- --build=aarch64-unknown-linux-gnueabi
+ patch -d $name-$version -p1 -i $SRC/gobject-introspection-1.70.0-meson-0.61.patch
- make
- make DESTDIR=$PKG install
+ meson build $name-$version $PKGMK_GOBJECTINTROSPECTION \
+ --prefix /usr \
+ --buildtype plain \
+ --wrap-mode nodownload \
+ -D b_lto=true \
+ -D b_pie=true
- rm -rf $PKG/usr/share/gtk-doc
+ ninja -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
}
}