dev-perl/Gtk2 - 1.249.930-r1 (gentoo)

Search

Deprecated: This version is deprecated.

Reason: gtk2. Nuff said. See HOMEPAGE, too.

Deprecated by Andreas K. Hüttel on 2021-06-11

Package Information

Description:
Perl bindings for GTK2
License:
LGPL-2.1+

Ebuild Details

Version EAPI Keywords Slot
1.249.930-r1 8 ~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~riscv ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=XAOC
DIST_VERSION=1.24993
inherit virtualx flag-o-matic perl-module

DESCRIPTION="Perl bindings for GTK2"

LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	x11-libs/gtk+:2
	>=dev-perl/Cairo-1
	>=dev-perl/glib-perl-1.280.0
	>=dev-perl/Pango-1.220.0

"
DEPEND="
	x11-libs/gtk+:2
"
BDEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
	>=dev-perl/ExtUtils-Depends-0.300.0
	>=dev-perl/ExtUtils-PkgConfig-1.30.0
	test? ( x11-libs/gdk-pixbuf[jpeg] )
"

PATCHES=(
	"${FILESDIR}"/${PN}-1.249.930-skip-pixbuf-test.patch
)

src_configure() {
	# Verbose build
	MAKEOPTS+=" NOECHO="

	# Archived upstream (bug #943822
	append-cflags -std=gnu17
	DIST_MAKE=(
		OPTIMIZE="${CFLAGS} -std=gnu17"
	)

	perl-module_src_configure
}

src_test() {
	virtx perl-module_src_test
}

USE Flags

Dependencies

DEPEND

	x11-libs/gtk+:2

RDEPEND

	x11-libs/gtk+:2
	>=dev-perl/Cairo-1
	>=dev-perl/glib-perl-1.280.0
	>=dev-perl/Pango-1.220.0

BDEPEND

	x11-libs/gtk+:2
	>=dev-perl/Cairo-1
	>=dev-perl/glib-perl-1.280.0
	>=dev-perl/Pango-1.220.0


	virtual/perl-ExtUtils-MakeMaker
	>=dev-perl/ExtUtils-Depends-0.300.0
	>=dev-perl/ExtUtils-PkgConfig-1.30.0
	test? ( x11-libs/gdk-pixbuf[jpeg] )