| 1 |
|
# Copyright 1999-2025 Gentoo Authors
|
|
1 |
# Copyright 1999-2026 Gentoo Authors
|
| 2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
3 |
|
| 4 |
4 |
EAPI=8
|
| 5 |
5 |
|
| 6 |
|
PYTHON_COMPAT=( python3_{10..13} )
|
|
6 |
PYTHON_COMPAT=( python3_{11..14} )
|
| 7 |
7 |
|
| 8 |
8 |
MY_P="${PN^}-v${PV}"
|
| 9 |
9 |
inherit cmake python-single-r1 xdg
|
| ... | ... | |
| 15 |
15 |
|
| 16 |
16 |
LICENSE="GPL-2+-with-openssl-exception"
|
| 17 |
17 |
SLOT="0"
|
| 18 |
|
KEYWORDS="amd64 ~arm64 ~riscv x86"
|
|
18 |
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
| 19 |
19 |
IUSE="+appindicator crypt cups examples keyring gvnc kwallet nls python spice ssh rdp vnc wayland webkit zeroconf X"
|
| 20 |
20 |
|
| 21 |
21 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) || ( X wayland )"
|
| ... | ... | |
| 35 |
35 |
appindicator? ( dev-libs/libayatana-appindicator )
|
| 36 |
36 |
crypt? ( dev-libs/libgcrypt:0= )
|
| 37 |
37 |
keyring? ( app-crypt/libsecret )
|
| 38 |
|
gvnc? ( net-libs/gtk-vnc )
|
|
38 |
gvnc? ( net-libs/gtk-vnc[pulseaudio] )
|
| 39 |
39 |
kwallet? ( kde-frameworks/kwallet:6 )
|
| 40 |
40 |
python? ( ${PYTHON_DEPS} )
|
| 41 |
41 |
rdp? ( >=net-misc/freerdp-3.11.0:3=
|
| ... | ... | |
| 63 |
63 |
DOCS=( AUTHORS CHANGELOG.md README.md THANKS.md )
|
| 64 |
64 |
|
| 65 |
65 |
PATCHES=(
|
| 66 |
|
"${FILESDIR}/${P}-libssh-no.patch"
|
| 67 |
|
"${FILESDIR}/${P}-kf6wallet.patch" # bug 950750; TODO: upstream
|
|
66 |
"${FILESDIR}/${PN}-1.4.40-kf6wallet.patch" # bug 950750; TODO: upstream
|
| 68 |
67 |
)
|
| 69 |
68 |
|
| 70 |
69 |
pkg_setup() {
|
| ... | ... | |
| 86 |
85 |
-DWITH_FREERDP3=ON
|
| 87 |
86 |
-DWITH_GCRYPT=$(usex crypt)
|
| 88 |
87 |
-DWITH_GETTEXT=$(usex nls)
|
|
88 |
-DWITH_GVNC=$(usex gvnc)
|
| 89 |
89 |
-DWITH_ICON_CACHE=OFF
|
| 90 |
90 |
-DWITH_KF6WALLET=$(usex kwallet)
|
| 91 |
91 |
-DWITH_LIBSECRET=$(usex keyring)
|
| ... | ... | |
| 100 |
100 |
-DWITH_X2GO=OFF
|
| 101 |
101 |
# when this feature is stable, add python eclass usage to optionally enable
|
| 102 |
102 |
-DWITH_PYTHON=OFF
|
|
103 |
# temporary until https://gitlab.com/Remmina/Remmina/-/merge_requests/2822
|
|
104 |
-DENABLE_KDE_OUTPUT_ORDER_V1=OFF
|
| 103 |
105 |
)
|
| 104 |
106 |
cmake_src_configure
|
| 105 |
107 |
}
|