mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: glycin-loaders-1.0.0
This commit is contained in:
parent
7555e132d8
commit
e73d2081c3
1 changed files with 27 additions and 0 deletions
27
srcpkgs/glycin-loaders/template
Normal file
27
srcpkgs/glycin-loaders/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'glycin-loaders'
|
||||||
|
pkgname=glycin-loaders
|
||||||
|
version=1.0.0
|
||||||
|
revision=1
|
||||||
|
build_style=meson
|
||||||
|
build_helper=rust
|
||||||
|
configure_args="-Dtest_skip_install=true"
|
||||||
|
hostmakedepends="cargo clang17 gettext pkg-config"
|
||||||
|
makedepends="gtk4-devel libheif-devel libjxl-devel libseccomp-devel rust-std"
|
||||||
|
short_desc="Sandboxed and extendable image decoding"
|
||||||
|
maintainer="chrysos349 <chrysostom349@gmail.com>"
|
||||||
|
license="MPL-2.0"
|
||||||
|
homepage="https://gitlab.gnome.org/sophie-h/glycin"
|
||||||
|
changelog="https://gitlab.gnome.org/sophie-h/glycin/-/raw/main/NEWS"
|
||||||
|
distfiles="${GNOME_SITE}/glycin-loaders/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
|
checksum=cd2a3979259fee56cbd882a4d890437684bf1926e65afeafcb904ca9d17ae282
|
||||||
|
make_check=no # needs to be installed to run tests
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
vsed -i loaders/meson.build \
|
||||||
|
-e "s%rust_target /%'${RUST_TARGET}' / &%"
|
||||||
|
fi
|
||||||
|
# loaders/meson.build tries to call git to get hash for debug builds.
|
||||||
|
# Disable as it is useless for tarball builds.
|
||||||
|
ln -sf /bin/false ${XBPS_WRAPPERDIR}/git
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue