gentoo/app-text/mupdf/files/mupdf-1.26.3-openssl-x11.patch
Philipp Rösner 63ac7d0d00
app-text/mupdf: add 1.26.3
- Add ebuild for app-text/mupdf-1.26.3
- Add use flag brotli, enabling support for brotli compression
- Add use flag barcode, enabling support for detecting and generating
  barcodes using mutool
- Remove c23 patch, as it got patched upstream
- Add mupdf-1.26.3-jpx.patch fixing code regarding openjpg being
  included even if -jpeg2k is set
- Adjust other patches to be aligned with upstream Makefile
  changes/cleanup
- Tested on amd64 via `pkg-testing-tool --test-feature-scope once`
- Remove keywords alpha, hppa, mips, ppc, s390, sparc, because
  media-libs/zxing-cpp first needs a rekeyword for those (if possible)

Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43124
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-14 12:53:17 +01:00

23 lines
733 B
Diff

--- a/Makerules
+++ b/Makerules
@@ -322,17 +322,13 @@ else
endif
endif
- ifeq ($(HAVE_X11),)
- HAVE_X11 := $(shell $(PKG_CONFIG) --exists x11 xext && echo yes)
- endif
+ HAVE_X11 := not-unless-portage-tells-me
ifeq ($(HAVE_X11),yes)
X11_CFLAGS := $(shell $(PKG_CONFIG) --cflags x11 xext)
X11_LIBS := $(shell $(PKG_CONFIG) --libs x11 xext)
endif
- ifeq ($(HAVE_LIBCRYPTO),)
- HAVE_LIBCRYPTO := $(shell $(PKG_CONFIG) --exists 'libcrypto >= 1.1.0' && echo yes)
- endif
+ HAVE_LIBCRYPTO := not-unless-portage-tells-me
ifeq ($(HAVE_LIBCRYPTO),yes)
LIBCRYPTO_CFLAGS := $(shell $(PKG_CONFIG) --cflags libcrypto) -DHAVE_LIBCRYPTO
LIBCRYPTO_LIBS := $(shell $(PKG_CONFIG) --libs libcrypto)