mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
main/pango: use abuild-meson & meson compile/test/install
This commit is contained in:
parent
860ff26597
commit
b8fa29fa07
@ -24,21 +24,19 @@ source="https://download.gnome.org/sources/pango/${pkgver%.*}/pango-$pkgver.tar.
|
||||
# - CVE-2019-1010238
|
||||
|
||||
build() {
|
||||
meson \
|
||||
--prefix=/usr \
|
||||
--buildtype=plain \
|
||||
abuild-meson \
|
||||
-Dintrospection=true \
|
||||
-Dgtk_doc=true \
|
||||
build
|
||||
ninja -C build
|
||||
meson compile ${JOBS:+-j ${JOBS}} -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
ninja -C build test
|
||||
meson test --no-rebuild -v -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" ninja -C build install
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C build
|
||||
}
|
||||
|
||||
tools() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user