commit:     05a5f2511aa9a1a96b7bc2fdd6fe0127d2ecea5c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 25 11:44:58 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 25 11:57:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a5f251

xfce-extra/xfce4-screenshooter: Bump to 1.11.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-extra/xfce4-screenshooter/Manifest            |  1 +
 .../xfce4-screenshooter-1.11.0.ebuild              | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/xfce-extra/xfce4-screenshooter/Manifest 
b/xfce-extra/xfce4-screenshooter/Manifest
index c23d4875dbe6..766a2aba225a 100644
--- a/xfce-extra/xfce4-screenshooter/Manifest
+++ b/xfce-extra/xfce4-screenshooter/Manifest
@@ -1 +1,2 @@
 DIST xfce4-screenshooter-1.10.6.tar.bz2 813187 BLAKE2B 
2f5d12cd1879d35911fee159e909f8b64970831fdd350fd46ca64371376592d30db8658d03045cc84d52ce16c19ec374dcb926b0151fcfc35e365832eb3b8803
 SHA512 
2984ff3a64d0783c62ad5ac33ef54f4ec70fb6d06ac66f4a963940878d04b5e77c100a8121b73788ce6cc0af427fec9d5bf09235465b3591cd57cd16c7d9cda2
+DIST xfce4-screenshooter-1.11.0.tar.bz2 720373 BLAKE2B 
8a6cf00a61be097a41222db42b887a97972013c3f93e0b969db5d0c1fc75a0f85a8b0f671b0047dba2198ad770045a608e078323d06b265a688efd700100cbf8
 SHA512 
afe7c97799c94e498b4304923d48ec195ebba776ecb626df55b4e5b091e53717d331a7513cde1095b1da5c1fac93fc52ab5a77c67ffbd71931c3bb4f5eb3dc64

diff --git a/xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.11.0.ebuild 
b/xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.11.0.ebuild
new file mode 100644
index 000000000000..4c573c68cd3c
--- /dev/null
+++ b/xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.11.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="Xfce4 screenshooter application and panel plugin"
+HOMEPAGE="
+       https://docs.xfce.org/apps/xfce4-screenshooter/start
+       https://gitlab.xfce.org/apps/xfce4-screenshooter/
+"
+SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="X wayland"
+REQUIRED_USE="|| ( X wayland )"
+
+DEPEND="
+       >=dev-libs/glib-2.66.0
+       >=x11-libs/gdk-pixbuf-2.16
+       >=x11-libs/gtk+-3.24.0:3[X?,wayland?]
+       >=x11-libs/pango-1.44.0
+       dev-libs/libxml2
+       >=xfce-base/exo-0.11:=
+       >=xfce-base/xfce4-panel-4.16.0:=
+       >=xfce-base/libxfce4util-4.16.0:=
+       >=xfce-base/libxfce4ui-4.16.0:=
+       >=xfce-base/xfconf-4.16.0:=
+       wayland? (
+               dev-libs/wayland
+       )
+       X? (
+               x11-libs/libX11
+               x11-libs/libXext
+               x11-libs/libXfixes
+               >=x11-libs/libXi-1.7.8
+               x11-libs/libXtst
+       )
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       dev-util/glib-utils
+       sys-apps/help2man
+       sys-devel/gettext
+       virtual/pkgconfig
+       wayland? (
+               dev-util/wayland-scanner
+       )
+"
+
+src_configure() {
+       local myconf=(
+               $(use_enable X x11)
+               $(use_enable X libxtst)
+               $(use_enable wayland)
+       )
+
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}

Reply via email to