dev-dotnet/gtk-sharp: Add ebuild for gtk-sharp 3.22.2.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details

Package-Manager: Portage-3.0.20, Repoman-3.0.2
This commit is contained in:
Manuel Friedli 2021-08-22 16:32:08 +02:00
parent 9d9e0d76b6
commit 3dc3dd623f
7 changed files with 81 additions and 144 deletions

View File

@ -1,3 +1,10 @@
*gtk-sharp-3.22.2 (22 Aug 2021)
22 Aug 2021; Manuel Friedli <manuel@gentoo.org>
+files/01-meson-build-gio.patch, +gtk-sharp-3.22.2.ebuild,
-gtk-sharp-2.12.45.ebuild, -gtk-sharp-3.24.24.34.ebuild, metadata.xml:
dev-dotnet/gtk-sharp: Add ebuild for gtk-sharp 3.22.2.
*gtk-sharp-2.12.45 (19 Mar 2020)
19 Mar 2020; Manuel Friedli <manuel@fritteli.ch> +gtk-sharp-2.12.45.ebuild,

View File

@ -1,6 +1,5 @@
DIST 3.24.24.34.tar.gz 2145197 BLAKE2B ca0157f1c6782e42a5e7086ae00cf934c77fa0b96f617b08a802e723d16d49f2cbf44ef9202df14d148394c40bbacfb5a79d43b449391f629715554264a3c212 SHA512 12c0d211d9da88ab5bc7e7dfd8bfbeba43fd5996937cad87f98d5157c246036eb1a69fbbfe25995b54ba226d50824d713846c032f7d9716ec1a295e15751b97f
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
EBUILD gtk-sharp-3.24.24.34.ebuild 1181 BLAKE2B 0783ec941605d0c0494d2e1d52e005306ea4b63846b4bddfe2c41b3b512617b69003218149b1222255fec819ae22d5982e20e630389c1894f6769d24cc0f1bc4 SHA512 cd39d40ae26ac3a9e9f44dacf102580904bf1b77305e42ccd70d315a663949172b3f638aea918bdd64e934d5b8dfea3980a6ab2b8731fc23b4c3a1096e925c8d
MISC ChangeLog 184 BLAKE2B 82098e9eb5b24207855e9b901e7467e960ff6438ca5c407d3b5260015b2624b0c143bc5f1a944e7d8a883003e8e14f9827306a7fb2916904972b09ad7b570e53 SHA512 8b78609d5375b4dd340c49db4a68c2df599b803e391a118a97009f258176d716cbced02fbc30fa2f6bae1a0ec3ed54151cc58eab03af3659a8aba18cd2a28336
MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2
AUX 01-meson-build-gio.patch 495 BLAKE2B 4e87dde4f08d1c5fc5c4531817a7e9c5aa2467c232e4f56c086df11025f66781f0cebabb5b3e44b2902213d96878b976fc8d3b540ada8dd25ae312373c0e9bcb SHA512 629fc63017ee0e7d45568d070bb5f61a0004b9e8eb92f6befa9dde108b13c03036444dae57e90ed3a9c839a558bacb825c2014ea829ed7a49b977d2437356d5c
DIST gtk-sharp-3.22.2.tar.gz 3297236 BLAKE2B ed6f9e19cc2db3e3a86a14107239b25ec4868222d5ef3d694372e824b8f323d70f5a4847c72a0c2a780cc474375fbf74c74ca3165fbed4255e68671614b9f9fc SHA512 8d4fdcbd54ec795dd5d8bd1fd9e4ec5ea5fff5169392891c99656d3fa1fffda28bbe6ac4e32f1201e7ed03b9702f37e85cd315946bf055efdd7b264d23e6007a
EBUILD gtk-sharp-3.22.2.ebuild 1040 BLAKE2B 61662b7240920cbfcea5b44a023f7e2ccea1e310231dadbd0404b1c25340ebb88c602c4967861a292b72fb551d69463e3b181cfbd6b7dad9507693b74f6d1132 SHA512 27748a4092c556818109b9e6f4a25d02e2b305344b1f050baa5223424beb838cc1e2108b7721c41aeaa96502377e06f99e175d63962a4a5ba6b8cafdd1264820
MISC ChangeLog 459 BLAKE2B 8ae63e60e6b999e12e54b60a5682c3976a583284d1f11f4d0bf43ad4e41ef08042ce3e76fb2c722c31b5dbe2e1f4c7df1c1c2ef4b773998d8731314145cb3bd5 SHA512 be805ffd06d94ad184a33edf172195299ffcc9d611ced021be082c0d2ed706680c7808a689042b8fc0aeccb6db0733dee63afed67bf7eaa23f90182f78673d91
MISC metadata.xml 417 BLAKE2B cf54245e7d2fba30caddcbb70f077e33f04f8fcf24c332ba130016c35b6566ffdf1c2f322914ba6d6989fc8d2559846ea8e14c2cd5210ea3b35370f7ee098c41 SHA512 efc7406e4693faf96ac080c13026160553a95be11d01239c3f6617c60d3e8de4fd31e9787aa406bbdeeeba386cef308746f441443402f90ea6b8d69d6f85ba24

View File

@ -0,0 +1,11 @@
diff --git a/Source/gio/generated/meson.build b/Source/gio/generated/meson.build
index f8e3978..416ed5c 100644
--- a/Source/gio/generated/meson.build
+++ b/Source/gio/generated/meson.build
@@ -413,5 +413,5 @@ pkgs += [pkg]
source_gen = files(generated_sources)
gio_api_includes = join_paths(meson.current_source_dir(), 'gio-api.xml')
if install
- install_data(gdk_api_includes, install_dir: gapi_xml_installdir)
+ install_data(gio_api_includes, install_dir: gapi_xml_installdir)
endif

View File

@ -1,67 +0,0 @@
# 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,53 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
#inherit dotnet autotools base
#inherit dotnet autotools
inherit meson
MY_PN="GtkSharp"
MY_P="${MY_PN}-${PV}"
SLOT="3"
DESCRIPTION="gtk bindings for mono"
LICENSE="GPL-2"
HOMEPAGE="https://github.com/GLibSharp/GtkSharp"
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
SRC_URI="https://github.com/GLibSharp/GtkSharp/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
IUSE="atk cairo gdk +gtk pango"
S="${WORKDIR}/${MY_P}"
RDEPEND="
>=dev-lang/mono-6.12
>=dev-libs/glib-2.32
x11-libs/gtk+:3
"
DEPEND="${RDEPEND}
atk? ( dev-libs/atk )
cairo? ( x11-libs/cairo )
gdk? ( x11-libs/gdk-pixbuf )
gtk? ( x11-libs/gtk+:3 )
pango? ( x11-libs/pango )"
PATCHES=( "${FILESDIR}/01-meson-build-gio.patch" )
src_configure() {
local emesonargs=(
$(meson_feature atk)
$(meson_feature cairo)
$(meson_feature gdk)
$(meson_feature gtk)
$(meson_feature pango)
-Dinstall=true
)
meson_src_configure
}
src_install() {
meson_src_install
}

View File

@ -1,71 +0,0 @@
# 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
MY_PN="GtkSharp"
MY_P="${MY_PN}-${PV}"
SLOT="3"
DESCRIPTION="gtk bindings for mono"
LICENSE="GPL-2"
HOMEPAGE="https://github.com/GtkSharp/GtkSharp"
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
SRC_URI="https://github.com/GtkSharp/GtkSharp/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
IUSE="debug"
S="${WORKDIR}/${MY_P}"
RESTRICT="test"
CDEPEND="
|| (
dev-dotnet/dotnetcore-sdk
dev-dotnet/dotnetcore-sdk-bin
)
dev-util/msbuild
"
RDEPEND="
>=dev-lang/mono-6.12
x11-libs/gtk+:3
"
# x11-libs/pango
# >=dev-libs/glib-2.31
# dev-libs/atk
# dev-perl/XML-LibXML
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

@ -5,4 +5,9 @@
<email>manuel@fritteli.ch</email>
<name>Manuel Friedli</name>
</maintainer>
<use>
<flag name="atk">Build the ATK bindings.</flag>
<flag name="gdk">Build the GDK bindings.</flag>
<flag name="pango">Build the Pango bindings.</flag>
</use>
</pkgmetadata>