gobject-introspection 1.82.0-1
This commit is contained in:
parent
345c0b36b1
commit
14f705027f
53
PKGBUILD
53
PKGBUILD
@ -4,42 +4,51 @@
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=( gobject-introspection gobject-introspection-runtime libgirepository)
|
||||
pkgname=(gobject-introspection gobject-introspection-runtime libgirepository)
|
||||
pkgbase=gobject-introspection
|
||||
pkgver=1.80.1
|
||||
glib2_ver=2.80.0
|
||||
pkgver=1.82.0
|
||||
_glibver=2.82.2
|
||||
pkgrel=1
|
||||
pkgdesc="Introspection system for GObject-based libraries"
|
||||
arch=('x86_64')
|
||||
url="https://wiki.gnome.org/Projects/GObjectIntrospection"
|
||||
license=('GPL-2.0-or-later' 'LGPL-2.0-or-later')
|
||||
makedepends=(
|
||||
"glib2=${glib2_ver}"
|
||||
"glib2=${_glibver}"
|
||||
'cairo'
|
||||
'git'
|
||||
'glibc'
|
||||
'git'
|
||||
'gtk-doc'
|
||||
'libffi'
|
||||
'meson'
|
||||
'python'
|
||||
'gtk-doc'
|
||||
'python-mako'
|
||||
'python-markdown'
|
||||
'python-setuptools'
|
||||
'python-sphinx'
|
||||
)
|
||||
source=(git+https://gitlab.gnome.org/GNOME/gobject-introspection.git#tag=${pkgver}
|
||||
git+https://gitlab.gnome.org/GNOME/glib.git#tag=${glib2_ver})
|
||||
source=(git+https://github.com/GNOME/gobject-introspection.git#tag=${pkgver}
|
||||
git+https://github.com/GNOME/glib.git#tag=${_glibver}
|
||||
git+https://github.com/GNOME/gobject-introspection-tests.git)
|
||||
sha256sums=(SKIP
|
||||
SKIP
|
||||
SKIP)
|
||||
|
||||
prepare() {
|
||||
cd ${pkgbase}
|
||||
|
||||
git submodule init
|
||||
git submodule set-url gobject-introspection-tests ${srcdir}/gobject-introspection-tests
|
||||
git -c protocol.file.allow=always -c protocol.allow=never submodule update
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgbase}
|
||||
|
||||
meson setup build \
|
||||
--prefix=/usr \
|
||||
--buildtype=release \
|
||||
-Dbuildtype=release \
|
||||
-Dlibdir=/usr/lib64 \
|
||||
-Dpython=python3 \
|
||||
-Dgtk_doc=true \
|
||||
-Dglib_src_dir=${srcdir}/glib
|
||||
|
||||
@ -49,7 +58,9 @@ build() {
|
||||
package_gobject-introspection() {
|
||||
depends=(
|
||||
"gobject-introspection-runtime=${pkgver}-${pkgrel}"
|
||||
"libgirepository=${pkgver}-${pkgrel}" 'glib2' 'glibc'
|
||||
"libgirepository=${pkgver}-${pkgrel}"
|
||||
'glib2'
|
||||
'glibc'
|
||||
'libffi'
|
||||
'python'
|
||||
'python-mako'
|
||||
@ -61,19 +72,17 @@ package_gobject-introspection() {
|
||||
|
||||
meson install -C build --destdir ${pkgdir}
|
||||
|
||||
cd ${pkgdir}
|
||||
python3 -m compileall -d /usr/lib64/${pkgbase} ${pkgdir}/usr/lib64/${pkgbase}
|
||||
python3 -O -m compileall -d /usr/lib64/${pkgbase} ${pkgdir}/usr/lib64/${pkgbase}
|
||||
|
||||
python3 -m compileall -d /usr/lib64/$pkgbase usr/lib64/$pkgbase
|
||||
python3 -O -m compileall -d /usr/lib64/$pkgbase usr/lib64/$pkgbase
|
||||
_pick libg ${pkgdir}/usr/include/gobject-introspection-1.0
|
||||
_pick libg ${pkgdir}/usr/lib64/libgirepository-1.0.so*
|
||||
_pick libg ${pkgdir}/usr/lib64/pkgconfig/gobject-introspection*-1.0.pc
|
||||
_pick libg ${pkgdir}/usr/lib64/girepository-1.0/GIRepository-2.0.typelib
|
||||
_pick libg ${pkgdir}/usr/share/gir-1.0/GIRepository-2.0.gir
|
||||
_pick libg ${pkgdir}/usr/share/gtk-doc
|
||||
|
||||
_pick libg usr/include/gobject-introspection-1.0
|
||||
_pick libg usr/lib64/libgirepository-1.0.so*
|
||||
_pick libg usr/lib64/pkgconfig/gobject-introspection*-1.0.pc
|
||||
_pick libg usr/lib64/girepository-1.0/GIRepository-2.0.typelib
|
||||
_pick libg usr/share/gir-1.0/GIRepository-2.0.gir
|
||||
_pick libg usr/share/gtk-doc
|
||||
|
||||
_pick runtime usr/lib64/girepository-1.0
|
||||
_pick runtime ${pkgdir}/usr/lib64/girepository-1.0
|
||||
}
|
||||
|
||||
package_gobject-introspection-runtime() {
|
||||
|
Loading…
Reference in New Issue
Block a user