genius: drop autotools requirements
This commit is contained in:
parent
e6a2a5929e
commit
af14ea2532
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue