mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
libhandy: update to 0.0.4.
This commit is contained in:
parent
2065d8544b
commit
cde135c15e
2 changed files with 27 additions and 10 deletions
13
srcpkgs/libhandy/patches/generated-headers.diff
Normal file
13
srcpkgs/libhandy/patches/generated-headers.diff
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git /src/meson.build b/src/meson.build
|
||||||
|
index 25eea68e811a78f8600cdea47223aab801e482a9..63fc56cf5451efcc155cb561d2cd712ef4d1db7a 100644
|
||||||
|
--- src/meson.build
|
||||||
|
+++ src/meson.build
|
||||||
|
@@ -113,7 +113,7 @@ libhandy = shared_library(
|
||||||
|
)
|
||||||
|
|
||||||
|
libhandy_dep = declare_dependency(
|
||||||
|
- sources: libhandy_public_headers,
|
||||||
|
+ sources: libhandy_generated_headers,
|
||||||
|
dependencies: libhandy_deps,
|
||||||
|
link_with: libhandy,
|
||||||
|
include_directories: include_directories('.'),
|
|
@ -1,35 +1,39 @@
|
||||||
# Template file for 'libhandy'
|
# Template file for 'libhandy'
|
||||||
pkgname=libhandy
|
pkgname=libhandy
|
||||||
version=0.0.3
|
version=0.0.4
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="libhandy-v${version}"
|
wrksrc="libhandy-v${version}"
|
||||||
build_style=meson
|
build_style=meson
|
||||||
# tests need X anyway, so no need to build them
|
# tests need X anyway, so no need to build them
|
||||||
configure_args="-Dexamples=false -Dtests=false
|
configure_args="-Dexamples=false -Dtests=false $(vopt_bool vala vapi)
|
||||||
-Dintrospection=$(vopt_if gir true false) -Dvala=$(vopt_if vala true false)"
|
$(vopt_bool glade glade_catalog) $(vopt_bool gir introspection)"
|
||||||
hostmakedepends="glib-devel pkg-config $(vopt_if gir gobject-introspection)
|
hostmakedepends="glib-devel pkg-config $(vopt_if gir gobject-introspection)
|
||||||
$(vopt_if vala vala-devel)"
|
$(vopt_if vala vala-devel) $(vopt_if glade glade3-devel)"
|
||||||
makedepends="gtk+3-devel libglib-devel"
|
makedepends="gtk+3-devel libglib-devel"
|
||||||
short_desc="A library full of GTK+ widgets for mobile phones"
|
short_desc="A library full of GTK+ widgets for mobile phones"
|
||||||
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="LGPL-2.0-or-later"
|
||||||
homepage="https://source.puri.sm/Librem5/libhandy"
|
homepage="https://source.puri.sm/Librem5/libhandy"
|
||||||
distfiles="https://gitlab.gnome.org/Community/Purism/libhandy/-/archive/v${version}/libhandy-v${version}.tar.gz"
|
distfiles="${homepage}/-/archive/v${version}/${wrksrc}.tar.gz"
|
||||||
checksum=387bb4da0e5d15d6d83cac5276841e6eda8429548b292ea3ebf002679189c270
|
checksum=2c54b61cefb153b3a6ab8b6ecb520375854301632c998b003dd7dba623ea2a03
|
||||||
|
|
||||||
build_options="gir vala"
|
build_options="gir vala glade"
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="gir vala"
|
build_options_default="gir vala glade"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
libhandy-devel_package() {
|
libhandy-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
if [ "$build_option_glade" ]; then
|
||||||
|
vmove usr/lib/glade
|
||||||
vmove usr/share/glade
|
vmove usr/share/glade
|
||||||
|
fi
|
||||||
if [ "$build_option_gir" ]; then
|
if [ "$build_option_gir" ]; then
|
||||||
vmove usr/share/gir-1.0
|
vmove usr/share/gir-1.0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue