1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils toolchain-funcs versionator
7 DEBIAN_P_MAJOR=$(get_version_component_range 3)
8 DEBIAN_P_MAJOR=${DEBIAN_P_MAJOR/p/}
10 DESCRIPTION="User preference utility for XKB extensions for X"
11 HOMEPAGE="https://faculty.missouri.edu/~stephen/software/#xkbset"
13 https://faculty.missouri.edu/~stephen/software/${PN}/${P/_p*/}.tar.gz
14 mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*/}-${DEBIAN_P_MAJOR}.debian.tar.xz
19 KEYWORDS="~amd64 ~x86"
33 S=${WORKDIR}/${P/_p*/}
36 "${FILESDIR}"/${P/_p*/}-ldflags.patch
37 "${WORKDIR}"/debian/patches/02-clarify-errors.patch
41 emake CC=$(tc-getCC) INC_PATH= LIB_PATH=
46 use tk && dobin xkbset-gui