summaryrefslogtreecommitdiff
path: root/dev-libs/light
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/light')
-rw-r--r--dev-libs/light/Manifest3
-rw-r--r--dev-libs/light/light-1.2-r1.ebuild30
-rw-r--r--dev-libs/light/metadata.xml11
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/light/Manifest b/dev-libs/light/Manifest
new file mode 100644
index 000000000000..b5e490d5d5bc
--- /dev/null
+++ b/dev-libs/light/Manifest
@@ -0,0 +1,3 @@
+DIST light-1.2.tar.gz 32592 BLAKE2B 86d2bf4a88cf61ec1b7af16510db3d26698397d5cc3ddee7f663c1f501ca6b5bf238e5f29f17142d6196908e1d444795abed41a12560c9411214d4a874c96ddb SHA512 3f876262a730ef34219e0d596065c725376218ca88a2e9f56f62a25956b9ba505168f32c5877715abf746090c053873322a3292680055cc2f5b77ec8c0d466a4
+EBUILD light-1.2-r1.ebuild 582 BLAKE2B 5b6009e2965b320bc7d391d417d49f7d9c7c2e7b209eb5f3d8bdc07a1be32b820a79e903859dd67a25fa003b334b36e9c4d777b0f99556caeab5287aa604e6ba SHA512 3a2ab39a7c4d99c2c987a7d92dc74069465d67630ad83650f9b4e4249cf2d6f52c8cc0c3cd8748b436cee329f7cb2355702385276cb9e6b5a767bf7ec81b14d9
+MISC metadata.xml 355 BLAKE2B 87de7a4fb6653614915e68daf6b4acf751c6e0a27b156acb5f442bfe118496ec975cba6edad9c79063cea8811a0692991d74a3d179f3ab50b538bb1f41de9e03 SHA512 9dbbe3645a35e946fcac945c8e1aa52500393e12b44db82fa8eb0fb804109b045081ba9ad808b7a5f52a9d2fca7ae303b7af7093591096f2e11c6bb47768ff76
diff --git a/dev-libs/light/light-1.2-r1.ebuild b/dev-libs/light/light-1.2-r1.ebuild
new file mode 100644
index 000000000000..ce2801ebb1c1
--- /dev/null
+++ b/dev-libs/light/light-1.2-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="A program to control backlights (and other hardware lights)"
+HOMEPAGE="https://github.com/haikarainen/light"
+SRC_URI="https://github.com/haikarainen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="udev"
+
+RDEPEND=""
+DEPEND="udev? ( virtual/libudev:= )
+ ${RDEPEND}"
+
+src_prepare() {
+ eautoreconf
+ default
+}
+
+src_configure() {
+ use udev && econf \
+ --with-udev="/lib/udev/rules.d"
+}
diff --git a/dev-libs/light/metadata.xml b/dev-libs/light/metadata.xml
new file mode 100644
index 000000000000..62e9eba6759d
--- /dev/null
+++ b/dev-libs/light/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bman@gentoo.org</email>
+ <name>Aaron Bauman</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">haikarainen/light</remote-id>
+ </upstream>
+</pkgmetadata>