Diff pdfpc-4.6.0-r1 with a pdfpc-4.6.0-r2

/usr/portage/app-text/pdfpc/pdfpc-4.6.0-r2.ebuild 2023-10-09 14:52:28.888368335 +0300
24 24

  
25 25
LICENSE="GPL-3+"
26 26
SLOT="0"
27
KEYWORDS="amd64 x86"
27
KEYWORDS="~amd64 ~x86"
28 28
IUSE="+gstreamer soup webkit"
29 29

  
30 30
RDEPEND="
......
46 46
		media-plugins/gst-plugins-gtk:1.0=
47 47
		media-plugins/gst-plugins-cairo:1.0=
48 48
	)
49
	soup? (
49
	webkit? ( net-libs/webkit-gtk:4.1= )
50
	!webkit? ( soup? (
50 51
		media-gfx/qrencode
51 52
		net-libs/libsoup:2.4
52
	)
53
	webkit? ( net-libs/webkit-gtk:4= )
53
	) )
54 54
"
55 55
DEPEND="${RDEPEND}"
56 56
BDEPEND="$(vala_depend)"
57 57

  
58
PATCHES=(
59
	"${FILESDIR}/${P}-no-movies.patch"
60
	"${FILESDIR}/${P}-vala-0.56.7.patch"
61
)
62

  
63 58
DOCS=(
64 59
	CHANGELOG.rst
65 60
	FAQ.rst
......
68 63
)
69 64

  
70 65
src_prepare() {
66
	eapply "${FILESDIR}/${P}-no-movies.patch"
67
	eapply "${FILESDIR}/${P}-vala-0.56.7.patch"
68
	use webkit && eapply "${FILESDIR}/${P}-webkit2gtk-4.1.patch"
69

  
71 70
	cmake_src_prepare
72 71
	vala_setup
73 72
	sed -i -e "/find_program/s/valac/& &-0.56 &-0.54 &-0.52 &-0.50/" \
......
77 76
src_configure() {
78 77
	local mycmakeargs=(
79 78
		-DMOVIES=$(usex gstreamer on off)
80
		-DREST=$(usex soup on off)
81 79
		-DMDVIEW=$(usex webkit on off)
82 80
		-DCMAKE_VERBOSE_MAKEFILE=TRUE
83 81
	)
82

  
83
	if use webkit; then
84
		use soup && ewarn \
85
			"USE flag \"webkit\" overrides \"soup\"; disabling REST support."
86
		mycmakeargs+=( -DREST=off )
87
	else
88
		mycmakeargs+=( -DREST=$(usex soup on off) )
89
	fi
90

  
84 91
	cmake_src_configure
85 92
}
Thank you!