From 18649c966a96bab4580ba9867718705b5a035900 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 17 Aug 2020 19:07:36 +0300 Subject: x11-wm/wmutils: Update Modify build process Strip optimization flags from build files Install documentation --- x11-wm/wmutils/metadata.xml | 3 +++ x11-wm/wmutils/wmutils-1.5.ebuild | 22 ++++++++++++++++------ x11-wm/wmutils/wmutils-9999.ebuild | 22 ++++++++++++++++------ 3 files changed, 35 insertions(+), 12 deletions(-) diff --git a/x11-wm/wmutils/metadata.xml b/x11-wm/wmutils/metadata.xml index 7869e07..754d38c 100644 --- a/x11-wm/wmutils/metadata.xml +++ b/x11-wm/wmutils/metadata.xml @@ -5,4 +5,7 @@ azahi@teknik.io azahi + + wmutils/core + diff --git a/x11-wm/wmutils/wmutils-1.5.ebuild b/x11-wm/wmutils/wmutils-1.5.ebuild index 356456f..5529b29 100644 --- a/x11-wm/wmutils/wmutils-1.5.ebuild +++ b/x11-wm/wmutils/wmutils-1.5.ebuild @@ -4,12 +4,10 @@ EAPI=7 if [[ ${PV} == *9999 ]]; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/wmutils/core" + inherit git-r3 + EGIT_REPO_URI="https://github.com/wmutils/core.git" fi -inherit eutils ${SCM} - DESCRIPTION="Set of window manipulation tools" HOMEPAGE="https://github.com/wmutils/core" @@ -25,14 +23,26 @@ LICENSE="ISC" SLOT="0" IUSE="" -DEPEND="x11-libs/libxcb" +DEPEND=" + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-cursor +" RDEPEND="${DEPEND}" BDEPEND="" +DOCS=( README.md ) + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/core-${PV}" fi +src_prepare() { + sed -i 's/-Os//g' -i config.mk + default +} + src_install() { - emake DESTDIR="${D}" MANPREFIX="/usr/share/man" install + emake DESTDIR="${D}" MANPREFIX="${EPREFIX}/usr/share/man" install + einstalldocs } diff --git a/x11-wm/wmutils/wmutils-9999.ebuild b/x11-wm/wmutils/wmutils-9999.ebuild index 356456f..5529b29 100644 --- a/x11-wm/wmutils/wmutils-9999.ebuild +++ b/x11-wm/wmutils/wmutils-9999.ebuild @@ -4,12 +4,10 @@ EAPI=7 if [[ ${PV} == *9999 ]]; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/wmutils/core" + inherit git-r3 + EGIT_REPO_URI="https://github.com/wmutils/core.git" fi -inherit eutils ${SCM} - DESCRIPTION="Set of window manipulation tools" HOMEPAGE="https://github.com/wmutils/core" @@ -25,14 +23,26 @@ LICENSE="ISC" SLOT="0" IUSE="" -DEPEND="x11-libs/libxcb" +DEPEND=" + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-cursor +" RDEPEND="${DEPEND}" BDEPEND="" +DOCS=( README.md ) + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/core-${PV}" fi +src_prepare() { + sed -i 's/-Os//g' -i config.mk + default +} + src_install() { - emake DESTDIR="${D}" MANPREFIX="/usr/share/man" install + emake DESTDIR="${D}" MANPREFIX="${EPREFIX}/usr/share/man" install + einstalldocs } -- cgit 1.4.1