void-packages/srcpkgs/gtk-sharp/template
Rasmus Thomsen b5b2df6b56 gtk-sharp: fix build
also build for musl
2018-10-05 13:09:57 +02:00

25 lines
856 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="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
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
}