summary refs log tree commit diff
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-08-17 19:47:11 +0300
committerAzat Bahawi <azahi@teknik.io>2020-08-17 19:47:11 +0300
commit434f36ccde77d6e2ccfe3c3644558157bcc47996 (patch)
tree50b99818bb26e222be88b03379f5d9a805459349
parentx11-wm/wmutils-contrib: Modify USE, build (diff)
x11-wm/wmutils-opt: Update deps, strip
Update dependencies
Strip optimization flags
Install documentation
-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