Diff mupdf-1.21.0 with a mupdf-1.21.1-r1

/usr/portage/app-text/mupdf/mupdf-1.21.1-r1.ebuild 2023-10-09 14:52:28.888368335 +0300
15 15

  
16 16
LICENSE="AGPL-3"
17 17
SLOT="0/${PV}"
18
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 x86"
19
IUSE="+javascript opengl ssl X"
18
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
19
IUSE="+drm +javascript opengl ssl X"
20 20
REQUIRED_USE="opengl? ( javascript )"
21 21

  
22 22
# Although we use the bundled, patched version of freeglut in mupdf (because of
......
46 46
PATCHES=(
47 47
	"${FILESDIR}"/${PN}-1.15-CFLAGS.patch
48 48
	"${FILESDIR}"/${PN}-1.19.0-Makefile.patch
49
	"${FILESDIR}"/${P}-add-desktop-pc-files.patch
49
	"${FILESDIR}"/${PN}-1.21.0-add-desktop-pc-files.patch
50 50
	"${FILESDIR}"/${PN}-1.19.0-darwin.patch
51 51
	# See bugs #662352
52 52
	"${FILESDIR}"/${PN}-1.15-openssl-x11.patch
53 53
	# General cross fixes from Debian (refreshed)
54 54
	"${FILESDIR}"/${PN}-1.19.0-cross-fixes.patch
55
	"${FILESDIR}"/${P}-no-drm.patch
56
	"${FILESDIR}"/${P}-fix-aliasing-violation.patch
57
	# See bug 893604
58
	# Fixed in upcoming release
59
	"${FILESDIR}"/${P}-fix-url-processing.patch
55 60
)
56 61

  
57 62
src_prepare() {
......
59 64

  
60 65
	use hppa && append-cflags -ffunction-sections
61 66

  
67
	use drm && append-cflags -DGENTOO_MUPDF_DRM
68

  
62 69
	append-cflags "-DFZ_ENABLE_JS=$(usex javascript 1 0)"
63 70

  
64 71
	sed -e "1iOS = Linux" \
......
150 157
	fi
151 158

  
152 159
	# Respect libdir (bug #734898)
153
	sed -i -e "s:/lib:/$(get_libdir):" platform/debian/${PN}.pc || die "Failed to sed pkgconfig file to respect libdir in src_install()"
160
	sed -i -e "s:/lib:/$(get_libdir):" platform/debian/${PN}.pc \
161
		|| die "Failed to sed pkgconfig file to respect libdir in src_install()"
154 162

  
155 163
	insinto /usr/$(get_libdir)/pkgconfig
156 164
	doins platform/debian/${PN}.pc
Thank you!