void-packages/srcpkgs/gtk-sharp/template

26 lines
844 B
Bash

# Template file for 'gtk-sharp'
pkgname=gtk-sharp
version=2.99.3
revision=2
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libtool mono pkg-config"
makedepends="mono-devel gtk+3-devel libglade-devel"
maintainer="Enno Boland <gottox@voidlinux.org>"
homepage="https://www.mono-project.com/GtkSharp"
license="LGPL-2.1-or-later"
short_desc="Graphical User Interface Toolkit for mono and .Net (Gtk#)"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=6440f571416267ae0cb5698071d087b31e3084693fa2c829b1db37ca7ea2c3a2
pre_configure() {
# Use mcs instead of the dead gmcs compiler
sed "s/gmcs/mcs/" -i configure.ac
# Don't build broken threadcheck module
sed "s/ENABLE_THREADCHECK, true/ENABLE_THREADCHECK, false/" -i configure.ac
autoreconf -if
}