mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
app-text/mupdf: fix opengl dependencies
It was a very bad idea from me to remove dependency on freeglut on the account that we use the bundled version. I completely forgot about freeglut dependencies themselves. Bad me. These dependencies, however, are a bit complex and I find it fragile to copy-paste them in mupdf. At the cost of installing an extra system library (freeglut) that is rather small and probably already installed anyways, we potentially save ourselves tricky problems down the road. Closes: https://bugs.gentoo.org/685604 Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
This commit is contained in:
@@ -14,6 +14,9 @@ SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X +javascript libressl opengl ssl static-libs vanilla"
|
||||
|
||||
# Although we use the bundled, patched version of freeglut in mupdf (because of
|
||||
# bug #653298), the best way to ensure that its dependencies are present is to
|
||||
# install system's freeglut.
|
||||
RDEPEND="
|
||||
media-libs/freetype:2=[static-libs?]
|
||||
media-libs/harfbuzz:=[static-libs?,truetype]
|
||||
@@ -21,6 +24,7 @@ RDEPEND="
|
||||
media-libs/libpng:0=[static-libs?]
|
||||
>=media-libs/openjpeg-2.1:2=[static-libs?]
|
||||
virtual/jpeg[static-libs?]
|
||||
opengl? ( >=media-libs/freeglut-3.0.0:= )
|
||||
ssl? (
|
||||
libressl? ( >=dev-libs/libressl-2.8:0=[static-libs?] )
|
||||
!libressl? ( >=dev-libs/openssl-1.1:0=[static-libs?] )
|
||||
|
||||
Reference in New Issue
Block a user