New package: libadwaita-1.0.0alpha2
This commit is contained in:
parent
772d68be0a
commit
bd019b0c61
5 changed files with 72 additions and 0 deletions
|
@ -3511,6 +3511,7 @@ liburiparser.so.1 uriparser-0.8.6_1
|
|||
libcpptest.so.1 cpptest-2.0.0_1
|
||||
libhandy-0.0.so.0 libhandy-0.0.3_1
|
||||
libhandy-1.so.0 libhandy1-0.90.0_1
|
||||
libadwaita-1.so.0 libadwaita-1.0.0alpha2_1
|
||||
libswitchboard-2.0.so.0 switchboard-2.3.2_1
|
||||
libcodecore.so.0 libio.elementary.code-3.0_1
|
||||
libio.elementary.music-core.so.0 libio.elementary.music-5.0_1
|
||||
|
|
1
srcpkgs/libadwaita-demo
Symbolic link
1
srcpkgs/libadwaita-demo
Symbolic link
|
@ -0,0 +1 @@
|
|||
libadwaita
|
1
srcpkgs/libadwaita-devel
Symbolic link
1
srcpkgs/libadwaita-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libadwaita
|
10
srcpkgs/libadwaita/patches/disable-broken-tests.patch
Normal file
10
srcpkgs/libadwaita/patches/disable-broken-tests.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/tests/meson.build
|
||||
+++ b/tests/meson.build
|
||||
@@ -22,7 +22,6 @@
|
||||
test_names = [
|
||||
'test-action-row',
|
||||
'test-application-window',
|
||||
- 'test-avatar',
|
||||
'test-bin',
|
||||
'test-carousel',
|
||||
'test-carousel-indicator-dots',
|
59
srcpkgs/libadwaita/template
Normal file
59
srcpkgs/libadwaita/template
Normal file
|
@ -0,0 +1,59 @@
|
|||
# Template file for 'libadwaita'
|
||||
pkgname=libadwaita
|
||||
version=1.0.0alpha2
|
||||
revision=1
|
||||
_ver=1.0.0-alpha.2
|
||||
wrksrc="$pkgname-$_ver"
|
||||
build_style=meson
|
||||
build_helper="gir"
|
||||
configure_args="-Dexamples=true -Dtests=true $(vopt_bool gtk_doc)
|
||||
$(vopt_bool gir vapi) -Dintrospection=$(vopt_if gir enabled disabled)"
|
||||
hostmakedepends="glib-devel pkg-config $(vopt_if gtk_doc gi-docgen)
|
||||
$(vopt_if gir vala-devel) gettext sassc"
|
||||
makedepends="gtk4-devel libglib-devel harfbuzz-devel"
|
||||
checkdepends="xvfb-run"
|
||||
short_desc="GTK4 building blocks for modern adaptive applications"
|
||||
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
||||
license="LGPL-2.0-or-later"
|
||||
homepage="https://gitlab.gnome.org/GNOME/libadwaita/"
|
||||
distfiles="https://gitlab.gnome.org/GNOME/libadwaita/-/archive/$_ver/libadwaita-$_ver.tar.gz"
|
||||
checksum=0b59561825eab9e4b930e330eb64a5eef29d1d797549bbf2a734158d6cb347fd
|
||||
|
||||
build_options="gir gtk_doc"
|
||||
build_options_default="gir gtk_doc"
|
||||
|
||||
do_check() {
|
||||
xvfb-run ninja -C build test
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
# help gi-docgen find gi files on cross
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
export XDG_DATA_DIRS=/usr/$XBPS_CROSS_TRIPLET/usr/share/
|
||||
fi
|
||||
}
|
||||
|
||||
libadwaita-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} gtk4-devel"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
vmove usr/share/vala
|
||||
fi
|
||||
if [ "$build_option_gtk_doc" ]; then
|
||||
vmove usr/share/doc/libadwaita-1
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
libadwaita-demo_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - demonstration application"
|
||||
pkg_install() {
|
||||
vmove usr/bin/adwaita-1-demo
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue