summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/colt/Manifest1
-rw-r--r--x11-misc/colt/colt-1.1.ebuild35
-rw-r--r--x11-misc/colt/colt-9999.ebuild35
-rw-r--r--x11-misc/colt/metadata.xml8
4 files changed, 79 insertions, 0 deletions
diff --git a/x11-misc/colt/Manifest b/x11-misc/colt/Manifest
new file mode 100644
index 0000000..bba6856
--- /dev/null
+++ b/x11-misc/colt/Manifest
@@ -0,0 +1 @@
+DIST colt-1.1.tar.gz 2390 BLAKE2B f58091d78c372e463abf65be7f77168cf5e3a9776e732831563be6b186b15ff2746c55da2c2aaa17aff7888ae5d7bfb49a41b91721873dbc0c771667449a3d15 SHA512 d857e93e2b4d963a335086be4c5efe09e9f24361820a0a84c5b565d0f888e8e5ddbabf1358a3c446369cc415f47aec7bef0dca5cb82bec94c92e34f74d90ec60
diff --git a/x11-misc/colt/colt-1.1.ebuild b/x11-misc/colt/colt-1.1.ebuild
new file mode 100644
index 0000000..3d9e68b
--- /dev/null
+++ b/x11-misc/colt/colt-1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/azahi/colt.git"
+fi
+
+DESCRIPTION="A small color temperature and brightness controller for X11."
+HOMEPAGE="https://github.com/azahi/colt"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/azahi/colt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="WTFPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+	x11-libs/libXinerama
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install ()
+{
+	dobin ${PN}
+}
diff --git a/x11-misc/colt/colt-9999.ebuild b/x11-misc/colt/colt-9999.ebuild
new file mode 100644
index 0000000..3d9e68b
--- /dev/null
+++ b/x11-misc/colt/colt-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/azahi/colt.git"
+fi
+
+DESCRIPTION="A small color temperature and brightness controller for X11."
+HOMEPAGE="https://github.com/azahi/colt"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/azahi/colt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="WTFPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+	x11-libs/libXinerama
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_install ()
+{
+	dobin ${PN}
+}
diff --git a/x11-misc/colt/metadata.xml b/x11-misc/colt/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/x11-misc/colt/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>azahi@teknik.io</email>
+		<name>azahi</name>
+	</maintainer>
+</pkgmetadata>

Consider giving Nix/NixOS a try! <3