diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-18 02:33:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-18 02:33:38 +0100 |
commit | b5408a0879b82101f69b6bf3bc29b6e9e4969941 (patch) | |
tree | 476433e68266a2cc5100b7d966badf13755311c8 /x11-misc/accessx/accessx-0951-r3.ebuild | |
parent | 83b5cde41ddb8fd20de4536dd68eb08da42d013e (diff) |
gentoo auto-resync : 18:07:2022 - 02:33:38
Diffstat (limited to 'x11-misc/accessx/accessx-0951-r3.ebuild')
-rw-r--r-- | x11-misc/accessx/accessx-0951-r3.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/x11-misc/accessx/accessx-0951-r3.ebuild b/x11-misc/accessx/accessx-0951-r3.ebuild new file mode 100644 index 000000000000..852c3f4ae74b --- /dev/null +++ b/x11-misc/accessx/accessx-0951-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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" + +RDEPEND=" + dev-lang/tk:= + x11-libs/libX11 + x11-libs/libXext +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +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${ESYSROOT}/usr/$(get_libdir)" \ + LLIBS="$($(tc-getPKG_CONFIG) --libs xext) $($(tc-getPKG_CONFIG) --libs x11)" +} + +src_install() { + dobin accessx ax + einstalldocs +} |