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 03F51158086 for ; Sun, 10 Oct 2021 09:25:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2636EE0877; Sun, 10 Oct 2021 09:25:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF8E3E0877 for ; Sun, 10 Oct 2021 09:25:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE063342F2B for ; Sun, 10 Oct 2021 09:25:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AEDCEA for ; Sun, 10 Oct 2021 09:25:36 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1633857924.9fed0ccf36b2ad2036d6ae10da11dd13f44ad47c.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/rofi/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/rofi/Manifest x11-misc/rofi/metadata.xml x11-misc/rofi/rofi-1.7.0.ebuild X-VCS-Directories: x11-misc/rofi/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 9fed0ccf36b2ad2036d6ae10da11dd13f44ad47c X-VCS-Branch: master Date: Sun, 10 Oct 2021 09:25:36 +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: 3e1892f7-41dc-4744-888a-21d65bdb4200 X-Archives-Hash: be6ddd26a07161cd5ad58df5196bbad6 commit: 9fed0ccf36b2ad2036d6ae10da11dd13f44ad47c Author: Petrus.Z gmail com> AuthorDate: Sat Oct 9 05:53:06 2021 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Sun Oct 10 09:25:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fed0ccf x11-misc/rofi: version bump to 1.7.0 Package-Manager: Portage-3.0.26, Repoman-3.0.3 Signed-off-by: Petrus Zhao gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22524 Signed-off-by: Florian Schmaus gentoo.org> x11-misc/rofi/Manifest | 1 + x11-misc/rofi/metadata.xml | 27 ++++++++++++----- x11-misc/rofi/rofi-1.7.0.ebuild | 66 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 8 deletions(-) diff --git a/x11-misc/rofi/Manifest b/x11-misc/rofi/Manifest index 4786f50a50b..6c71b2feda6 100644 --- a/x11-misc/rofi/Manifest +++ b/x11-misc/rofi/Manifest @@ -1 +1,2 @@ DIST rofi-1.6.1.tar.gz 569262 BLAKE2B 938b45f8326b5a28e349ac9f7028c476274faa4f932a773acc350d5e1dc8d5c05c7cfb7ec10f1ab5d8c83590074424c3379768671d37ee799d78e508b8c4a4cb SHA512 b54e75818a98fa9262a3016260051837de189d49beff4f4a158cb2e7f41438641377e11d75c164f423e6a86d8b8fca3b76e2630611678525465d06c21b393f60 +DIST rofi-1.7.0.tar.gz 902294 BLAKE2B 281f48702650f65e4b037fdbbe6861e173dd3465cf6a80a1d2038271511a9f85ebdb19d8e7a1854f82d52172bbfea6eb1b1685228fc4ff874773033406c9267b SHA512 84a42ecf519c7eed8093c4af3b66731b890939a2bf2a63290e599103705f6bacaba59ade1b8a1bc854f6b767e8d44ee42c20e44f63886bcacbfdbe0468d350b4 diff --git a/x11-misc/rofi/metadata.xml b/x11-misc/rofi/metadata.xml index 87511edddce..040d877273a 100644 --- a/x11-misc/rofi/metadata.xml +++ b/x11-misc/rofi/metadata.xml @@ -1,12 +1,23 @@ - - -Enable desktop file run dialog -Enable normal window mode - - -DaveDavenport/rofi - + + petrus.zy.07@gmail.com + Petrus Zhao + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Florian Schmaus + flow@gentoo.org + + + Enable desktop file run dialog + Enable normal window mode + + + DaveDavenport/rofi + diff --git a/x11-misc/rofi/rofi-1.7.0.ebuild b/x11-misc/rofi/rofi-1.7.0.ebuild new file mode 100644 index 00000000000..bfa3300d765 --- /dev/null +++ b/x11-misc/rofi/rofi-1.7.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="A window switcher, run dialog and dmenu replacement" +HOMEPAGE="https://github.com/davatorium/rofi" +SRC_URI="https://github.com/davatorium/rofi/releases/download/${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+drun test +windowmode" +RESTRICT="!test? ( test )" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + dev-libs/glib:2 + gnome-base/librsvg:2 + media-libs/freetype + virtual/jpeg + x11-libs/cairo[X,xcb(+)] + x11-libs/libXft + x11-libs/libXinerama + x11-libs/libxcb + x11-libs/libxkbcommon[X] + x11-libs/pango[X] + x11-libs/startup-notification + x11-libs/xcb-util + x11-libs/xcb-util-wm + x11-libs/xcb-util-xrm +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto + test? ( >=dev-libs/check-0.11 ) +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + tc-export CC + + local myeconfargs=( + $(use_enable drun) + $(use_enable test check) + $(use_enable windowmode) + ) + econf "${myeconfargs[@]}" +} + +pkg_postinst() { + for v in ${REPLACING_VERSIONS}; do + if ver_test "${v}" -lt 1.7.0; then + elog "Rofi 1.7.0 removed the (deprecated) xresources based configuration setup." + elog "If you are still using old configuration setup, please convert it to new format manually." + elog "The new format configuration can be generated by 'rofi -dump-config > ~/.config/rofi/config.rasi'." + elog "For more information, please see https://github.com/davatorium/rofi/releases/tag/1.7.0" + fi + done +}