dev-dotnet/gtk-sharp - 3.22.2 (guru)

Search

Install

Install this version:

emerge -a =dev-dotnet/gtk-sharp-3.22.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-dotnet/gtk-sharp-3.22.2

Or alternatively:

emerge --autounmask-write -a =dev-dotnet/gtk-sharp-3.22.2

Package Information

Description:
gtk bindings for mono
Homepage:
https://github.com/GLibSharp/GtkSharp
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
3.22.2 8 ~amd64 ~arm64 ~ppc ~x86 3
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

MY_PN="GtkSharp"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="gtk bindings for mono"
HOMEPAGE="https://github.com/GLibSharp/GtkSharp"
SRC_URI="https://github.com/GLibSharp/GtkSharp/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="GPL-2"
SLOT="3"
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
IUSE="+atk +cairo +gdk +gtk +pango"

REQUIRED_USE="
	gdk? ( atk cairo pango )
	gtk? ( atk cairo gdk pango )
	pango? ( cairo )
"

RDEPEND="
	>=dev-libs/glib-2.32
	x11-libs/gtk+:3
"

DEPEND="${RDEPEND}
	>=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 )"

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
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-dotnet/gtk-sharp | euse -E <flag> -p dev-dotnet/gtk-sharp | euse -D <flag> -p dev-dotnet/gtk-sharp

Global/Standard Flags

atk
Default: Enabled (+)
cairo
Default: Enabled (+)
gdk
Default: Enabled (+)
gtk
Default: Enabled (+)
pango
Default: Enabled (+)

Inherited Eclasses

Dependencies

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 )

RDEPEND

	>=dev-libs/glib-2.32
	x11-libs/gtk+:3

Manifest for 3.22.2

Type File Size Source URLs
DIST gtk-sharp-3.22.2.tar.gz 3297236 bytes https://github.com/GLibSharp/GtkSharp/archive/refs/tags/3.22.2.tar.gz