gentoo-ebuilds/xfce-base/exo/exo-4.20.0-r1.ebuild
Eli Schwartz a423dab2e6
xfce-base/exo: make sure elibtoolize is used
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2025-06-13 03:16:11 -04:00

58 lines
1.1 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic libtool xdg-utils
DESCRIPTION="Extensions, widgets and framework library with session support for Xfce"
HOMEPAGE="
https://docs.xfce.org/xfce/exo/start
https://gitlab.xfce.org/xfce/exo/
"
SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
IUSE="wayland X"
DEPEND="
>=dev-libs/glib-2.72.0
>=x11-libs/gtk+-3.24.0:3[wayland?,X?]
>=xfce-base/libxfce4ui-4.15.1:=[gtk3(+)]
>=xfce-base/libxfce4util-4.17.2:=
"
RDEPEND="
${DEPEND}
"
BDEPEND="
sys-devel/gettext
virtual/pkgconfig
"
src_prepare() {
default
elibtoolize
}
src_configure() {
# defang automagic dependencies
use X || append-cppflags -DGENTOO_GTK_HIDE_X11
use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND
default
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}