Skip to content

Commit

Permalink
graphics/yacreader: expose libarchive support after 738f9f2
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeich committed Nov 20, 2022
1 parent 79ea4fb commit 11fa810
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions graphics/yacreader/Makefile
Expand Up @@ -17,8 +17,6 @@ WWW= https://www.yacreader.com/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.txt

LIB_DEPENDS= libunarr.so:archivers/unarr

FLAVORS= qt5 qt6

USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake qt:5
Expand All @@ -36,9 +34,14 @@ CONFLICTS_INSTALL= ${PORTNAME}
CONFLICTS_INSTALL= ${PORTNAME}-qt6
.endif

OPTIONS_DEFINE= OPENGL POPPLER
OPTIONS_DEFINE= ARCHIVE OPENGL POPPLER
OPTIONS_DEFAULT=OPENGL POPPLER

ARCHIVE_DESC= libarchive instead of unarr for reading compressed formats
ARCHIVE_USES= libarchive
ARCHIVE_QMAKE_ON= CONFIG+=libarchive
ARCHIVE_LIB_DEPENDS_OFF=libunarr.so:archivers/unarr

OPENGL_USES= gl
OPENGL_USE= GL=gl
OPENGL_QMAKE_OFF= CONFIG+=no_opengl
Expand Down

0 comments on commit 11fa810

Please sign in to comment.