Added my dwm fork - overlay - drkhsh gentoo overlay
HTML git clone git://git.drkhsh.at/overlay.git
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 8cfebd3caebf2c43ab7eab062d4240da384a4c1e
DIR parent 52f24e2e5e354704bc37e6b7cac510462cc95333
HTML Author: Aaron Marcher <me@drkhsh.at>
Date: Sun, 20 Aug 2017 18:37:39 +0200
Added my dwm fork
Diffstat:
A x11-wm/dwm/dwm-9999.ebuild | 58 ++++++++++++++++++++++++++++++
A x11-wm/dwm/metadata.xml | 14 ++++++++++++++
2 files changed, 72 insertions(+), 0 deletions(-)
---
DIR diff --git a/x11-wm/dwm/dwm-9999.ebuild b/x11-wm/dwm/dwm-9999.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="a dynamic window manager for X11"
+HOMEPAGE="http://dwm.suckless.org/"
+EGIT_REPO_URI="git://git.drkhsh.at/dwm"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~x86 ~arm ~ppc ~ppc64"
+IUSE="xinerama"
+
+RDEPEND="
+ media-libs/fontconfig
+ x11-libs/libX11
+ x11-libs/libXft
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="
+ ${RDEPEND}
+ xinerama? ( x11-proto/xineramaproto )
+"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "s/CFLAGS = -std=c99 -pedantic -Wall -Os/CFLAGS += -std=c99 -pedantic -Wall/" \
+ -e "/^LDFLAGS/{s|=|+=|g;s|-s ||g}" \
+ -e "s/#XINERAMALIBS =/XINERAMALIBS ?=/" \
+ -e "s/#XINERAMAFLAGS =/XINERAMAFLAGS ?=/" \
+ -e "s@/usr/X11R6/include@${EPREFIX}/usr/include/X11@" \
+ -e "s@/usr/X11R6/lib@${EPREFIX}/usr/lib@" \
+ -e "s@-I/usr/include@@" -e "s@-L/usr/lib@@" \
+ -e "s/\/freetype2/\ -I\/usr\/include\/freetype2/" \
+ config.mk || die
+ sed -i \
+ -e '/@echo CC/d' \
+ -e 's|@${CC}|$(CC)|g' \
+ Makefile || die
+}
+
+src_compile() {
+ if use xinerama; then
+ emake CC=$(tc-getCC) dwm
+ else
+ emake CC=$(tc-getCC) XINERAMAFLAGS="" XINERAMALIBS="" dwm
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+
+ dodoc README
+}
DIR diff --git a/x11-wm/dwm/metadata.xml b/x11-wm/dwm/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>me@drkhsh.at</email>
+ <name>aaron marcher</name>
+ </maintainer>
+ <longdescription>
+ dwm is a dynamic window manager for X. It manages windows in tiling and
+ floating modes. Either mode can be applied dynamically, optimizing the
+ environment for the application in use and the task performed. This is
+ my personal fork with some things changed and my own config.h.
+ </longdescription>
+</pkgmetadata>