mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
sed -E '/dev-libs\/gobject-introspection(:=|\s|$|-[0-9]|\[)/ { s/(>=)?dev-libs\/gobject-introspection(-[0-9.r-]*)?/>=dev-libs\/gobject-introspection-1.82.0-r2/ }' */*/*.ebuild -i
+ manually going over to undo the false positives or if the version
requirement was higher.
Bug: https://bugs.gentoo.org/947058
See-Also: ae37e3f389808700bd0f4343ee04888f0ef179d2
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44336
Closes: https://github.com/gentoo/gentoo/pull/44336
Signed-off-by: Sam James <sam@gentoo.org>
58 lines
1.2 KiB
Bash
58 lines
1.2 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="7"
|
|
|
|
inherit autotools
|
|
|
|
MY_P="${P/_pre/.}"
|
|
MY_PV="${PV/_pre/.}"
|
|
|
|
DESCRIPTION="On-screen input pad to send characters with mouse"
|
|
HOMEPAGE="https://github.com/fujiwarat/input-pad/wiki"
|
|
SRC_URI="https://github.com/fujiwarat/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="eekboard +introspection static-libs +xtest"
|
|
|
|
RDEPEND="dev-libs/glib:2
|
|
dev-libs/libxml2:=
|
|
x11-libs/gtk+:3
|
|
x11-libs/libX11
|
|
x11-libs/libxkbfile
|
|
x11-libs/libxklavier
|
|
virtual/libintl
|
|
eekboard? ( dev-libs/eekboard )
|
|
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2 )
|
|
xtest? ( x11-libs/libXtst )"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="dev-util/intltool
|
|
sys-devel/gettext
|
|
virtual/pkgconfig"
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-Wreturn-type.patch
|
|
"${FILESDIR}"/${PN}-man.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_enable eekboard eek) \
|
|
$(use_enable introspection) \
|
|
$(use_enable static-libs static) \
|
|
$(use_enable xtest)
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
use static-libs || find "${ED}" -name '*.la' -delete || die
|
|
}
|