summary refs log tree commit diff
path: root/x11-misc/bgs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-misc/bgs/Manifest1
-rw-r--r--x11-misc/bgs/bgs-0.8.ebuild29
-rw-r--r--x11-misc/bgs/metadata.xml8
3 files changed, 38 insertions, 0 deletions
diff --git a/x11-misc/bgs/Manifest b/x11-misc/bgs/Manifest
new file mode 100644
index 0000000..674de23
--- /dev/null
+++ b/x11-misc/bgs/Manifest
@@ -0,0 +1 @@
+DIST v0.8.tar.gz 5122 BLAKE2B f2d90e945e087c1e45d66c0a5e35dfa3057f422f8f3220a1665e812bc1db824f8dbc50e066387437b91b65e634bbfa43d6dddd55bc168e195abb84b61a37aa40 SHA512 4f7aa32d9cf60252abfc87cf72c7bc20ac691af3684a0923d3e2a3506407bddee9d2e5f49da97a154ed2acf1a876b2952ab61dd412f2de39c1303e7551acaec8
diff --git a/x11-misc/bgs/bgs-0.8.ebuild b/x11-misc/bgs/bgs-0.8.ebuild
new file mode 100644
index 0000000..bf7d66b
--- /dev/null
+++ b/x11-misc/bgs/bgs-0.8.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Simple background setter based on imlib2"
+HOMEPAGE="https://github.com/Gottox/bgs"
+SRC_URI="https://github.com/Gottox/bgs/archive/v${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="xinerama"
+
+DEPEND="media-libs/imlib2
+	x11-libs/libX11
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+
+	sed -e 's/PREFIX = \/usr\/local/PREFIX = \/usr/' -i config.mk || die
+
+	if use xinerama; then
+		sed -e '/XINERAMALIBS/d' -i config.mk || die
+		sed -e '/XINERAMAFLAGS/d' -i config.mk || die
+	fi
+}
diff --git a/x11-misc/bgs/metadata.xml b/x11-misc/bgs/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/x11-misc/bgs/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