diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-30 02:16:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-30 02:16:21 +0000 |
commit | b7cf34e541f10778605d8740e2690d8459908ac5 (patch) | |
tree | 98d91f7ea7de88f6f7d667af0deb3ffaff5b4d5e /app-text/mupdf/mupdf-1.21.1.ebuild | |
parent | 8467a7e8af97ab17f54668fd7d348e68754dd0cc (diff) |
gentoo auto-resync : 30:12:2022 - 02:16:21
Diffstat (limited to 'app-text/mupdf/mupdf-1.21.1.ebuild')
-rw-r--r-- | app-text/mupdf/mupdf-1.21.1.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app-text/mupdf/mupdf-1.21.1.ebuild b/app-text/mupdf/mupdf-1.21.1.ebuild index 87efa898ece6..ac2702bc5da4 100644 --- a/app-text/mupdf/mupdf-1.21.1.ebuild +++ b/app-text/mupdf/mupdf-1.21.1.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}"/${P}-source LICENSE="AGPL-3" SLOT="0/${PV}" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" -IUSE="+javascript opengl ssl X" +IUSE="+drm +javascript opengl ssl X" REQUIRED_USE="opengl? ( javascript )" # Although we use the bundled, patched version of freeglut in mupdf (because of @@ -52,6 +52,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.15-openssl-x11.patch # General cross fixes from Debian (refreshed) "${FILESDIR}"/${PN}-1.19.0-cross-fixes.patch + "${FILESDIR}"/$P-no-drm.patch ) src_prepare() { @@ -59,6 +60,8 @@ src_prepare() { use hppa && append-cflags -ffunction-sections + use drm && append-cflags -DGENTOO_MUPDF_DRM + append-cflags "-DFZ_ENABLE_JS=$(usex javascript 1 0)" sed -e "1iOS = Linux" \ |