zile: update to 2.6.2.

Patch and configure_args was added by sgn

Co-authored-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Close: #37219
This commit is contained in:
mobinmob 2022-05-21 15:56:25 +03:00 committed by Đoàn Trần Công Danh
parent 2f0cfd61e0
commit 52f8c8a557
2 changed files with 19 additions and 11 deletions

View File

@ -0,0 +1,14 @@
Use shipped zile.1.in, otherwise, fails on cross-compile
Index: zile-2.6.2/Makefile.in
===================================================================
--- zile-2.6.2.orig/Makefile.in
+++ zile-2.6.2/Makefile.in
@@ -2934,7 +2934,7 @@ doc/zile.1: $(srcdir)/doc/zile.1.in doc/
$(edit) $(abs_srcdir)/doc/zile.1.in >$@.tmp
mv $@.tmp $@
-$(srcdir)/doc/zile.1.in: doc/man-extras build-aux/zile-help2man-wrapper configure.ac $(builddir)/src/zile$(EXEEXT)
+$(srcdir)/doc/zile.1.in:
@test -d doc || mkdir doc
$(AM_V_GEN)if ( touch $@.w && rm -f $@.w; ) >/dev/null 2>&1; then \
$(srcdir)/build-aux/missing --run $(HELP2MAN) --output=$@ --no-info --name="Zile Is Lossy Emacs" --include $(srcdir)/doc/man-extras $(srcdir)/build-aux/zile-help2man-wrapper; \

View File

@ -1,21 +1,15 @@
# Template file for 'zile'
pkgname=zile
version=2.4.15
version=2.6.2
revision=1
build_style=gnu-configure
configure_args="gl_cv_func_memmem_works_fast=yes"
hostmakedepends="help2man pkg-config"
makedepends="acl-devel gc-devel libatomic_ops-devel ncurses-devel"
makedepends=" vala-devel acl-devel gc-devel libatomic_ops-devel ncurses-devel
libgee08-devel"
short_desc="Small, fast, and powerful Emacs clone"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/zile"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=39c300a34f78c37ba67793cf74685935a15568e14237a3a66fda8fcf40e3035e
post_configure() {
if [ "$CROSS_BUILD" ]; then
# Can not regenerate zile.1.in because the zile
# executable would be required. Use shipped file.
sed -i Makefile -e 's;\(\$(srcdir)/doc/zile.1.in:\).*;\1;'
fi
}
checksum=77eb7daff3c98bdc88daa1ac040dccca72b81dc32fc3166e079dd7a63e42c741