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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9A82F13835A for ; Sat, 3 Oct 2020 14:42:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5CBDE0805; Sat, 3 Oct 2020 14:42:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1B30E0805 for ; Sat, 3 Oct 2020 14:42:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 52D0D340CEE for ; Sat, 3 Oct 2020 14:42:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C557B38D for ; Sat, 3 Oct 2020 14:42:02 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1601736111.67b32ca6f2613344577ed24197fe9849b1afdd83.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/j4-dmenu-desktop/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/j4-dmenu-desktop/Manifest x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18.ebuild X-VCS-Directories: x11-misc/j4-dmenu-desktop/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 67b32ca6f2613344577ed24197fe9849b1afdd83 X-VCS-Branch: master Date: Sat, 3 Oct 2020 14:42:02 +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: 15850590-8b11-4455-9c41-c7b78ec1d00c X-Archives-Hash: 71bcb4521eb7fbe0f7ff0e88a5e6dd1c commit: 67b32ca6f2613344577ed24197fe9849b1afdd83 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Oct 3 14:19:40 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Oct 3 14:41:51 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67b32ca6 x11-misc/j4-dmenu-desktop: bump to version 2.18 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Conrad Kostecki gentoo.org> x11-misc/j4-dmenu-desktop/Manifest | 1 + .../j4-dmenu-desktop/j4-dmenu-desktop-2.18.ebuild | 56 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/x11-misc/j4-dmenu-desktop/Manifest b/x11-misc/j4-dmenu-desktop/Manifest index cae85a9f547..e6b92c2ca98 100644 --- a/x11-misc/j4-dmenu-desktop/Manifest +++ b/x11-misc/j4-dmenu-desktop/Manifest @@ -1 +1,2 @@ DIST j4-dmenu-desktop-2.17.tar.gz 33531 BLAKE2B c1dd82a444efdbbf2af644ee6cdba6746a81228c5f6b2d212d5ea248628855f1cd1c4dff091ae278eb8c6458db4934b60acd8e2dd9a9c88b32537e76878824b3 SHA512 7a41bb60a6b3afa7bf6229f08674d5f31e0152d0788a17edc210986d1b1f0d4fad13ffaa13c58ed7a0c5d2e67f8f95bb2a0f6556aeb0f2cc24c7d885b346325e +DIST j4-dmenu-desktop-2.18.tar.gz 34785 BLAKE2B 26d5861d6d7ddcd9653a464d1175d19532001705de193811087fd42fddbdead89b8d49bd14f8e323288d6a7ba37bd4e11f4c7c52dd9b0a454f95a83a14853bcb SHA512 f8b0c825d567d60da0fb418e6f0b24a6d9daa9fb142b194b0a8b249303f4e09b6694fce72bf031007ac67253e488fc7666d4ba7beb032bc74cc2a32aca0f6c96 diff --git a/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18.ebuild b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18.ebuild new file mode 100644 index 00000000000..407d1d55918 --- /dev/null +++ b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +MY_PV="r${PV}" + +DESCRIPTION="A fast desktop replacement for i3-dmenu-desktop" +HOMEPAGE="https://github.com/enkore/j4-dmenu-desktop" +SRC_URI="https://github.com/enkore/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+dmenu test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/catch:1 )" +RDEPEND="dmenu? ( x11-misc/dmenu )" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_prepare() { + cmake_src_prepare + + # Respect users CFLAGS + sed -i -e "s/-pedantic -O2//" CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DWITH_GIT_CATCH="no" + -DWITH_TESTS="$(usex test)" + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + doman j4-dmenu-desktop.1 +} + +pkg_postinst() { + if ! use dmenu; then + elog "As you have disabled the 'dmenu' use flag," + elog "x11-misc/dmenu won't be installed by default." + elog "" + elog "Since x11-misc/j4-dmenu-desktop uses x11-misc/dmenu as default," + elog "you must configure your own replacement with --dmenu=," + elog "as otherwise it won't work." + fi +}