summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/light/Manifest1
-rw-r--r--sys-apps/light/light-1.2.ebuild26
-rw-r--r--sys-apps/light/metadata.xml8
3 files changed, 35 insertions, 0 deletions
diff --git a/sys-apps/light/Manifest b/sys-apps/light/Manifest
new file mode 100644
index 00000000000..bb1931fe604
--- /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 00000000000..96d743e0796
--- /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 00000000000..1a06e96ebdc
--- /dev/null
+++ b/sys-apps/light/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chainsaw@gentoo.org</email>
+ <name>Tony Vroon</name>
+ </maintainer>
+</pkgmetadata>