diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/aewm |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/aewm')
-rw-r--r-- | x11-wm/aewm/Manifest | 6 | ||||
-rw-r--r-- | x11-wm/aewm/aewm-1.3.12.ebuild | 51 | ||||
-rw-r--r-- | x11-wm/aewm/files/aewm-1.3.12-gentoo.patch | 63 | ||||
-rw-r--r-- | x11-wm/aewm/metadata.xml | 12 |
4 files changed, 132 insertions, 0 deletions
diff --git a/x11-wm/aewm/Manifest b/x11-wm/aewm/Manifest new file mode 100644 index 000000000000..347dd5e9f269 --- /dev/null +++ b/x11-wm/aewm/Manifest @@ -0,0 +1,6 @@ +AUX aewm-1.3.12-gentoo.patch 1690 SHA256 9cfdc2c1035db705e7a5118038e4a834aa9e7586f3b5a561d78dd9c6611d3cab SHA512 39c4d3258b29550fc99ac088c84f83af40645ebe48013f053584dd60baf99d9e58e3c3b4f221835c5ba7da27f6cc66a5d387a74928d596ba4a99a38aabaafb32 WHIRLPOOL 7b6bae25bd4ddf037a0f0c598f5258f2b9539a096e90b2e9d7d6489b91876a191cad583652021be2bd619f8fe87901a93a207e10f98ec8b7253de6c2f9f9976c +DIST aewm-1.3.12.tar.bz2 36677 SHA256 20edc3e57630fe2e0ca6139ce5769bd10a149f59a16f45acdf9bc64268fd59de SHA512 69435edf1ba99661464221070ab6708a875056d244ee73b2eba1ed2beefba52ac2418d37e0d8b9f0c7c8a382e9d8740215b9c7098eca4f39cdf73b3c894125f1 WHIRLPOOL 077486fa4bcf46247915b40ed483c753c11ae1faa8b01b783bfe758d35f4d113cb99626ddea9afdb855358d44042e30e490389c12fb9ee3b8e3c37ada89279ed +EBUILD aewm-1.3.12.ebuild 964 SHA256 0af859c39372278227af5ab23ab0e068d5d3e2d429d03548b79d71e348c7e093 SHA512 34a8944f454daa6368f40710c973ee832657844a218a960a0ee2368be829efec22bfaee5cca2c4ef923414581a600ac6d1702e20efa7eb01840d3577a842f442 WHIRLPOOL 35e493ede9a22111b38dad30ea5345a374863f3c4d1ed8e49db57bf1ba6ae951a41b44803698ec82eb0fc1ecbe66194269895d2e358048dd59e8b2b350cc3c87 +MISC ChangeLog 2200 SHA256 91d66e3dc8961a0493d2ae22b4aa2f348c8af5cbfdd1bd6d1fca96a249d2d7b6 SHA512 068c77abb255d17c1f63983d08186846ab45088fa2e049f947ab3a087ecba5384f6f9ec8cf73a88ab28582e5e298456fc9854c9921c1bd1604c5ec5a49d9b8d0 WHIRLPOOL 4ea2df0754e035b8ddb97813d9e2e043446f224eba2aa6a97280e6c532b20cdba38d4f2288e07c70e746590eaf60736b3d54f17e55696c7969cf6465aa764d73 +MISC ChangeLog-2015 4105 SHA256 920da6390243bb572aeeb355c2faff609b4a8e58b18ff340e1ce738b2095d425 SHA512 4b76ec924a84c8987799bb739925abc10cbbe5e466af45908cb38b284b5933fc65c66e9a5b6adf926a479c8b8c67e9ccbea2fddc7c20125c48e1e7e35692fe0e WHIRLPOOL 7d3f189bd9de72433d0fd02cc4096c9c66255ddc8676cd3831ae712676002bb43adbf54cf2a1da25fe93feb2906d46527d91e840c2d1663b127d9c515a07fc08 +MISC metadata.xml 559 SHA256 fe2eba1c02f902569dfedc433f5ac81b1202a55962224668af90522e6021b173 SHA512 f9a2092397717d558532432ee9ccb9715923338145485b7655fa84b83d08c89d900c3baf16d60cf3d16e5d495d26f04d889371ab010aa3dc54bdff3d7fa04831 WHIRLPOOL 59e1b01ece3285be73e7bc0b3b0e0d06b1fde55dfa5853227cc6205af7c0bda6d69ae21e104e0316246bce7592bebdb3c96c3fd9c829d0cdf8733442669ff4ac diff --git a/x11-wm/aewm/aewm-1.3.12.ebuild b/x11-wm/aewm/aewm-1.3.12.ebuild new file mode 100644 index 000000000000..12e9f0fb5727 --- /dev/null +++ b/x11-wm/aewm/aewm-1.3.12.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="A minimalistic X11 window manager" +HOMEPAGE="http://www.red-bean.com/~decklin/software/aewm/" +SRC_URI="${HOMEPAGE}${P}.tar.bz2" + +LICENSE="MIT 9wm" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~x86-fbsd" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/xextproto + x11-proto/xproto +" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + sed -i -e '/^font/s|".*"|"fixed"|g' doc/aewmrc.ex || die + sed -i -e 's|skill|pkill|g' doc/clientsrc.ex || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + MANDIR="${D}/usr/share/man/man1" \ + XROOT="/usr" \ + install + + dodoc NEWS README +} diff --git a/x11-wm/aewm/files/aewm-1.3.12-gentoo.patch b/x11-wm/aewm/files/aewm-1.3.12-gentoo.patch new file mode 100644 index 000000000000..6cc02f4560d6 --- /dev/null +++ b/x11-wm/aewm/files/aewm-1.3.12-gentoo.patch @@ -0,0 +1,63 @@ +--- a/Makefile ++++ b/Makefile +@@ -6,12 +6,12 @@ + XROOT = /usr/X11R6 + + # Uncomment to enable Shape extension support +-#OPT_WMFLAGS += -DSHAPE ++OPT_WMFLAGS += -DSHAPE + #OPT_WMLIB += -lXext + + # Uncomment to add Xft support +-#OPT_WMFLAGS += -DXFT `pkg-config --cflags xft` +-#OPT_WMLIB += `pkg-config --libs xft` -lXext ++OPT_WMFLAGS += -DXFT $(shell $(PKG_CONFIG) --cflags xft xext) ++OPT_WMLIB += $(shell $(PKG_CONFIG) --libs xft xext) + + # Uncomment for debugging (abandon all hope, ye who enter here) + #OPT_WMFLAGS += -DDEBUG +@@ -46,7 +46,7 @@ + + X11FLAGS = -I$(XROOT)/include + WMFLAGS = $(X11FLAGS) $(OPT_WMFLAGS) +-GTKFLAGS = `pkg-config --cflags gtk+-2.0` ++GTKFLAGS = $(shell $(PKG_CONFIG) --cflags gtk+-2.0) + + $(PLAINOBJ): %.o: %.c + $(CC) $(CFLAGS) -c $< -o $@ +@@ -60,28 +60,28 @@ + $(GTKOBJ): %.o: %.c + $(CC) $(CFLAGS) $(GTKFLAGS) -c $< -o $@ + +-X11LIB = -L$(XROOT)/lib -lX11 ++X11LIB = $(shell $(PKG_CONFIG) --libs x11) + WMLIB = $(X11LIB) $(OPT_WMLIB) +-GTKLIB = `pkg-config --libs gtk+-2.0` ++GTKLIB = $(shell $(PKG_CONFIG) --libs gtk+-2.0) + + $(PLAINBIN): %: %.o +- $(CC) $^ -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ + + $(X11BIN): %: %.o +- $(CC) $^ $(X11LIB) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(X11LIB) -o $@ + + $(WMBIN): %: +- $(CC) $^ $(WMLIB) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(WMLIB) -o $@ + + $(GTKBIN): %: %.o +- $(CC) $^ $(GTKLIB) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(GTKLIB) $(X11LIB) -o $@ + + AEMAN = aewm.1x aeclients.1x + AERC = aewmrc clientsrc + + install: all + mkdir -p $(BINDIR) $(MANDIR) $(CFGDIR) +- install -s $(ALLBIN) $(BINDIR) ++ install $(ALLBIN) $(BINDIR) + for i in $(AEMAN); do \ + install -m 644 doc/$$i $(MANDIR); \ + gzip -9 $(MANDIR)/$$i; \ diff --git a/x11-wm/aewm/metadata.xml b/x11-wm/aewm/metadata.xml new file mode 100644 index 000000000000..abd9614c9fc5 --- /dev/null +++ b/x11-wm/aewm/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"><email>jer@gentoo.org</email></maintainer> + <longdescription> + aewm is a minimalist window manager for X11. It has no nifty features, + but is light on resources and extremely simple in appearance. It should + eventually make a good reference implementation of the ICCCM. A few + separate programs are included to handle running programs, switching + between windows, etc. + </longdescription> +</pkgmetadata> |