summaryrefslogtreecommitdiff
path: root/x11-misc/accessx
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/accessx')
-rw-r--r--x11-misc/accessx/Manifest2
-rw-r--r--x11-misc/accessx/accessx-0951-r3.ebuild (renamed from x11-misc/accessx/accessx-0951-r2.ebuild)27
2 files changed, 17 insertions, 12 deletions
diff --git a/x11-misc/accessx/Manifest b/x11-misc/accessx/Manifest
index 7d741d02b67b..4075f9447c2b 100644
--- a/x11-misc/accessx/Manifest
+++ b/x11-misc/accessx/Manifest
@@ -1,4 +1,4 @@
AUX accessx-0951-build.patch 1666 BLAKE2B c12d1afcf76d15997a194c696bb0f1a32bcfdaa4d26cbe19b46940af7dd4a4d38e423d5cbd6afdba38a90250095d068e1522e6132b34c6e155bdb1e0f3b555de SHA512 9a5c35b1ddd0ec2b79c0d9c65fce108db9af47d407e8d0f9c83be70d77b52d22e277d0394378b8f3ecd1c233e9ccf8c0601b71580e96841ce7f714ed61b43b95
DIST accessx0951.tar.gz 17199 BLAKE2B 85ed54260c1bd26e36d584ba6f69237bb5844e5bdba115259763d73b4b5deacaf31d6ce6c5c17e5863b3cafa371ee2e8363fbf0b9ab435f433eb33b4f630fc00 SHA512 2e152e15f89b95c1776327161ea36b879d2060e46e4414d0dc2e877967f570c427073ec514aecc447a5a7afedf53c43c6b5dbe30164e8098528e78392b5fa9c3
-EBUILD accessx-0951-r2.ebuild 925 BLAKE2B 704289a3f81d3652031fed5e8de42ac1622adec4fda0223e3396de9e011fec20ea37d7541c49b75058662faebaf94d9dfe45d8a4dce863a711f21cfa26ccbbbe SHA512 c49a65773ec953a607fa13e4a44a92946aed9b0937f0c57a9e10446c28ca74242bba6c2f6b6fa165059b5288d618983642bb87e0d4cf173e98c693f63cf708ae
+EBUILD accessx-0951-r3.ebuild 952 BLAKE2B a916f00438502ffdf76cf3884d12a3991646c118b4a1cb538fd1805dbd7ec682c3ceb2b68c36662ac61ef6489637a198ac6288320a89968ab94df197d6ed2460 SHA512 e1e17a94bedfe34068dd31f408f672beee410f272056990a47046a7b9dfe79328fb63065c862a6461bb14a379dd9b03be0162774c46d4930bc2f35611624293e
MISC metadata.xml 277 BLAKE2B ebaa8353413cfc5519fce99f8627c71cf765fc6d42b42651e232274de315487c156d45dcb23a401dffb8f112600b0dadd56f93d2283ff86b4293dc5490ad4059 SHA512 c8ef9069153b124118a6be64375c6954ccc6f518a13805e4ff1c33c9cec136170132a580c4a9781930b709c93678c94d6448291625de34d18fea41bfd17f685d
diff --git a/x11-misc/accessx/accessx-0951-r2.ebuild b/x11-misc/accessx/accessx-0951-r3.ebuild
index effe98e9c553..852c3f4ae74b 100644
--- a/x11-misc/accessx/accessx-0951-r2.ebuild
+++ b/x11-misc/accessx/accessx-0951-r3.ebuild
@@ -1,39 +1,44 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit toolchain-funcs
DESCRIPTION="Interface to the XKEYBOARD extension in X11"
HOMEPAGE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php"
SRC_URI="http://cmos-eng.rehab.uiuc.edu/${PN}/software/${PN}${PV}.tar.gz"
+S="${WORKDIR}"/${PN}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc sparc x86"
-IUSE=""
-RDEPEND="x11-libs/libX11
+RDEPEND="
+ dev-lang/tk:=
+ x11-libs/libX11
x11-libs/libXext
- dev-lang/tk:0="
-DEPEND="
- ${RDEPEND}
- virtual/pkgconfig
"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
-S=${WORKDIR}/${PN}
-PATCHES=( "${FILESDIR}"/${P}-build.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-build.patch
+)
src_prepare() {
default
+
sed -i \
-e 's:$(CC) $(OPTS) ax.C:$(CC) $(LDFLAGS) $(OPTS) ax.C:' \
Makefile || die
}
src_compile() {
- emake CC="$(tc-getCXX)" OPTS="${CXXFLAGS}" XLIBDIR="-L/usr/$(get_libdir)" \
+ emake \
+ CC="$(tc-getCXX)" \
+ OPTS="${CXXFLAGS}" \
+ XLIBDIR="-L${ESYSROOT}/usr/$(get_libdir)" \
LLIBS="$($(tc-getPKG_CONFIG) --libs xext) $($(tc-getPKG_CONFIG) --libs x11)"
}