diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-17 10:35:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-17 10:35:54 +0000 |
commit | 463397cf1e064185110fe57c568d73f99a06f5d1 (patch) | |
tree | 9aa75eefc5154eaf0e3c33658b830fc54dc68052 /dev-libs/light | |
parent | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (diff) |
gentoo resync : 17.02.2021
Diffstat (limited to 'dev-libs/light')
-rw-r--r-- | dev-libs/light/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/light/light-1.2.2-r1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/light/Manifest b/dev-libs/light/Manifest index e5d78c0c8d85..116f9606071b 100644 --- a/dev-libs/light/Manifest +++ b/dev-libs/light/Manifest @@ -1,4 +1,5 @@ AUX light-1.2.2-fcommon.patch 483 BLAKE2B 466c16e726297c4b32d4c3276465d7f8f8dfd74e2a646446a6bb3a8c1168c0d81ed0c7076882660623c93f471b21ba4144144ead4fda286aaad19187030ec9c2 SHA512 e2b1662d20d9ee04b7fec20fbbadc4be1383edc7af661500dde2d11a76afe0e0eb334b4f5a1a6a6e83309478af1216e52a782a93e0b51f0afce3aae59b8c1dd5 DIST light-1.2.2.tar.gz 33009 BLAKE2B 6e23d7f89c1dbf412943f2b60a09f9189c5420649397a286fa964d249adb57cafb2943ef610dd13470e486d9dfb51ca40289d9974760e907f794baa27963821d SHA512 5815394fb1545d1e06234c261d475e1836e4c43e47e7707b8628891d20b70db04f1661b78ca1d236d549c734430b606498fa46de060c854791b13cf49de07b59 +EBUILD light-1.2.2-r1.ebuild 814 BLAKE2B 8f45a0005854034dfe385adcebace9d07c2ed5b3dfa4b214315232de93d067689da0bf74400ca2368642ee1e0f7be4107ebd6a2d19d94a91b2ae726262aca786 SHA512 daa7efc5aef76c592e1bb69c39fbf18ed434f717f9e2ec2c274521c29af5b33c5442a5fc1ae54c8cd3b9b79c814e629dbf327f5f833f36ae99cd83325794d27e EBUILD light-1.2.2.ebuild 690 BLAKE2B 3182a88b9fdcb68e375dd63115ba130e5dfc73fe529ae56772eaa8962de24c982f2d9451fd5fd2837701f26a9477b05c920b0685e63ebb53ffb407ce2e60a2f2 SHA512 2c0b5dd73ed7ad4346345f931e10079102e466c230d7875056b8bd9414367b833738a24d31d99320d9e3745d2dafd3ec6066d8721455a4f1a61b878bd7669b60 MISC metadata.xml 355 BLAKE2B 87de7a4fb6653614915e68daf6b4acf751c6e0a27b156acb5f442bfe118496ec975cba6edad9c79063cea8811a0692991d74a3d179f3ab50b538bb1f41de9e03 SHA512 9dbbe3645a35e946fcac945c8e1aa52500393e12b44db82fa8eb0fb804109b045081ba9ad808b7a5f52a9d2fca7ae303b7af7093591096f2e11c6bb47768ff76 diff --git a/dev-libs/light/light-1.2.2-r1.ebuild b/dev-libs/light/light-1.2.2-r1.ebuild new file mode 100644 index 000000000000..8ea699addebd --- /dev/null +++ b/dev-libs/light/light-1.2.2-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools udev + +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="acct-group/video" +DEPEND="udev? ( virtual/libudev:= ) + ${RDEPEND}" + +src_prepare() { + eapply "${FILESDIR}/${P}-fcommon.patch" + eapply_user + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(usex udev --with-udev="/lib/udev/rules.d" "") + ) + + econf "${myeconfargs[@]}" +} + +pkg_postinst() { + use udev && udev_reload + + ewarn "To use light as a regular user you must be a part of the video group" +} |