| 3 |
3 |
|
| 4 |
4 |
EAPI=8
|
| 5 |
5 |
|
| 6 |
|
inherit vala xdg-utils
|
|
6 |
inherit meson vala xdg-utils
|
| 7 |
7 |
|
| 8 |
8 |
DESCRIPTION="Panel for the Xfce desktop environment"
|
| 9 |
9 |
HOMEPAGE="
|
| 10 |
10 |
https://docs.xfce.org/xfce/xfce4-panel/start
|
| 11 |
11 |
https://gitlab.xfce.org/xfce/xfce4-panel/
|
| 12 |
12 |
"
|
| 13 |
|
SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
|
|
13 |
SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.xz"
|
| 14 |
14 |
|
| 15 |
15 |
LICENSE="GPL-2+ LGPL-2.1+"
|
| 16 |
16 |
SLOT="0"
|
| 17 |
|
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
|
| 18 |
|
IUSE="+dbusmenu introspection vala wayland X"
|
|
17 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
|
18 |
IUSE="+dbusmenu gtk-doc introspection vala wayland X"
|
| 19 |
19 |
REQUIRED_USE="
|
| 20 |
20 |
|| ( wayland X )
|
| 21 |
21 |
vala? ( introspection )
|
| 22 |
22 |
"
|
| 23 |
23 |
|
| 24 |
24 |
DEPEND="
|
| 25 |
|
>=dev-libs/glib-2.72.0
|
|
25 |
>=dev-libs/glib-2.74.0
|
| 26 |
26 |
>=x11-libs/cairo-1.16.0
|
| 27 |
27 |
>=x11-libs/gtk+-3.24.0:3[X?,introspection?,wayland?]
|
| 28 |
28 |
>=xfce-base/exo-4.18.0:=
|
| 29 |
29 |
>=xfce-base/garcon-4.18.0:=
|
| 30 |
|
>=xfce-base/libxfce4ui-4.18.0:=
|
|
30 |
>=xfce-base/libxfce4ui-4.21.3:=
|
| 31 |
31 |
>=xfce-base/libxfce4util-4.18.0:=[introspection?,vala?]
|
| 32 |
32 |
>=xfce-base/libxfce4windowing-4.20.1:=[X?]
|
| 33 |
33 |
>=xfce-base/xfconf-4.18.0:=
|
| ... | ... | |
| 47 |
47 |
${DEPEND}
|
| 48 |
48 |
"
|
| 49 |
49 |
BDEPEND="
|
|
50 |
gtk-doc? ( dev-util/gtk-doc )
|
| 50 |
51 |
vala? ( $(vala_depend) )
|
| 51 |
52 |
dev-build/xfce4-dev-tools
|
| 52 |
|
dev-lang/perl
|
| 53 |
53 |
>=dev-util/gdbus-codegen-2.80.5-r1
|
| 54 |
54 |
dev-util/intltool
|
| 55 |
55 |
sys-devel/gettext
|
| ... | ... | |
| 57 |
57 |
"
|
| 58 |
58 |
|
| 59 |
59 |
src_configure() {
|
| 60 |
|
local myconf=(
|
| 61 |
|
$(use_enable introspection)
|
| 62 |
|
$(use_enable dbusmenu dbusmenu-gtk3)
|
| 63 |
|
$(use_enable vala)
|
| 64 |
|
$(use_enable wayland)
|
| 65 |
|
$(use_enable wayland gtk-layer-shell)
|
| 66 |
|
$(use_enable X x11)
|
|
60 |
local emesonargs=(
|
|
61 |
$(meson_use gtk-doc)
|
|
62 |
$(meson_use introspection)
|
|
63 |
$(meson_feature vala)
|
|
64 |
$(meson_feature X x11)
|
|
65 |
$(meson_feature wayland)
|
|
66 |
$(meson_feature wayland gtk-layer-shell)
|
|
67 |
$(meson_feature dbusmenu)
|
| 67 |
68 |
)
|
| 68 |
69 |
|
| 69 |
70 |
use vala && vala_setup
|
| 70 |
|
econf "${myconf[@]}"
|
| 71 |
|
}
|
| 72 |
|
|
| 73 |
|
src_install() {
|
| 74 |
|
default
|
| 75 |
|
find "${D}" -name '*.la' -delete || die
|
|
71 |
meson_src_configure
|
| 76 |
72 |
}
|
| 77 |
73 |
|
| 78 |
74 |
pkg_postinst() {
|