commit:     7ab25e3a414cf570daf7d2f39707a9148bb3ea16
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun Sep 22 08:25:56 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sun Sep 22 08:25:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7ab25e3a

gui-apps/rofi-wayland: add 1.7.5_p3

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 gui-apps/rofi-wayland/Manifest                     |  1 +
 gui-apps/rofi-wayland/rofi-wayland-1.7.5_p3.ebuild | 63 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/gui-apps/rofi-wayland/Manifest b/gui-apps/rofi-wayland/Manifest
index 5316edeff..01f97f70c 100644
--- a/gui-apps/rofi-wayland/Manifest
+++ b/gui-apps/rofi-wayland/Manifest
@@ -1,2 +1,3 @@
 DIST rofi-1.7.5+wayland1.tar.xz 649060 BLAKE2B 
201ff15d7e9fbddb61d61f60db27f60188b20534e063fad82888c104bbcfa3ff5bfbcb21d38f5cef966a38d370875a746a1d55dd1c33a508aa79b7f78d5cc005
 SHA512 
a3bf90a1fa22dfd5c290d7a5b0c0bf2912fea37ad49f83526cfc5c2c8ab61429d6112898df4b682b0fcc153495dadef6642c581dc9c68c1b9b59c9d6b28251b7
 DIST rofi-1.7.5+wayland2.tar.xz 649600 BLAKE2B 
1741eddf90f0e0dcebe785e15a817a79acf6a2bfa0a0623b0bdcf985616c1a66bb6d9e16b233624b1cc34b9592fb4f5eca6e6d2a8802abc6bab3c2f3c17a5c91
 SHA512 
efd237c3fd9ad098831e1880827070bbc83ffb0fca1e7668f5c0806c6aaafafdf0680214cda0996810dbf9db66e700a3078d05f55bfff795465cf8c054f5c738
+DIST rofi-1.7.5+wayland3.tar.xz 7716660 BLAKE2B 
8779f6c030afc0c92ea6188fdb96c064cfc589a20c71250f6d1d230fa11c5a67b6a3cedd07f247d9170da5f974b05500c3bd6380c9cf2bd77ca7af6a5f2e7ec8
 SHA512 
d7ca341e74922e5f8f01bb010486109b1bc2ff0f0a5694dc40ee280aa47d7a1bbce1796009ffc5894dcf88e82e74889404651f8bfaac4e97c4fb45bcd5fad0ce

diff --git a/gui-apps/rofi-wayland/rofi-wayland-1.7.5_p3.ebuild 
b/gui-apps/rofi-wayland/rofi-wayland-1.7.5_p3.ebuild
new file mode 100644
index 000000000..d1e9b8ae7
--- /dev/null
+++ b/gui-apps/rofi-wayland/rofi-wayland-1.7.5_p3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg
+
+MY_PV="$(ver_cut 1-3)+wayland$(ver_cut 5)"
+
+DESCRIPTION="A window switcher, run dialog and dmenu replacement"
+HOMEPAGE="https://github.com/lbonn/rofi";
+SRC_URI="https://github.com/lbonn/rofi/releases/download/${MY_PV}/rofi-${MY_PV}.tar.xz";
+S="${WORKDIR}"/rofi-${MY_PV}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="drun windowmode test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       !x11-misc/rofi
+       >=dev-libs/glib-2.40:2
+       x11-libs/cairo[X]
+       x11-libs/gdk-pixbuf:2
+       x11-libs/libxkbcommon
+       x11-libs/pango[X]
+       dev-libs/wayland
+       >=dev-libs/wayland-protocols-1.17
+"
+DEPEND="
+       ${RDEPEND}
+       test? ( dev-libs/check )
+"
+BDEPEND="
+       dev-util/wayland-scanner
+       sys-devel/bison
+"
+
+src_configure() {
+       local emesonargs=(
+               -Dwayland=enabled
+               -Dxcb=disabled
+               -Dcheck=disabled
+               $(meson_use drun)
+               $(meson_use windowmode window)
+               $(meson_feature test check)
+       )
+       meson_src_configure
+}
+
+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
+
+       xdg_icon_cache_update
+}

Reply via email to