mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 21:57:02 +02:00
genius: update to 1.0.27.
Also enable cross-building
This commit is contained in:
parent
f090cd395c
commit
4b4a528fad
1 changed files with 15 additions and 10 deletions
|
@ -1,24 +1,29 @@
|
|||
# Template file for 'genius'
|
||||
pkgname=genius
|
||||
version=1.0.25
|
||||
revision=2
|
||||
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"
|
||||
hostmakedepends="intltool pkg-config glib-devel automake libtool bison flex
|
||||
gtk-update-icon-cache"
|
||||
makedepends="gtksourceview4-devel mpfr-devel readline-devel ncurses-devel
|
||||
gtk+3-devel amtk-devel libglib-devel vte3-devel"
|
||||
gtk+3-devel libglib-devel vte3-devel"
|
||||
depends="desktop-file-utils hicolor-icon-theme"
|
||||
short_desc="Advanced calculator including a mathematical programming language"
|
||||
maintainer="Samadi van Koten <samadi@vktec.co.uk>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="http://www.jirka.org/genius.html"
|
||||
distfiles="http://ftp.5z.com/pub/genius/genius-${version}.tar.xz"
|
||||
checksum=0e92c9a22f903012ef331c20ada5b30b6c666c0f11753958b8e38d720deb6e0c
|
||||
nocross="run the binaries"
|
||||
homepage="https://www.jirka.org/genius.html"
|
||||
changelog="https://www.jirka.org/genius.NEWS"
|
||||
distfiles="${GNOME_SITE}/genius/${version%.*}/genius-${version}.tar.xz"
|
||||
checksum=0243b7c36b5f9e930c62778acd52deb188deeca704a5e195337018435d9e7bb5
|
||||
|
||||
post_patch() {
|
||||
vsed -i -e '/PKG_CHECK_MODULES/s/ncurses/ncursesw/' configure.ac
|
||||
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 -i -e '/DATADIRNAME=/s/=.*/=share/' configure
|
||||
vsed -e '/DATADIRNAME=/s/=.*/=share/' -i configure
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue