diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /x11-misc/x2x/x2x-1.30.ebuild | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'x11-misc/x2x/x2x-1.30.ebuild')
-rw-r--r-- | x11-misc/x2x/x2x-1.30.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/x11-misc/x2x/x2x-1.30.ebuild b/x11-misc/x2x/x2x-1.30.ebuild new file mode 100644 index 000000000000..09d330e821dd --- /dev/null +++ b/x11-misc/x2x/x2x-1.30.ebuild @@ -0,0 +1,48 @@ +# 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/ +} |