Diff xfce4-screenshooter-1.11.1 with a xfce4-screenshooter-1.11.2
| /usr/portage/xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.11.2.ebuild 2025-12-22 20:18:07.054221244 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit xdg-utils |
|
| 6 |
inherit meson xdg-utils |
|
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="Xfce4 screenshooter application and panel plugin" |
| 9 | 9 |
HOMEPAGE=" |
| 10 | 10 |
https://docs.xfce.org/apps/xfce4-screenshooter/start |
| 11 | 11 |
https://gitlab.xfce.org/apps/xfce4-screenshooter/ |
| 12 | 12 |
" |
| 13 |
SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
|
|
| 13 |
SRC_URI=" |
|
| 14 |
https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.xz
|
|
| 15 |
" |
|
| 14 | 16 | |
| 15 | 17 |
LICENSE="GPL-2+" |
| 16 | 18 |
SLOT="0" |
| 17 |
KEYWORDS="amd64 arm ~arm64 ~loong ppc ppc64 ~riscv ~sparc x86" |
|
| 19 |
KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86" |
|
| 18 | 20 |
IUSE="X wayland" |
| 19 | 21 |
REQUIRED_USE="|| ( X wayland )" |
| 20 | 22 | |
| 23 |
# TODO: remove exo when we dep on libxfce4ui >= 4.21.0 |
|
| 21 | 24 |
DEPEND=" |
| 22 | 25 |
>=dev-libs/glib-2.66.0 |
| 23 |
>=x11-libs/gdk-pixbuf-2.16 |
|
| 24 | 26 |
>=x11-libs/gtk+-3.24.0:3[X?,wayland?] |
| 25 | 27 |
>=x11-libs/pango-1.44.0 |
| 26 |
>=xfce-base/exo-0.11:= |
|
| 27 |
>=xfce-base/xfce4-panel-4.16.0:= |
|
| 28 |
>=xfce-base/libxfce4util-4.16.0:= |
|
| 29 |
>=xfce-base/libxfce4ui-4.16.0:= |
|
| 30 |
>=xfce-base/xfconf-4.16.0:= |
|
| 28 |
>=xfce-base/exo-4.18.0:= |
|
| 29 |
>=xfce-base/xfce4-panel-4.18.0:= |
|
| 30 |
>=xfce-base/libxfce4util-4.18.0:= |
|
| 31 |
>=xfce-base/libxfce4ui-4.18.0:= |
|
| 32 |
>=xfce-base/xfconf-4.18.0:= |
|
| 31 | 33 |
wayland? ( |
| 32 |
dev-libs/wayland |
|
| 34 |
>=dev-libs/wayland-1.20 |
|
| 33 | 35 |
) |
| 34 | 36 |
X? ( |
| 35 |
x11-libs/libX11 |
|
| 36 |
x11-libs/libXext |
|
| 37 |
x11-libs/libXfixes |
|
| 37 |
>=x11-libs/libX11-1.6.7 |
|
| 38 |
>=x11-libs/libXext-1.0.0 |
|
| 39 |
>=x11-libs/libXfixes-4.0.0 |
|
| 38 | 40 |
>=x11-libs/libXi-1.7.8 |
| 39 | 41 |
x11-libs/libXtst |
| 40 | 42 |
) |
| ... | ... | |
| 42 | 44 |
RDEPEND=" |
| 43 | 45 |
${DEPEND}
|
| 44 | 46 |
" |
| 47 |
DEPEND+=" |
|
| 48 |
wayland? ( |
|
| 49 |
>=dev-libs/wayland-protocols-1.25 |
|
| 50 |
) |
|
| 51 |
" |
|
| 45 | 52 |
BDEPEND=" |
| 46 | 53 |
dev-util/glib-utils |
| 47 | 54 |
sys-apps/help2man |
| 48 | 55 |
sys-devel/gettext |
| 49 | 56 |
virtual/pkgconfig |
| 50 | 57 |
wayland? ( |
| 51 |
dev-util/wayland-scanner |
|
| 58 |
>=dev-util/wayland-scanner-1.20 |
|
| 52 | 59 |
) |
| 53 | 60 |
" |
| 54 | 61 | |
| 55 | 62 |
src_configure() {
|
| 56 |
local myconf=( |
|
| 57 |
$(use_enable X x11) |
|
| 58 |
$(use_enable X libxtst) |
|
| 59 |
$(use_enable wayland) |
|
| 63 |
local emesonargs=( |
|
| 64 |
$(meson_feature X x11) |
|
| 65 |
$(meson_feature wayland) |
|
| 66 |
$(meson_feature X xfixes) |
|
| 60 | 67 |
) |
| 61 | 68 | |
| 62 |
econf "${myconf[@]}"
|
|
| 63 |
} |
|
| 64 | ||
| 65 |
src_install() {
|
|
| 66 |
default |
|
| 67 |
find "${D}" -name '*.la' -delete || die
|
|
| 69 |
meson_src_configure |
|
| 68 | 70 |
} |
| 69 | 71 | |
| 70 | 72 |
pkg_postinst() {
|