summary refs log tree commit diff
path: root/x11-wm/wmutils
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-wm/wmutils-opt/metadata.xml3
-rw-r--r--x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild16
-rw-r--r--x11-wm/wmutils-opt/wmutils-opt-9999.ebuild16
3 files changed, 29 insertions, 6 deletions
diff --git a/x11-wm/wmutils-opt/metadata.xml b/x11-wm/wmutils-opt/metadata.xml
index 7869e07..5f43ae8 100644
--- a/x11-wm/wmutils-opt/metadata.xml
+++ b/x11-wm/wmutils-opt/metadata.xml
@@ -5,4 +5,7 @@
 		<email>azahi@teknik.io</email>
 		<name>azahi</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="github">wmutils/opt</remote-id>
+	</upstream>
 </pkgmetadata>
diff --git a/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild b/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild
index 992327f..e42c9e9 100644
--- a/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild
+++ b/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild
@@ -5,10 +5,10 @@ EAPI=7
 
 if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
-	EGIT_REPO_URI="https://github.com/wmutils/opt"
+	EGIT_REPO_URI="https://github.com/wmutils/opt.git"
 fi
 
-DESCRIPTION="Set of window manipulation tools"
+DESCRIPTION="Optional addons to wmutils"
 HOMEPAGE="https://github.com/wmutils/opt"
 
 if [[ ${PV} == *9999 ]]; then
@@ -23,10 +23,20 @@ LICENSE="ISC"
 SLOT="0"
 IUSE=""
 
-DEPEND="x11-libs/libxcb"
+DEPEND="
+	x11-libs/libxcb
+	x11-libs/xcb-util
+"
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
 if [[ ${PV} != *9999 ]]; then
 	S="${WORKDIR}/opt-${PV}"
 fi
+
+DOCS=( README.md )
+
+src_prepare() {
+	default
+	sed -e 's/-Os//g' -i config.mk || die
+}
diff --git a/x11-wm/wmutils-opt/wmutils-opt-9999.ebuild b/x11-wm/wmutils-opt/wmutils-opt-9999.ebuild
index 992327f..e42c9e9 100644
--- a/x11-wm/wmutils-opt/wmutils-opt-9999.ebuild
+++ b/x11-wm/wmutils-opt/wmutils-opt-9999.ebuild
@@ -5,10 +5,10 @@ EAPI=7
 
 if [[ ${PV} == *9999 ]]; then
 	inherit git-r3
-	EGIT_REPO_URI="https://github.com/wmutils/opt"
+	EGIT_REPO_URI="https://github.com/wmutils/opt.git"
 fi
 
-DESCRIPTION="Set of window manipulation tools"
+DESCRIPTION="Optional addons to wmutils"
 HOMEPAGE="https://github.com/wmutils/opt"
 
 if [[ ${PV} == *9999 ]]; then
@@ -23,10 +23,20 @@ LICENSE="ISC"
 SLOT="0"
 IUSE=""
 
-DEPEND="x11-libs/libxcb"
+DEPEND="
+	x11-libs/libxcb
+	x11-libs/xcb-util
+"
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
 if [[ ${PV} != *9999 ]]; then
 	S="${WORKDIR}/opt-${PV}"
 fi
+
+DOCS=( README.md )
+
+src_prepare() {
+	default
+	sed -e 's/-Os//g' -i config.mk || die
+}

Consider giving Nix/NixOS a try! <3