From 9d0cd4c718969e822c4b5d2e353bf1b3c94e6e4b Mon Sep 17 00:00:00 2001 From: Olof-Joachim Frahm Date: Sun, 13 Jul 2014 19:09:24 +0100 Subject: [PATCH] Add dmenu git version with Xft and changed theme. --- x11-misc/dmenu/ChangeLog | 14 ++++++++ x11-misc/dmenu/Manifest | 2 ++ x11-misc/dmenu/dmenu-9999.ebuild | 67 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 x11-misc/dmenu/ChangeLog create mode 100644 x11-misc/dmenu/Manifest create mode 100644 x11-misc/dmenu/dmenu-9999.ebuild diff --git a/x11-misc/dmenu/ChangeLog b/x11-misc/dmenu/ChangeLog new file mode 100644 index 0000000..bbebff3 --- /dev/null +++ b/x11-misc/dmenu/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for x11-misc/dmenu +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.113 2014/06/30 13:53:58 jer Exp $ + + 13 Jul 2014; Olof-Joachim Frahm dmenu-9999.ebuild: + Change repository URL, add Xft dependency. + + 30 Jun 2014; Jeroen Roovers dmenu-9999.ebuild: + Remove USE=xft. + +*dmenu-9999 (30 Jun 2014) + + 30 Jun 2014; Jeroen Roovers +dmenu-9999.ebuild: + Add live ebuild (bug #515856 by Ari Malinen). diff --git a/x11-misc/dmenu/Manifest b/x11-misc/dmenu/Manifest new file mode 100644 index 0000000..17edbde --- /dev/null +++ b/x11-misc/dmenu/Manifest @@ -0,0 +1,2 @@ +EBUILD dmenu-9999.ebuild 1452 SHA256 59bdd7e8e03ff36044ff93ed5d0864407c37c572c38948a7136c3237700753e1 SHA512 0bd597398818fcf26200c255b4738d1240a64548e80ad4822e467e525fc5ff87f21261d3a91585cb46765b5fb313bc7740967085e333e3d87272f4964a9524fb WHIRLPOOL 34f88487b2d24e757a1b34a64db4759a6f639a4797fb91707fdeaf9dd3c15d4eb9870fa8cf00948be4ab22fcf1c8a1cc793642b3366041b0cbc1d2d30b55c25a +MISC ChangeLog 546 SHA256 6dfaad5d2a3a2e4985118376708ef22b65bb43a4d76305b7eab9f65556f88721 SHA512 0fad37b0d75ebdff9e86caff845dc41d31c2f32f09d741f2681ceebe348739fe7d5cec3309ac7d45aa2ba1a5a7d74e31905d271993f7c9211b25a4a33da19839 WHIRLPOOL d33e106dcf6ac5813f4bfd730ea0fb7565e81cc404e7ebcbf6ccddda1467aa2c16e88e7c59f26918de58c5a476514f3abe46464d5a19cb62bed889d17f28ebfd diff --git a/x11-misc/dmenu/dmenu-9999.ebuild b/x11-misc/dmenu/dmenu-9999.ebuild new file mode 100644 index 0000000..d1eebe3 --- /dev/null +++ b/x11-misc/dmenu/dmenu-9999.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/dmenu-9999.ebuild,v 1.2 2014/06/30 13:53:58 jer Exp $ + +EAPI=5 +inherit eutils git-r3 savedconfig toolchain-funcs + +DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System" +HOMEPAGE="http://tools.suckless.org/dmenu/" +EGIT_REPO_URI="https://github.com/Ferada/dmenu.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="xinerama" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXft + xinerama? ( x11-libs/libXinerama ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + # Respect our flags + sed -i \ + -e '/^CFLAGS/{s|=.*|+= -ansi -pedantic -Wall $(INCS) $(CPPFLAGS)|}' \ + -e '/^LDFLAGS/s|= -s|+=|' \ + config.mk || die + # Make make verbose + sed -i \ + -e 's|^ @| |g' \ + -e '/^ echo/d' \ + Makefile || die + + restore_config config.def.h + epatch_user +} + +src_configure() { + tc-export PKG_CONFIG +} + +src_compile() { + emake \ + CC=$(tc-getCC) \ + "XFTINC=$( $(tc-getPKG_CONFIG) --cflags xft 2>/dev/null )" \ + "XFTLIBS=$( $(tc-getPKG_CONFIG) --libs xft 2>/dev/null )" \ + "XINERAMAFLAGS=$( + usex xinerama "-DXINERAMA $( + ${PKG_CONFIG} --cflags xinerama 2>/dev/null + )" '' + )" \ + "XINERAMALIBS=$( + usex xinerama "$( + ${PKG_CONFIG} --libs xinerama 2>/dev/null + )" '' + )" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" install + + save_config config.def.h +} -- 1.7.10.4