diff --git a/x11-misc/xkblayout-state/Manifest b/x11-misc/xkblayout-state/Manifest new file mode 100644 index 0000000000000..a23c24b233aa5 --- /dev/null +++ b/x11-misc/xkblayout-state/Manifest @@ -0,0 +1 @@ +DIST xkblayout-state-0_p20180118.tar.gz 6853 BLAKE2B 1a8b3a9c89d9647bb8b9f6a2261f2e06f44f408823939268d60364fe532b9501e3c36d8f66cc1160f0b5432874d48046f848159842d09135a6cb4af658a8b248 SHA512 7618e920f8044324b7f4eb58d4e22ce076056d2d911cd950e6a862303c4b37f31f5919fec69c63173a7ff181d51849def4f6a78a407baf3012232f2f423bed00 diff --git a/x11-misc/xkblayout-state/metadata.xml b/x11-misc/xkblayout-state/metadata.xml new file mode 100644 index 0000000000000..b5f0b450d0019 --- /dev/null +++ b/x11-misc/xkblayout-state/metadata.xml @@ -0,0 +1,12 @@ + + + + + karl.j.linden@gmail.com + Karl Linden + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/x11-misc/xkblayout-state/xkblayout-state-0_p20180118.ebuild b/x11-misc/xkblayout-state/xkblayout-state-0_p20180118.ebuild new file mode 100644 index 0000000000000..afbeba66bacf7 --- /dev/null +++ b/x11-misc/xkblayout-state/xkblayout-state-0_p20180118.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +# Commit Date: 18 Jan 2018 +EGIT_COMMIT="45b752b130e077d5b1437d40b0a459e062aafa13" + +DESCRIPTION="A small program to get/set the current XKB layout" +HOMEPAGE="https://github.com/nonpop/xkblayout-state" +SRC_URI="https://github.com/nonpop/xkblayout-state/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +RDEPEND="x11-libs/libX11" +DEPEND="${RDEPEND}" + +src_compile() { + emake CXX="$(tc-getCXX)" +} + +src_install() { + emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install +} diff --git a/x11-misc/xkblayout-state/xkblayout-state-9999.ebuild b/x11-misc/xkblayout-state/xkblayout-state-9999.ebuild new file mode 100644 index 0000000000000..b92c94a33662f --- /dev/null +++ b/x11-misc/xkblayout-state/xkblayout-state-9999.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit git-r3 toolchain-funcs + +DESCRIPTION="A small program to get/set the current XKB layout" +HOMEPAGE="https://github.com/nonpop/xkblayout-state" +EGIT_REPO_URI="https://github.com/nonpop/xkblayout-state.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND="x11-libs/libX11" +DEPEND="${RDEPEND}" + +src_compile() { + emake CXX="$(tc-getCXX)" +} + +src_install() { + emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install +}