dev-dotnet/gtk-sharp: Add ebuild for version 2.12.45

Package-Manager: Portage-2.3.89, Repoman-2.3.20
This commit is contained in:
Manuel Friedli 2020-03-19 01:06:51 +01:00
parent 52231a6a2f
commit eb4942db6a
4 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,5 @@
*gtk-sharp-2.12.45 (19 Mar 2020)
19 Mar 2020; Manuel Friedli <manuel@fritteli.ch> +gtk-sharp-2.12.45.ebuild,
+metadata.xml:
dev-dotnet/gtk-sharp: Add ebuild for version 2.12.45

View file

@ -0,0 +1,4 @@
DIST gtk-sharp-2.12.45.tar.gz 2644209 BLAKE2B 1455e1e5594b1b91851621b37a15932cd498857c19dab51c8434f764b3918f7c5ca47674eb5089ebecfc8e55850151a642617623744cdbce1566b158af998e54 SHA512 6e11a6a3e8f7f3f9511c674cdcbda15274e597b8e72bc2cdd6970f8906e295849a94108794c11b9aef5408631bf10d2dd7d855d5e5081f58fc790e7194f6159f
EBUILD gtk-sharp-2.12.45.ebuild 1383 BLAKE2B 5e267a93b420f62d103c7d79dd16420defcfc4eda26e0ba9ee8d67730759db1c1536483cbfab99a3c5b66597e8694ce18373a6fd182e329a6e4016589ec4632b SHA512 8e105219a91781ca4b6d3256e38f57a26be4abc8fcab8b7537f89a39cf333e728917c86bea4ac7c5e1ac3106e9336c81629d62b595718d2608401fafd83c1ebe
MISC ChangeLog 184 BLAKE2B 82098e9eb5b24207855e9b901e7467e960ff6438ca5c407d3b5260015b2624b0c143bc5f1a944e7d8a883003e8e14f9827306a7fb2916904972b09ad7b570e53 SHA512 8b78609d5375b4dd340c49db4a68c2df599b803e391a118a97009f258176d716cbced02fbc30fa2f6bae1a0ec3ed54151cc58eab03af3659a8aba18cd2a28336
MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2

View file

@ -0,0 +1,67 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
#inherit dotnet autotools base
inherit dotnet autotools
SLOT="2"
DESCRIPTION="gtk bindings for mono"
LICENSE="GPL-2"
HOMEPAGE="http://www.mono-project.com/GtkSharp"
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
SRC_URI="http://download.mono-project.com/sources/gtk-sharp212/${P}.tar.gz"
IUSE="debug"
RESTRICT="test"
RDEPEND="
>=dev-lang/mono-3.0
x11-libs/pango
>=dev-libs/glib-2.31
dev-libs/atk
x11-libs/gtk+:2
gnome-base/libglade
dev-perl/XML-LibXML
!dev-dotnet/gtk-sharp-gapi
!dev-dotnet/gtk-sharp-docs
!dev-dotnet/gtk-dotnet-sharp
!dev-dotnet/gdk-sharp
!dev-dotnet/glib-sharp
!dev-dotnet/glade-sharp
!dev-dotnet/pango-sharp
!dev-dotnet/atk-sharp"
DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/automake:1.11"
src_unpack() {
mkdir "${T}"/the_registry
default
}
src_prepare() {
eautoreconf
_elibtoolize
eapply_user
}
src_configure() {
econf --disable-static \
--disable-maintainer-mode \
$(use_enable debug)
}
src_compile() {
MONO_REGISTRY_PATH="${T}/the_registry" emake
}
src_install() {
default
dotnet_multilib_comply
sed -i "s/\\r//g" "${D}"/usr/bin/* || die "sed failed"
dodir /etc/mono/registry || die "failed to create registry dir"
insinto /etc/mono/registry
doins -r "${T}"/the_registry/* || die "failed to install to registry"
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>manuel@fritteli.ch</email>
<name>Manuel Friedli</name>
</maintainer>
</pkgmetadata>