public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/dmenu/
Date: Fri, 15 Mar 2019 13:26:38 +0000 (UTC)	[thread overview]
Message-ID: <1552656395.524deaa55c22ed4c235d8027267a0a00469593da.jer@gentoo> (raw)

commit:     524deaa55c22ed4c235d8027267a0a00469593da
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 13:26:23 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 13:26:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=524deaa5

x11-misc/dmenu: Update live ebuild

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 x11-misc/dmenu/dmenu-4.9.ebuild  |  1 -
 x11-misc/dmenu/dmenu-9999.ebuild | 24 +++++++++++++-----------
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/x11-misc/dmenu/dmenu-4.9.ebuild b/x11-misc/dmenu/dmenu-4.9.ebuild
index 9fe6efe1753..dafe23ddeda 100644
--- a/x11-misc/dmenu/dmenu-4.9.ebuild
+++ b/x11-misc/dmenu/dmenu-4.9.ebuild
@@ -32,7 +32,6 @@ src_prepare() {
 
 	sed -i \
 		-e 's|^	@|	|g' \
-		-e 's|${CC} -o|$(CC) $(CFLAGS) -o|g' \
 		-e '/^	echo/d' \
 		Makefile || die
 

diff --git a/x11-misc/dmenu/dmenu-9999.ebuild b/x11-misc/dmenu/dmenu-9999.ebuild
index 8001b06f1d6..ac2f60df320 100644
--- a/x11-misc/dmenu/dmenu-9999.ebuild
+++ b/x11-misc/dmenu/dmenu-9999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 inherit git-r3 savedconfig toolchain-funcs
 
 DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System"
@@ -32,7 +32,6 @@ src_prepare() {
 
 	sed -i \
 		-e 's|^	@|	|g' \
-		-e 's|${CC} -o|$(CC) $(CFLAGS) -o|g' \
 		-e '/^	echo/d' \
 		Makefile || die
 
@@ -41,15 +40,18 @@ src_prepare() {
 
 src_compile() {
 	emake CC=$(tc-getCC) \
-		INCS=" \
-			$(usex xinerama "-DXINERAMA" '') \
-			$(
-				$(tc-getPKG_CONFIG) --cflags fontconfig freetype2 x11 xft $(usex xinerama xinerama '')
-			)" \
-		LIBS=" \
-			$(
-				$(tc-getPKG_CONFIG) --libs fontconfig x11 xft $(usex xinerama xinerama '')
-			)"
+		"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() {


             reply	other threads:[~2019-03-15 13:26 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-15 13:26 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-22 20:01 [gentoo-commits] repo/gentoo:master commit in: x11-misc/dmenu/ Conrad Kostecki
2024-05-05 22:01 Sam James
2024-05-05 19:51 Arthur Zamarin
2024-05-05 19:51 Arthur Zamarin
2024-05-05 19:50 Sam James
2024-05-05 19:50 Sam James
2024-03-28 14:10 Conrad Kostecki
2024-03-28 14:10 Conrad Kostecki
2024-03-28 14:10 Conrad Kostecki
2024-02-14 20:27 Conrad Kostecki
2023-08-04  9:22 Sam James
2023-07-08  3:39 Sam James
2023-07-07 10:14 Sam James
2023-07-07  4:40 Sam James
2023-07-07  4:40 Sam James
2022-03-16 17:07 Sam James
2022-02-16 21:20 Georgy Yakovlev
2021-09-21 13:41 Yixun Lan
2021-04-23 16:13 Sam James
2021-04-22 20:15 Sam James
2021-04-22 12:23 Sam James
2021-04-22 12:18 Sam James
2021-04-18  6:06 Sam James
2021-02-27 12:30 Sam James
2021-02-27 10:43 Sam James
2020-11-03 21:55 Georgy Yakovlev
2020-09-02 17:17 Jeroen Roovers
2019-06-03  9:43 Jeroen Roovers
2019-04-23 17:36 Aaron Bauman
2019-01-18  7:56 Jeroen Roovers
2019-01-18  7:54 Jeroen Roovers
2018-09-23 20:45 Jeroen Roovers
2018-03-16 15:27 Jeroen Roovers
2017-10-31  4:59 Jeroen Roovers
2017-10-30 15:53 Jeroen Roovers
2017-09-10 21:47 Jeroen Roovers
2017-08-31 10:33 Jeroen Roovers
2016-03-25  9:02 Patrick Lauer
2016-03-25  3:17 Jeroen Roovers
2016-01-09 18:51 Markus Meier
2015-11-12  6:23 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1552656395.524deaa55c22ed4c235d8027267a0a00469593da.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox