gtk-sharp: fix build

also build for musl
This commit is contained in:
Rasmus Thomsen 2018-10-05 01:12:49 +02:00 committed by Helmut Pozimski
parent 389bbce514
commit b5b2df6b56

View file

@ -1,16 +1,25 @@
# Template file for 'gtk-sharp'
pkgname=gtk-sharp
version=2.99.3
revision=1
only_for_archs="i686 x86_64"
revision=2
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="mono gtk+3-devel libglade-devel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.mono-project.com/GtkSharp"
license="LGPL-2.1"
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
}