New package: libhandy1-0.90.0
This commit is contained in:
parent
7ce92bb1f0
commit
0fcac6030b
|
@ -3558,6 +3558,7 @@ libOpenCL.so.1 ocl-icd-2.2.12_1
|
|||
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
|
||||
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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libhandy1
|
|
@ -0,0 +1,42 @@
|
|||
# Template file for 'libhandy1'
|
||||
pkgname=libhandy1
|
||||
version=0.90.0
|
||||
revision=1
|
||||
wrksrc="libhandy-${version}"
|
||||
build_style=meson
|
||||
build_helper="gir"
|
||||
# tests need X anyway, so no need to build them
|
||||
configure_args="-Dexamples=false -Dtests=false $(vopt_bool gir vapi)
|
||||
-Dglade_catalog=$(vopt_if glade enabled disabled)
|
||||
-Dintrospection=$(vopt_if gir enabled disabled)"
|
||||
hostmakedepends="glib-devel pkg-config $(vopt_if gir vala-devel)"
|
||||
makedepends="gtk+3-devel libglib-devel $(vopt_if glade glade3-devel)"
|
||||
short_desc="Library full of GTK+ widgets for mobile phones"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-2.0-or-later"
|
||||
homepage="https://source.puri.sm/Librem5/libhandy"
|
||||
distfiles="${GNOME_SITE}/libhandy/${version%.*}/libhandy-${version}.tar.xz"
|
||||
checksum=6ab0869a3aa483298ea20ec89d4c14c38ba4de416b33181d21e15a6039df5985
|
||||
|
||||
build_options="gir glade"
|
||||
desc_option_glade="Generate glade modules and catalog files"
|
||||
build_options_default="gir glade"
|
||||
|
||||
libhandy1-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel"
|
||||
conflicts="libhandy-devel>=0"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
if [ "$build_option_glade" ]; then
|
||||
vmove usr/lib/glade
|
||||
vmove usr/share/glade
|
||||
fi
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
vmove usr/share/vala
|
||||
fi
|
||||
}
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
site="https://source.puri.sm/Librem5/libhandy/tags"
|
||||
pattern='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d\.]+(?=\.tar\.gz")'
|
Loading…
Reference in New Issue