Skip to content

Commit

Permalink
app-text/mupdf: sort IUSE
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Mar 23, 2021
1 parent 1414509 commit 41543c0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app-text/mupdf/mupdf-1.18.0-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ S="${WORKDIR}/${P}-source"
LICENSE="AGPL-3"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 x86"
IUSE="X +javascript libressl opengl ssl"
IUSE="+javascript libressl opengl ssl X"
REQUIRED_USE="opengl? ( javascript )"

# Although we use the bundled, patched version of freeglut in mupdf (because of
Expand All @@ -37,7 +37,8 @@ RDEPEND="
X? (
x11-libs/libX11
x11-libs/libXext
)"
)
"
DEPEND="${RDEPEND}"

PATCHES=(
Expand Down Expand Up @@ -112,11 +113,11 @@ _emake() {
}

src_compile() {
_emake XCFLAGS="-fpic"
_emake XCFLAGS="-fPIC"
}

src_install() {
if use X || use opengl ; then
if use opengl || use X ; then
domenu platform/debian/${PN}.desktop
doicon platform/debian/${PN}.xpm
else
Expand Down

0 comments on commit 41543c0

Please sign in to comment.