public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/dmenu/
Date: Thu, 28 Mar 2024 14:10:09 +0000 (UTC)	[thread overview]
Message-ID: <1711634981.58c01b37cc031c82279dd24387855381abb248d3.conikost@gentoo> (raw)

commit:     58c01b37cc031c82279dd24387855381abb248d3
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 28 14:03:56 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 14:09:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c01b37

x11-misc/dmenu: add 5.3

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 x11-misc/dmenu/Manifest         |  1 +
 x11-misc/dmenu/dmenu-5.3.ebuild | 62 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/x11-misc/dmenu/Manifest b/x11-misc/dmenu/Manifest
index 8b77f6d19c65..153676f0aeb1 100644
--- a/x11-misc/dmenu/Manifest
+++ b/x11-misc/dmenu/Manifest
@@ -1 +1,2 @@
 DIST dmenu-5.2.tar.gz 16196 BLAKE2B f827f0d0d935f9da8103dbb73ed8b67818f1213d2f8e5a406de5e8c9496ea0479b4ccb50d3a29004abc1e4e679cac177163c02458ed144d323bb50fc120f936d SHA512 7be9bb76b11225ec86a30e643e9b884f6d13af581526085212cb7401383d448a72fe4dffc3ce84ffb8319dbf36ca8384597a89070cd27d39d5618f239a2da6e3
+DIST dmenu-5.3.tar.gz 16274 BLAKE2B fd76b0b11a153f98dd58ec888820bc8a0ebc67f814cdf2d13a35ea3addcc3ad423bb9b2f4f73897cf6293e61a507900e7b7fec65e4f0acd15cc8e425f5506faa SHA512 60f758134063ad7f304fbb0785c66dddc21461e5e5014f8735cf6d5c95dc22a177f069d48101e633ddffe5bbefc1118a2bf8b31daaf7b6438fdf6fe1bcb5d61c

diff --git a/x11-misc/dmenu/dmenu-5.3.ebuild b/x11-misc/dmenu/dmenu-5.3.ebuild
new file mode 100644
index 000000000000..7d41a6f1d7f5
--- /dev/null
+++ b/x11-misc/dmenu/dmenu-5.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System"
+HOMEPAGE="https://tools.suckless.org/dmenu/"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+IUSE="xinerama"
+
+RDEPEND="
+	media-libs/fontconfig
+	x11-libs/libX11
+	>=x11-libs/libXft-2.3.5
+	xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="${RDEPEND}
+	x11-base/xorg-proto
+"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.2-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
+}


             reply	other threads:[~2024-03-28 14:10 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28 14:10 Conrad Kostecki [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-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-03-15 13:26 Jeroen Roovers
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=1711634981.58c01b37cc031c82279dd24387855381abb248d3.conikost@gentoo \
    --to=conikost@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