Browse Source

Add x11-misc/dmenu-9999

master
kske 2 months ago
parent
commit
8ba58314df
Signed by: kske GPG Key ID: 8BEB13EC5DF7EF13
  1. 2
      sets/suckless-desktop-live
  2. 1
      x11-misc/dmenu/Manifest
  3. 61
      x11-misc/dmenu/dmenu-9999.ebuild

2
sets/suckless-desktop-live

@ -1,4 +1,4 @@
x11-misc/dmenu
~x11-misc/dmenu-9999
x11-misc/slock
~x11-terms/st-9999
~x11-wm/dwm-9999

1
x11-misc/dmenu/Manifest

@ -0,0 +1 @@
EBUILD dmenu-9999.ebuild 1375 BLAKE2B 78f16e81324b0db67d0aa6526fece6a244b05f2a83780f06e8d7968099a5aa8fca4f424f33126bffd323ce278185aa07bbb416520ca86a58ea4efbab548b168a SHA512 eda9708d30645951a293a14a96bfe79d4178d01117ba942c7f137f839d199a36531a8314e5ce7bfdf438d5decafe95ecbb8115f7d8112d4ce811330b5ad9e353

61
x11-misc/dmenu/dmenu-9999.ebuild

@ -0,0 +1,61 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3 savedconfig toolchain-funcs
DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System"
HOMEPAGE="https://git.kske.dev/kske/dmenu/"
EGIT_REPO_URI="https://git.kske.dev/kske/dmenu"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="xinerama"
RDEPEND="
media-libs/fontconfig
x11-libs/libX11
x11-libs/libXft
xinerama? ( x11-libs/libXinerama )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
x11-base/xorg-proto
"
PATCHES=(
"${FILESDIR}"/${PN}-4.9-gentoo.patch
)
src_prepare() {
default
sed -i \
-e 's|^ @| |g' \
-e '/^ echo/d' \
Makefile || die
restore_config config.h
}
src_compile() {
emake CC=$(tc-getCC) \
"FREETYPEINC=$( $(tc-getPKG_CONFIG) --cflags x11 fontconfig xft 2>/dev/null )" \
"FREETYPELIBS=$( $(tc-getPKG_CONFIG) --libs x11 fontconfig xft 2>/dev/null )" \
"X11INC=$( $(tc-getPKG_CONFIG) --cflags x11 2>/dev/null )" \
"X11LIB=$( $(tc-getPKG_CONFIG) --libs x11 2>/dev/null )" \
"XINERAMAFLAGS=$(
usex xinerama "-DXINERAMA $(
$(tc-getPKG_CONFIG) --cflags xinerama 2>/dev/null
)" ''
)" \
"XINERAMALIBS=$(
usex xinerama "$( $(tc-getPKG_CONFIG) --libs xinerama 2>/dev/null)" ''
)"
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
save_config config.h
}
Loading…
Cancel
Save