From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 998B7158041 for ; Wed, 20 Mar 2024 07:17:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA437E29C3; Wed, 20 Mar 2024 07:17:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB4E1E29C3 for ; Wed, 20 Mar 2024 07:17:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AC1CE33FD3F for ; Wed, 20 Mar 2024 07:17:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 867411599 for ; Wed, 20 Mar 2024 07:17:27 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1710918063.363f6aacf5fd4a8a41030441612975d1fe2cbd0f.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/dzen/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/dzen/dzen-0.9.5_p2.ebuild X-VCS-Directories: x11-misc/dzen/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 363f6aacf5fd4a8a41030441612975d1fe2cbd0f X-VCS-Branch: master Date: Wed, 20 Mar 2024 07:17:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1179be64-2abe-4723-a737-8a6602b2e074 X-Archives-Hash: ddee7e56e7e427d8fcbc08273cc0f142 commit: 363f6aacf5fd4a8a41030441612975d1fe2cbd0f Author: Ionen Wolkens gentoo org> AuthorDate: Wed Mar 20 05:44:27 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Mar 20 07:01:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363f6aac x11-misc/dzen: EAPI7->8, tidy, fix VariableOrderWrong Can skip revbump wrt EAPI, only uses toolchain-funcs. Signed-off-by: Ionen Wolkens gentoo.org> x11-misc/dzen/dzen-0.9.5_p2.ebuild | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/x11-misc/dzen/dzen-0.9.5_p2.ebuild b/x11-misc/dzen/dzen-0.9.5_p2.ebuild index 547c24c755b8..ff606eb36623 100644 --- a/x11-misc/dzen/dzen-0.9.5_p2.ebuild +++ b/x11-misc/dzen/dzen-0.9.5_p2.ebuild @@ -1,42 +1,46 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs -COMMIT_HASH="488ab66019f475e35e067646621827c18a879ba1" +HASH_DZEN=488ab66019f475e35e067646621827c18a879ba1 DESCRIPTION="General purpose messaging, notification, and menu utility" -HOMEPAGE="https://github.com/robm/dzen" -SRC_URI="https://github.com/robm/dzen/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT_HASH}" +HOMEPAGE="https://github.com/robm/dzen/" +SRC_URI="https://github.com/robm/dzen/archive/${HASH_DZEN}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/${PN}-${HASH_DZEN} LICENSE="MIT" -KEYWORDS="amd64 x86" SLOT="2" +KEYWORDS="amd64 x86" IUSE="xinerama xpm" RDEPEND=" x11-libs/libX11 x11-libs/libXft xinerama? ( x11-libs/libXinerama ) - xpm? ( x11-libs/libXpm )" + xpm? ( x11-libs/libXpm ) +" DEPEND=" ${RDEPEND} - x11-base/xorg-proto" + x11-base/xorg-proto +" BDEPEND=" - virtual/pkgconfig" + virtual/pkgconfig +" src_prepare() { default + sed -i '/strip/d; /@echo/d; s/\t@/\t/; s/-L.*/$(X11LIBS)/' \ Makefile gadgets/Makefile || die } src_compile() { - local cflags="${CFLAGS} $($(tc-getPKG_CONFIG) --cflags x11)" - local libs="$($(tc-getPKG_CONFIG) --libs x11)" + local cflags="${CFLAGS} $($(tc-getPKG_CONFIG) --cflags x11 || die)" + local libs="$($(tc-getPKG_CONFIG) --libs x11 || die)" emake -C gadgets \ CC="$(tc-getCC)" CFLAGS="${cflags}" \ @@ -57,7 +61,10 @@ src_compile() { src_install() { emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" -C gadgets install + dobin gadgets/*.sh + dodoc gadgets/README* + einstalldocs }