From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- x11-misc/wmname/Manifest | 6 +++++ x11-misc/wmname/files/wmname-0.1-buildsystem.patch | 26 +++++++++++++++++++ x11-misc/wmname/metadata.xml | 8 ++++++ x11-misc/wmname/wmname-0.1-r1.ebuild | 30 ++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 x11-misc/wmname/Manifest create mode 100644 x11-misc/wmname/files/wmname-0.1-buildsystem.patch create mode 100644 x11-misc/wmname/metadata.xml create mode 100644 x11-misc/wmname/wmname-0.1-r1.ebuild (limited to 'x11-misc/wmname') diff --git a/x11-misc/wmname/Manifest b/x11-misc/wmname/Manifest new file mode 100644 index 000000000000..f66d58da8ca2 --- /dev/null +++ b/x11-misc/wmname/Manifest @@ -0,0 +1,6 @@ +AUX wmname-0.1-buildsystem.patch 504 SHA256 64d1eb1b63d449c977153685fd249858004e79aaebea349d18cf3ea7e2091fe6 SHA512 c30cc281e99d6ab72d214312ee4d5a7dfea176f7befc4d266faba373b322cd6f7bc4572c9565d460177878770d25197472d07a305d7da2e3f6cda9484d3399f6 WHIRLPOOL 28d06cf84bde58526a318619f6cfccbe1271b13c6f530025d9f0ec87db8eea4b00f3c1ee0367b18aa61255232ea1b5d5853367c69d8ca04612ce78c14cf1ba90 +DIST wmname-0.1.tar.gz 2512 SHA256 559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5 SHA512 e57100f8de2579f4090c0aaf5a5b134d03bcbcdca5c6d005b12ce39ad322d96651bb13d151cf259e935e6c50e7b21bde43a4eace112be80983a92f92b99f192f WHIRLPOOL d46dafea93cd673d6e6285e266745690a5ab9d4fac11f171d3c143fa04563bccfb6a4927cb052fd3d15f27a11b0e76245e1e86458b36a03fcde154283b46dd0d +EBUILD wmname-0.1-r1.ebuild 659 SHA256 4f0a71fd3a45b82ddf5f4b49c290c667b953b57ef33aef5b689da1b73858ce3d SHA512 850c45258c7aa050b1eb665a7af145cc6fea2e70cffca9bf053cdfcb62ff144daf4b060de0fe0577217267a6fe02a74d106b11c7fa856971eecbf81b09d4e0ea WHIRLPOOL 6efc2ee12d434fac4924535b4d8f4daf1351e4c1c551084674e89b974c4bc691fb117184b4ff7f7a1651d3ef53ca45702414bb2ff9c43f2d5ab6982e5d0826ad +MISC ChangeLog 2720 SHA256 152e35171c1ef09c5158313a5a84f91250dc4c7ae8458a1ca8c61128337d5b48 SHA512 580bf630c2cecf07229ee8c70e831a137980af2b66070d952d2d1ded152aee5674b9cedbf538028c468510891171e741c37c9ceac444ecfcc4655b7b8d9405da WHIRLPOOL 26be7f41026a83ff85ddb25e368d7da15e129f0775184830b379238fb6207f15d570e598fe9126a0db2995f9cb9c740fca9b78bd2eea1dd5998138592fbb0ed8 +MISC ChangeLog-2015 764 SHA256 0d50eb424954d37588ca1d20a7b7221e496c61f1f5ed08c41efcd210b37647d3 SHA512 0afab30a88c8e763c4c692d542afea432d889deb5a0288f13c9b40027066fc956282fd4f35426f070eaf887f2750b5c27918184df39827225a614c1cac977f31 WHIRLPOOL 6d9cc2932e5d1f63d969ad4fafb8411ab3667498333a00840bf3c8736a5df20c2797ce45f6c02fe8658fe14654ad250a6f36390ae4cc18d10270ff3bc3aa5a1d +MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f diff --git a/x11-misc/wmname/files/wmname-0.1-buildsystem.patch b/x11-misc/wmname/files/wmname-0.1-buildsystem.patch new file mode 100644 index 000000000000..bee2131d9bef --- /dev/null +++ b/x11-misc/wmname/files/wmname-0.1-buildsystem.patch @@ -0,0 +1,26 @@ +--- wmname-0.1/config.mk ++++ wmname-0.1/config.mk +@@ -16,9 +16,9 @@ + + # flags + CPPFLAGS = -DVERSION=\"${VERSION}\" +-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +-LDFLAGS = -s ${LIBS} ++CFLAGS += -std=c99 -pedantic ${INCS} ${CPPFLAGS} ++LDFLAGS += ${LIBS} + + # compiler and linker +-CC = cc +-LD = ${CC} ++CC ?= cc ++LD ?= ${CC} +--- wmname-0.1/Makefile ++++ wmname-0.1/Makefile +@@ -23,7 +23,6 @@ + wmname: ${OBJ} + @echo LD $@ + @${LD} -o $@ ${OBJ} ${LDFLAGS} +- @strip $@ + + clean: + @echo cleaning diff --git a/x11-misc/wmname/metadata.xml b/x11-misc/wmname/metadata.xml new file mode 100644 index 000000000000..a535b8852829 --- /dev/null +++ b/x11-misc/wmname/metadata.xml @@ -0,0 +1,8 @@ + + + + +xmw@gentoo.org +Michael Weber + + diff --git a/x11-misc/wmname/wmname-0.1-r1.ebuild b/x11-misc/wmname/wmname-0.1-r1.ebuild new file mode 100644 index 000000000000..814e3e889e44 --- /dev/null +++ b/x11-misc/wmname/wmname-0.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="utility to set the name of your window manager" +HOMEPAGE="https://tools.suckless.org/x/wmname" +SRC_URI="https://dl.suckless.org/tools/wmname-0.1.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~ppc ~sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-buildsystem.patch ) + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" +} + +src_install() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" \ + PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install + einstalldocs +} -- cgit v1.2.3