Merge pull request 'dev-dotnet/*: add git-based ebuild for GtkSharp/GtkSharp' (#130) from feature/new-gtk-sharp into master
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #130
This commit is contained in:
commit
e381155551
4 changed files with 87 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
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-r2.ebuild 1154 BLAKE2B 39c77bed551221fa921637857033c7a78e62b7895ae07ba4a82bda486f6f11de72135603ca5d66850f90ca30ed68e2c2641c2027a58dd991236a9365312cab30 SHA512 8bb4c526a866a23c3104570446980b684e000bd0eaadd83ac29a715a936273eb9a33886b2ba610af37d304ff8a95bbe4348a038522aaf9c7d747baf43a4fc2d0
|
||||
EBUILD gtk-sharp-9999.ebuild 1232 BLAKE2B ab6cabf8f51e4b03db410381f335d4c71c15c7f40c4fd63ace33aec0e9eb7b694a84891a31bb097bc7f6d5e445a8c1539814caeed849adb51f035f3d59856b1d SHA512 025396478f7d8b81dd3627fb1692aa00f2de176b08fb37e575e57fd167453f6180552241ec14332a733eea15a7d3b25109623a11aa80da96bf145dd67b43b0a7
|
||||
MISC ChangeLog 754 BLAKE2B 0b1f7abb45fdbddb2f038ed04d899bd97e2ea654d18569f61397c71017ed905f200062c3cbe6269b355bd59a10f9112bdc14f02c16e5923161ebe4123d4717d8 SHA512 f30f4b736fa0744f5f4bff210672ce5006c5679fd6ee50a1976631a334ebc597ee1f89d295a708433ee3ef71697e1d6e6333bcb2ee701571077b744b51ccb692
|
||||
MISC metadata.xml 500 BLAKE2B ed40c3992051fdea9daf967450f7cd084e80b8a81d2bf6b701709fe1b2567b052fd67851b15b0befffebcd017de6d3381850d318371e95c402e152198c2770b9 SHA512 69f503ae78ee8b83c1020914f8e9f4c670236c462e41651b0c33b0774c6e54ead5e8590f485d968f3b9fc44bdb4f23b101f8b60d0f25bea83ea9db18762ee869
|
||||
|
|
68
dev-dotnet/gtk-sharp/gtk-sharp-9999.ebuild
Normal file
68
dev-dotnet/gtk-sharp/gtk-sharp-9999.ebuild
Normal file
|
@ -0,0 +1,68 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DOTNET_PKG_COMPAT="6.0"
|
||||
|
||||
inherit git-r3 dotnet-pkg
|
||||
|
||||
EGIT_REPO_URI="https://github.com/GtkSharp/GtkSharp"
|
||||
#EGIT_BRANCH="master"
|
||||
#EGIT_COMMIT="964cb9c31506adf7c1c68fe8a6ac8c8076237f3a"
|
||||
EGIT_COMMIT="96f30862e9eea764ea1119c34d401b1c71e7ac57"
|
||||
|
||||
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"
|
||||
|
||||
DOTNET_PKG_PROJECTS=( "${S}/Source" )
|
||||
|
||||
RDEPEND="
|
||||
${DOTNET_PKG_RDEPS}
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
${DOTNET_PKG_BDEPS}
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-lang/mono-6.12
|
||||
app-accessibility/at-spi2-core
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
dotnet-pkg-base_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
dotnet-pkg_src_unpack
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
dotnet-pkg-base_restore_tools
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ewarn "!!!"
|
||||
ewarn "!!!BAD!!! Hardcoded DOTNET_ROOT in ebuild. How can I fix that?!"
|
||||
ewarn "!!!"
|
||||
DOTNET_ROOT=/opt/dotnet-sdk-bin-6.0 edotnet cake build.cake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv BuildOutput "${DOTNET_PKG_OUTPUT}"
|
||||
dotnet-pkg_src_install
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
BDEPEND=>=dev-util/meson-0.62.2 >=dev-util/ninja-1.8.2 dev-util/meson-format-array
|
||||
BDEPEND=>=dev-util/meson-1.2.1 app-alternatives/ninja dev-util/meson-format-array
|
||||
DEFINED_PHASES=compile configure install test
|
||||
DEPEND=>=dev-libs/glib-2.32 x11-libs/gtk+:3 >=dev-lang/mono-6.12 atk? ( app-accessibility/at-spi2-core ) cairo? ( x11-libs/cairo ) gdk? ( x11-libs/gdk-pixbuf ) gtk? ( x11-libs/gtk+:3 ) pango? ( x11-libs/pango )
|
||||
DESCRIPTION=gtk bindings for mono
|
||||
|
@ -12,5 +12,5 @@ RDEPEND=>=dev-libs/glib-2.32 x11-libs/gtk+:3
|
|||
REQUIRED_USE=gdk? ( atk cairo pango ) gtk? ( atk cairo gdk pango ) pango? ( cairo )
|
||||
SLOT=3
|
||||
SRC_URI=https://github.com/GLibSharp/GtkSharp/archive/refs/tags/3.22.2.tar.gz -> gtk-sharp-3.22.2.tar.gz
|
||||
_eclasses_=multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 39e7a84b06eff4efd9f2e0c3d1668b98 toolchain-funcs fbbbc99d10168de2926e06da7169b8dc multilib c19072c3cd7ac5cb21de013f7e9832e0 python-utils-r1 f6221c2f55e5e832be9919fe1711f33b meson af1ca7ad21fdd31fcc4fa91d8abca977
|
||||
_eclasses_=multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils c8951c1dfcc1d43e3f967f61fd0ec59c toolchain-funcs eed10cf5e5a06916e654d31f5a1925cc multilib c19072c3cd7ac5cb21de013f7e9832e0 python-utils-r1 474cb53a7d1b62721a91809a1d702661 meson 576e6bbef90e9753368f8b4ad0bd5383
|
||||
_md5_=2e9e6896f208c03ed07e6e6474c1809c
|
||||
|
|
16
metadata/md5-cache/dev-dotnet/gtk-sharp-9999
Normal file
16
metadata/md5-cache/dev-dotnet/gtk-sharp-9999
Normal file
|
@ -0,0 +1,16 @@
|
|||
BDEPEND=virtual/dotnet-sdk:6.0 dev-dotnet/csharp-gentoodotnetinfo >=dev-vcs/git-1.8.2.1[curl] virtual/dotnet-sdk:6.0 dev-dotnet/csharp-gentoodotnetinfo
|
||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||
DEPEND=virtual/dotnet-sdk:6.0 x11-libs/gtk+:3 >=dev-lang/mono-6.12 app-accessibility/at-spi2-core x11-libs/cairo x11-libs/gdk-pixbuf x11-libs/gtk+:3 x11-libs/pango
|
||||
DESCRIPTION=gtk bindings for mono
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/GtkSharp/GtkSharp
|
||||
INHERIT=git-r3 dotnet-pkg
|
||||
IUSE=debug
|
||||
KEYWORDS=~amd64 ~arm64 ~ppc ~x86
|
||||
LICENSE=GPL-2
|
||||
PROPERTIES=live
|
||||
RDEPEND=virtual/dotnet-sdk:6.0 x11-libs/gtk+:3 virtual/dotnet-sdk:6.0
|
||||
RESTRICT=strip
|
||||
SLOT=3
|
||||
_eclasses_=git-r3 86fa1f157b70b9d2ff340c4633b1cf4b edo c0eb9cbe6b0bd01fcb4918f12598a4d3 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe nuget 97fd2c5f9e9770fc8c4d2d7a52ddce5a dotnet-pkg-base c588e6a66feabd5fa4229c4eb10226ad dotnet-pkg a18b301da1d7f09dae8bdf84321f43a8
|
||||
_md5_=44dfa3a6c14b30d957bad2c18c586ce7
|
Loading…
Reference in a new issue