From 6cafe8b2adb5449e7a7c98b024b618939d0774b9 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 30 Sep 2022 04:51:31 -0400 Subject: x11-misc/x2x: fixup build deps This doesn't use imake/rman anymore. Small package so revbump to allow depcleaning these more easily. Signed-off-by: Ionen Wolkens --- x11-misc/x2x/x2x-1.30-r1.ebuild | 45 ++++++++++++++++++++++++++++++++++++++ x11-misc/x2x/x2x-1.30.ebuild | 48 ----------------------------------------- 2 files changed, 45 insertions(+), 48 deletions(-) create mode 100644 x11-misc/x2x/x2x-1.30-r1.ebuild delete mode 100644 x11-misc/x2x/x2x-1.30.ebuild (limited to 'x11-misc') diff --git a/x11-misc/x2x/x2x-1.30-r1.ebuild b/x11-misc/x2x/x2x-1.30-r1.ebuild new file mode 100644 index 000000000000..505f19649f03 --- /dev/null +++ b/x11-misc/x2x/x2x-1.30-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="A utility to connect the mouse and keyboard to another X" +HOMEPAGE="https://github.com/dottedmag/x2x" +SRC_URI="https://github.com/dottedmag/x2x/archive/refs/tags/debian/${PV}-10.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-debian-1.30-10 + +LICENSE="MIT BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~mips ppc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXtst + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + # Patch to fix bug #126939 + # AltGr does not work in x2x with different keymaps: + "${FILESDIR}"/${PN}_1.30-10-keymap.patch +) + +DOCS=( README AUTHORS INSTALL ChangeLog ChangeLog.old ) + +src_prepare() { + default + eautoreconf +} + +src_compile() { + emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" +} + +src_install() { + default + dodoc -r docs/ +} diff --git a/x11-misc/x2x/x2x-1.30.ebuild b/x11-misc/x2x/x2x-1.30.ebuild deleted file mode 100644 index e1ea883c0b2f..000000000000 --- a/x11-misc/x2x/x2x-1.30.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools toolchain-funcs - -DESCRIPTION="A utility to connect the mouse and keyboard to another X" -HOMEPAGE="https://github.com/dottedmag/x2x" -SRC_URI="https://github.com/dottedmag/x2x/archive/refs/tags/debian/${PV}-10.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~mips ppc x86" -IUSE="" - -RDEPEND="x11-libs/libX11 - x11-libs/libXtst - x11-libs/libXext" -DEPEND="${RDEPEND}" -BDEPEND=" - app-text/rman - x11-base/xorg-proto - >=x11-misc/imake-1.0.8-r1" - -S="${WORKDIR}"/${PN}-debian-1.30-10 - -PATCHES=( - # Patch to fix bug #126939 - # AltGr does not work in x2x with different keymaps: - "${FILESDIR}"/${PN}_1.30-10-keymap.patch -) -DOCS=( README AUTHORS INSTALL ChangeLog ChangeLog.old ) - -src_prepare() { - default - eautoreconf -} - -src_compile() { - emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \ - EXTRA_LDOPTIONS="${LDFLAGS}" -} - -src_install() { - default - dodoc -r docs/ -} -- cgit v1.2.3-65-gdbad