commit: c17ecff78b0d3c7b5d96e483177608f3d628e22e Author: Ian Whyman <thev00d00 <AT> gentoo <DOT> org> AuthorDate: Sun Jul 29 09:41:12 2018 +0000 Commit: Ian Whyman <thev00d00 <AT> gentoo <DOT> org> CommitDate: Sun Jul 29 12:01:00 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c17ecff7
sys-apps/sensei-raw-ctl: New package Package-Manager: Portage-2.3.41, Repoman-2.3.9 sys-apps/sensei-raw-ctl/Manifest | 1 + sys-apps/sensei-raw-ctl/metadata.xml | 11 ++++++++ .../sensei-raw-ctl-0.0_pre20180729.ebuild | 32 ++++++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/sys-apps/sensei-raw-ctl/Manifest b/sys-apps/sensei-raw-ctl/Manifest new file mode 100644 index 00000000000..2f6f0c9f18c --- /dev/null +++ b/sys-apps/sensei-raw-ctl/Manifest @@ -0,0 +1 @@ +DIST sensei-raw-ctl-0.0_pre20180729.tar.gz 16103 BLAKE2B b3e1348768663bbac7e7668ad8874c2831127b11a7ee57a9952a33ce96c404d34f50ab08bedc29f8a2c2599f4b179bd98717cece836c782b0c03f91e99c6c00d SHA512 e613ed13ad7321dd005067f989f5c487f2f6edf7e795be903f6d32b9ed8ae5874dfd928d678ef6bf38f792bdc54740f200533008f2959208d8ac9a73f3b8994b diff --git a/sys-apps/sensei-raw-ctl/metadata.xml b/sys-apps/sensei-raw-ctl/metadata.xml new file mode 100644 index 00000000000..078205ca890 --- /dev/null +++ b/sys-apps/sensei-raw-ctl/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <bugs-to>https://git.janouch.name/p/sensei-raw-ctl/issues</bugs-to> + <changelog>https://git.janouch.name/p/sensei-raw-ctl/commits/branch/master</changelog> + </upstream> + <maintainer type="person"> + <email>thev00...@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/sys-apps/sensei-raw-ctl/sensei-raw-ctl-0.0_pre20180729.ebuild b/sys-apps/sensei-raw-ctl/sensei-raw-ctl-0.0_pre20180729.ebuild new file mode 100644 index 00000000000..1afb6245434 --- /dev/null +++ b/sys-apps/sensei-raw-ctl/sensei-raw-ctl-0.0_pre20180729.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_COMMIT="175d72ee849afe6e3547739132103cb26acf9173" + +inherit cmake-utils + +DESCRIPTION="SteelSeries Sensei Raw configuration tool" +HOMEPAGE="https://git.janouch.name/p/sensei-raw-ctl" +SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk" + +DEPEND=" + virtual/libusb:1 + gtk? ( x11-libs/gtk+:3 ) +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_configure() { + local mycmakeargs=( + "-DBUILD_GUI=$(usex gtk)" + ) + cmake-utils_src_configure +}