22 lines
689 B
Plaintext
22 lines
689 B
Plaintext
|
# Description: A library to delight your users with fancy features
|
||
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||
|
# URL: https://gitlab.gnome.org/GNOME/libdazzle
|
||
|
# Depends on: gtk3
|
||
|
# Optional: gtk-doc
|
||
|
name=libdazzle
|
||
|
version=3.44.0
|
||
|
release=1
|
||
|
source=(https://download.gnome.org/sources/${name}/${version%.*}/${name}-${version}.tar.xz)
|
||
|
|
||
|
build() {
|
||
|
prt-get isinst gtk-doc || DAZZLE_OPTS="-Denable_gtk_doc=false"
|
||
|
cd ${name}-${version}
|
||
|
|
||
|
sed -i "/^subdir('po')/d" meson.build
|
||
|
meson build "$DAZZLE_OPTS" \
|
||
|
--prefix="/usr" --libexecdir="/usr/lib" \
|
||
|
-Dwith_vapi=false -Dwith_introspection=false
|
||
|
ninja -C build
|
||
|
DESTDIR="${PKG}" ninja -C build install
|
||
|
}
|