Diff freerdp-2.11.7-r1 with a freerdp-2.9999
| /usr/portage/net-misc/freerdp/freerdp-2.9999.ebuild 2024-07-02 13:51:48.441851570 +0300 | ||
|---|---|---|
| 1 |
# Copyright 2011-2025 Gentoo Authors |
|
| 1 |
# Copyright 2011-2024 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 cmake ffmpeg-compat flag-o-matic |
|
| 6 |
inherit cmake flag-o-matic |
|
| 7 | 7 | |
| 8 | 8 |
if [[ ${PV} == *9999 ]]; then
|
| 9 | 9 |
inherit git-r3 |
| ... | ... | |
| 17 | 17 |
S="${WORKDIR}/${MY_P}"
|
| 18 | 18 |
SRC_URI="https://pub.freerdp.com/releases/${MY_P}.tar.gz
|
| 19 | 19 |
verify-sig? ( https://pub.freerdp.com/releases/${MY_P}.tar.gz.asc )"
|
| 20 |
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv x86" |
|
| 20 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" |
|
| 21 | 21 |
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-akallabeth )" |
| 22 | 22 |
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/akallabeth.asc" |
| 23 | 23 |
fi |
| ... | ... | |
| 55 | 55 |
xinerama? ( x11-libs/libXinerama ) |
| 56 | 56 |
xv? ( x11-libs/libXv ) |
| 57 | 57 |
) |
| 58 |
ffmpeg? ( media-video/ffmpeg-compat:6= ) |
|
| 58 |
ffmpeg? ( media-video/ffmpeg:0= ) |
|
| 59 | 59 |
!ffmpeg? ( |
| 60 | 60 |
x11-libs/cairo:0= |
| 61 | 61 |
) |
| ... | ... | |
| 106 | 106 |
local PATCHES=( |
| 107 | 107 |
"${FILESDIR}/freerdp-2.11.2-clang.patch"
|
| 108 | 108 |
"${FILESDIR}/freerdp-2.11-Revert-codec-encode-messages-considering-endianness.patch"
|
| 109 |
"${FILESDIR}/freerdp-2.11.7-type-mismatch.patch"
|
|
| 110 | 109 |
) |
| 111 | 110 |
cmake_src_prepare |
| 112 | 111 |
} |
| ... | ... | |
| 124 | 123 |
} |
| 125 | 124 | |
| 126 | 125 |
src_configure() {
|
| 127 |
# TODO: fix with >=ffmpeg-7 (or mask USE) then drop compat (bug #926787) |
|
| 128 |
if use ffmpeg; then |
|
| 129 |
ffmpeg_compat_setup 6 |
|
| 130 |
ffmpeg_compat_add_flags |
|
| 131 |
fi |
|
| 132 | ||
| 133 | 126 |
# bug #881695 |
| 134 | 127 |
filter-lto |
| 135 | 128 | |