2020-06-17 07:34:41 +00:00
|
|
|
# Description: Building blocks for modern adaptive GNOME apps
|
|
|
|
# URL: https://gitlab.gnome.org/GNOME/libhandy/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: gtk3
|
|
|
|
|
|
|
|
name=libhandy
|
|
|
|
version=0.0.13
|
|
|
|
release=1
|
|
|
|
source=(https://gitlab.gnome.org/GNOME/libhandy/-/archive/v$version/$name-v$version.tar.bz2)
|
|
|
|
|
|
|
|
build() {
|
2020-11-03 19:43:42 +00:00
|
|
|
# don't build nls files
|
|
|
|
rm -r $name-v$version/po
|
|
|
|
sed -e '143d' -i $name-v$version/meson.build
|
|
|
|
|
|
|
|
meson setup $name-v$version build \
|
2020-06-17 07:34:41 +00:00
|
|
|
--prefix=/usr \
|
2020-11-03 19:43:42 +00:00
|
|
|
--buildtype=plain \
|
|
|
|
-Db_ndebug=true \
|
2020-06-17 07:34:41 +00:00
|
|
|
-Dgtk_doc=false \
|
|
|
|
-Dexamples=false \
|
|
|
|
-Dtests=false
|
2020-11-03 19:43:42 +00:00
|
|
|
meson compile -C build
|
2020-06-17 07:34:41 +00:00
|
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
}
|