mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
chafa: update to 1.12.5, fix missing libchafa
Closes: #45391 [via git-merge-pr]
This commit is contained in:
parent
a5f51ce74e
commit
d31ea8d62d
4 changed files with 33 additions and 5 deletions
|
@ -4327,3 +4327,4 @@ liblc3.so.1 liblc3-1.0.3_1
|
||||||
libmimalloc.so.2 mimalloc-2.1.2_1
|
libmimalloc.so.2 mimalloc-2.1.2_1
|
||||||
lib2geom.so.1.3.0 lib2geom-1.3_1
|
lib2geom.so.1.3.0 lib2geom-1.3_1
|
||||||
libdbi.so.1 libdbi-0.9.0_1
|
libdbi.so.1 libdbi-0.9.0_1
|
||||||
|
libchafa.so.0 libchafa-1.12.5_1
|
||||||
|
|
13
srcpkgs/chafa/patches/fix-libwebp.patch
Normal file
13
srcpkgs/chafa/patches/fix-libwebp.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 733535a..20dfb50 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -150,7 +150,7 @@ AS_IF([test "$with_tools" != no], [
|
||||||
|
,
|
||||||
|
with_webp=yes)
|
||||||
|
AS_IF([test "$with_webp" != no], [
|
||||||
|
- PKG_CHECK_MODULES(WEBP, [libwebpdemux],,
|
||||||
|
+ PKG_CHECK_MODULES(WEBP, [libwebp libwebpdemux],,
|
||||||
|
missing_rpms="$missing_rpms libwebp-devel"
|
||||||
|
missing_debs="$missing_debs libwebp-dev"
|
||||||
|
with_webp=no)])
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'chafa'
|
# Template file for 'chafa'
|
||||||
pkgname=chafa
|
pkgname=chafa
|
||||||
version=1.12.4
|
version=1.12.5
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-man"
|
configure_args="--enable-man"
|
||||||
hostmakedepends="docbook-xml docbook-xsl libxslt pkg-config"
|
hostmakedepends="automake libtool gtk-doc docbook-xml docbook-xsl libxslt pkg-config"
|
||||||
makedepends="libglib-devel libmagick-devel librsvg-devel libwebp-devel libXext-devel libxml2-devel"
|
makedepends="libglib-devel libmagick-devel librsvg-devel libwebp-devel libXext-devel libxml2-devel"
|
||||||
short_desc="Versatile and fast Unicode/ASCII/ANSI graphics renderer"
|
short_desc="Versatile and fast Unicode/ASCII/ANSI graphics renderer"
|
||||||
maintainer="Christian Buschau <christian.buschau@mailbox.org>"
|
maintainer="Christian Buschau <christian.buschau@mailbox.org>"
|
||||||
|
@ -12,7 +12,7 @@ license="LGPL-3.0-or-later"
|
||||||
homepage="https://hpjansson.org/chafa/"
|
homepage="https://hpjansson.org/chafa/"
|
||||||
changelog="https://raw.githubusercontent.com/hpjansson/chafa/master/NEWS"
|
changelog="https://raw.githubusercontent.com/hpjansson/chafa/master/NEWS"
|
||||||
distfiles="https://hpjansson.org/chafa/releases/chafa-${version}.tar.xz"
|
distfiles="https://hpjansson.org/chafa/releases/chafa-${version}.tar.xz"
|
||||||
checksum=9774bd1a7076ea3124f7fea811e371d0e1da2e76b7ac06260d63a86c7b1a573f
|
checksum=0f5490d52a500a6b386f15cc04c6e8702afd0285d422b9575b332e0c683957f2
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*|i686*) ;;
|
x86_64*|i686*) ;;
|
||||||
|
@ -20,13 +20,26 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
ax_cv_gcc_check_x86_cpu_supports=no" ;;
|
ax_cv_gcc_check_x86_cpu_supports=no" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# needed for the libwebp patch to work
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
|
libchafa_package() {
|
||||||
|
short_desc+=" - shared library"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/*.so.*"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
chafa-devel_package() {
|
chafa-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="libchafa>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
|
vmove usr/lib/chafa/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/share/gtk-doc
|
vmove usr/share/gtk-doc
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/libchafa
Symbolic link
1
srcpkgs/libchafa
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
chafa
|
Loading…
Add table
Reference in a new issue