new blfs: gui-libs/libadwaita-1.7.7
This commit is contained in:
37
gui-libs/libadwaita-1.7.7.PKGBUILD
Normal file
37
gui-libs/libadwaita-1.7.7.PKGBUILD
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
pkgname=libadwaita
|
||||||
|
pkgver=1.7.7
|
||||||
|
pkgdesc="Building blocks for modern GNOME applications"
|
||||||
|
homepage="https://gnome.pages.gitlab.gnome.org/libadwaita/ https://gitlab.gnome.org/GNOME/libadwaita"
|
||||||
|
license=("LGPL-2.1+")
|
||||||
|
depends=(glib:2 gtk:4 appstream fribidi gobject-introspection)
|
||||||
|
bdepends=(vala gettext sassc)
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||||
|
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
|
||||||
|
sha512sums=("af59e6813794ef2ac1aa22fa4d295caacbe3b58b6398b4c1d6ab14f454d308a4040ad286132f3731e3706e1dfc036df50d15e09cd748f975724a9226b9f74d52")
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
local meson_args=(
|
||||||
|
--prefix=/usr
|
||||||
|
--buildtype=release
|
||||||
|
--wrap-mode=nofallback
|
||||||
|
-D python.bytecompile=1
|
||||||
|
-D profiling=false
|
||||||
|
-D introspection=enabled
|
||||||
|
-D vapi=true
|
||||||
|
-D documentation=false
|
||||||
|
-D tests=false
|
||||||
|
-D examples=false
|
||||||
|
)
|
||||||
|
meson setup build "${meson_args[@]}"
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson install -C build --destdir "$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:ft=sh syn=sh et sw=2:
|
||||||
Reference in New Issue
Block a user