From: Tony Vroon Date: Thu, 8 Aug 2019 13:33:11 +0000 (+0100) Subject: sys-apps/light: Initial commit. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5065c6198313ab3ecdfa34f75b4c8e06c0c18969;p=gentoo.git sys-apps/light: Initial commit. Ebuild adapted from the bugzilla submission of Pallav Agarwal. Suggested-By: Pallav Agarwal Signed-Off-By: Tony Vroon Package-Manager: Portage-2.3.69, Repoman-2.3.16 --- diff --git a/sys-apps/light/Manifest b/sys-apps/light/Manifest new file mode 100644 index 000000000000..bb1931fe604d --- /dev/null +++ b/sys-apps/light/Manifest @@ -0,0 +1 @@ +DIST light-1.2.tar.gz 32592 BLAKE2B 86d2bf4a88cf61ec1b7af16510db3d26698397d5cc3ddee7f663c1f501ca6b5bf238e5f29f17142d6196908e1d444795abed41a12560c9411214d4a874c96ddb SHA512 3f876262a730ef34219e0d596065c725376218ca88a2e9f56f62a25956b9ba505168f32c5877715abf746090c053873322a3292680055cc2f5b77ec8c0d466a4 diff --git a/sys-apps/light/light-1.2.ebuild b/sys-apps/light/light-1.2.ebuild new file mode 100644 index 000000000000..96d743e07960 --- /dev/null +++ b/sys-apps/light/light-1.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Program to easily change brightness on backlight-controllers." +HOMEPAGE="https://github.com/haikarainen/light" +SRC_URI="https://github.com/haikarainen/light/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="udev" +DEPEND="udev? ( virtual/udev )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_with udev udev /lib/udev/rules.d) +} diff --git a/sys-apps/light/metadata.xml b/sys-apps/light/metadata.xml new file mode 100644 index 000000000000..1a06e96ebdc7 --- /dev/null +++ b/sys-apps/light/metadata.xml @@ -0,0 +1,8 @@ + + + + + chainsaw@gentoo.org + Tony Vroon + +