mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
x11-misc/xkblayout-state: Initial commit
Closes: https://github.com/gentoo/gentoo/pull/6389 Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
committed by
Michał Górny
parent
c3ceb5cbcb
commit
27c925f82d
1
x11-misc/xkblayout-state/Manifest
Normal file
1
x11-misc/xkblayout-state/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST xkblayout-state-0_p20180118.tar.gz 6853 BLAKE2B 1a8b3a9c89d9647bb8b9f6a2261f2e06f44f408823939268d60364fe532b9501e3c36d8f66cc1160f0b5432874d48046f848159842d09135a6cb4af658a8b248 SHA512 7618e920f8044324b7f4eb58d4e22ce076056d2d911cd950e6a862303c4b37f31f5919fec69c63173a7ff181d51849def4f6a78a407baf3012232f2f423bed00
|
||||
12
x11-misc/xkblayout-state/metadata.xml
Normal file
12
x11-misc/xkblayout-state/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>karl.j.linden@gmail.com</email>
|
||||
<name>Karl Linden</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
31
x11-misc/xkblayout-state/xkblayout-state-0_p20180118.ebuild
Normal file
31
x11-misc/xkblayout-state/xkblayout-state-0_p20180118.ebuild
Normal file
@@ -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
|
||||
}
|
||||
26
x11-misc/xkblayout-state/xkblayout-state-9999.ebuild
Normal file
26
x11-misc/xkblayout-state/xkblayout-state-9999.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user