CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
ports
/
opt-arm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvm: updated to 14.0.3
[ports/opt-arm.git]
/
gobject-introspection
/
Pkgfile
diff --git
a/gobject-introspection/Pkgfile
b/gobject-introspection/Pkgfile
index 88e76a478ef24d2e98f6cb49669ed86a817d03cb..e123bc08ff1941056fa55928cfa2b469f975ef7b 100644
(file)
--- a/
gobject-introspection/Pkgfile
+++ b/
gobject-introspection/Pkgfile
@@
-2,21
+2,32
@@
# URL: https://live.gnome.org/GObjectIntrospection
# Maintainer: Danny Rawlins, crux at romster dot me
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# URL: https://live.gnome.org/GObjectIntrospection
# Maintainer: Danny Rawlins, crux at romster dot me
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: glib
+# Depends on: glib libffi
+# Optional: cairo python3-mako python3-markdown
name=gobject-introspection
name=gobject-introspection
-version=1.64.1
-release=1
-source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version::4}/$name-$version.tar.xz)
+version=1.70.0
+release=2
+source=(https://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'
- meson build \
+ patch -d $name-$version -p1 -i $SRC/gobject-introspection-1.70.0-meson-0.61.patch
+
+ meson build $name-$version $PKGMK_GOBJECTINTROSPECTION \
--prefix /usr \
--prefix /usr \
- -D cairo=disabled \
- -D doctool=disabled
+ --buildtype plain \
+ --wrap-mode nodownload \
+ -D b_lto=true \
+ -D b_pie=true
ninja -C build -j ${JOBS:-1}
ninja -C build -j ${JOBS:-1}
- DESTDIR="$PKG" ninja -C build install
+ 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
}
}