From af14ea2532e81ecef3555a1b7524171f8890dcdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Mar 2024 18:25:35 +0700 Subject: [PATCH] genius: drop autotools requirements --- srcpkgs/genius/template | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/srcpkgs/genius/template b/srcpkgs/genius/template index c59cd23074d..9c77e2cacc0 100644 --- a/srcpkgs/genius/template +++ b/srcpkgs/genius/template @@ -4,9 +4,8 @@ version=1.0.27 revision=1 build_style=gnu-configure build_helper=qemu -configure_args="--disable-update-mimedb ac_cv_file__proc_self_maps=yes - GTK_UPDATE_ICON_CACHE=gtk-update-icon-cache" -hostmakedepends="intltool pkg-config glib-devel automake libtool bison flex +configure_args="--disable-update-mimedb ac_cv_file__proc_self_maps=yes" +hostmakedepends="intltool pkg-config glib-devel bison flex gtk-update-icon-cache" makedepends="gtksourceview4-devel mpfr-devel readline-devel ncurses-devel gtk+3-devel libglib-devel vte3-devel" @@ -20,10 +19,10 @@ distfiles="${GNOME_SITE}/genius/${version%.*}/genius-${version}.tar.xz" checksum=0243b7c36b5f9e930c62778acd52deb188deeca704a5e195337018435d9e7bb5 post_patch() { - vsed -e '/PKG_CHECK_MODULES/s/ncurses/ncursesw/' -i configure.ac - if [ "$CROSS_BUILD" ]; then - vsed -e "/cd \\\$(top_builddir)/s:\\\$(top_builddir)/src/genius:/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &:" -i lib/Makefile.am - fi - autoreconf -fi + vsed -e '/PKG_CONFIG/s/ncurses/ncursesw/' -i configure vsed -e '/DATADIRNAME=/s/=.*/=share/' -i configure + if [ "$CROSS_BUILD" ]; then + vsed -e "/cd [\$].top_builddir./s:[\$].top_builddir./src/genius:/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &:" \ + -i lib/Makefile.am lib/Makefile.in + fi }