gentoo/dev-perl/Gtk2/Gtk2-1.249.930-r1.ebuild
Fabian Groffen 2d25fad95c
*/*: drop *-linux keywords
Bug: https://bugs.gentoo.org/473598
Bug: https://bugs.gentoo.org/720224
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2025-12-19 10:51:55 +01:00

55 lines
981 B
Bash

# 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
}