gtk-sharp2: remove package

Uses GTK2 which is not supported anymore.

The repository already has another package with GTK3 support
(gtk-sharp).
This commit is contained in:
Krul Ceter 2022-11-17 00:47:38 +03:00 committed by Michal Vasilek
parent 58ca2ee7e1
commit 7906164df1
3 changed files with 1 additions and 40 deletions

View File

@ -1,11 +0,0 @@
--- a/sample/test/TestRange.cs
+++ b/sample/test/TestRange.cs
@@ -9,6 +9,8 @@
using System;
using Gtk;
+// disambiguate, Gtk.Range vs System.Range
+using Range=Gtk.Range;
namespace WidgetViewer {

View File

@ -1,29 +0,0 @@
# Template file for 'gtk-sharp2'
pkgname=gtk-sharp2
version=2.12.45
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config automake libtool mono"
makedepends="mono-devel gtk+-devel libglade-devel"
maintainer="John <me@johnnynator.dev>"
short_desc="Graphical User Interface Toolkit for mono and .Net (Gtk#)"
license="LGPL-2.1-only"
homepage="https://www.mono-project.com/docs/gui/gtksharp/"
distfiles="https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-${version}.tar.gz"
checksum=02680578e4535441064aac21d33315daa009d742cab8098ac8b2749d86fffb6a
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
_have_mdoc="no"
elif [[ $XBPS_TARGET_MACHINE == ppc* ]]; then
_have_mdoc="no"
fi
pre_configure() {
# mdoc is not shipped on ppc64le and all BE because it needs roslyn
if [ "$_have_mdoc" = "no" ]; then
sed "s/enable_monodoc=yes/enable_monodoc=no/" -i configure.in
fi
autoreconf -i
}

View File

@ -139,6 +139,7 @@ replaces="
gst1-python<=1.18.3_1
gtkhtml-devel<=4.10.0_1
gtkhtml<=4.10.0_1
gtk-sharp2<=2.12.45_2
guile1.8-devel<=1.8.8_3
guile1.8<=1.8.8_3
gx-go<=1.9.0_1