Changeset View
Standalone View
graphics/zathura/Makefile
# Created by: Quentin Stievenart <acieroid@awesom.eu> | # Created by: Quentin Stievenart <acieroid@awesom.eu> | ||||
PORTNAME= zathura | PORTNAME= zathura | ||||
DISTVERSION= 0.4.5 | DISTVERSION= 0.4.9 | ||||
CATEGORIES= graphics print | CATEGORIES= graphics print | ||||
MASTER_SITES= https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/ | MASTER_SITES= https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/ | ||||
PATCH_SITES= https://git.pwmt.org/pwmt/${PORTNAME}/-/commit/ | |||||
PATCHFILES+= c6ec5044c5ff.patch:-p1 # meson 0.61 | |||||
kfv_kfv.io: No longer required and applicable to the source. | |||||
Not Done Inline ActionsYou describe the removal reason in the diff, but not the commit log message, add it there. koobs: You describe the removal reason in the diff, but not the commit log message, add it there. | |||||
MAINTAINER= quentin.stievenart@gmail.com | MAINTAINER= quentin.stievenart@gmail.com | ||||
COMMENT= Customizable lightweight pdf viewer | COMMENT= Customizable lightweight pdf viewer | ||||
LICENSE= ZLIB | LICENSE= ZLIB | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR} \ | |||||
${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} | |||||
LIB_DEPENDS= libcairo.so:graphics/cairo \ | LIB_DEPENDS= libcairo.so:graphics/cairo \ | ||||
libgirara-gtk3.so:x11-toolkits/girara \ | libgirara-gtk3.so:x11-toolkits/girara \ | ||||
libsynctex.so:devel/tex-synctex | libsynctex.so:devel/tex-synctex | ||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR} \ | |||||
${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} | |||||
USES= compiler:c11 gettext-tools:build gnome meson ninja pkgconfig \ | USES= compiler:c11 gettext-tools:build gnome meson ninja pkgconfig \ | ||||
python:3.6+ | python:3.6+ | ||||
USE_GNOME= glib20 gtk30 gdkpixbuf2 | USE_GNOME= glib20 gtk30 gdkpixbuf2 | ||||
OPTIONS_DEFINE= SQLITE | OPTIONS_DEFINE= SQLITE SYNCTEX | ||||
OPTIONS_DEFAULT= SQLITE | OPTIONS_DEFAULT= SQLITE SYNCTEX | ||||
Done Inline Actions@koobs: I renamed the option TEX to SYNCTEX (from the previous differential) as I think this is more descriptive and avoids ambiguity. kfv_kfv.io: @koobs: I renamed the option TEX to SYNCTEX (from the previous differential) as I think this is… | |||||
Done Inline ActionsAdd Add SYNTEX option for foobar support in commit log message koobs: Add ` Add SYNTEX option for foobar support` in commit log message | |||||
SQLITE_USES= sqlite | SQLITE_USES= sqlite | ||||
SQLITE_MESON_ENABLED= sqlite | SQLITE_MESON_ENABLED= sqlite | ||||
SYNCTEX_DESC= Direct and reverse synchronisation support with SyncTeX | |||||
Done Inline Actions'with SyncTeX' is slightly redundant, since the string matches the OPTION name. `Direct and reverse synchronization support' is enough koobs: 'with SyncTeX' is slightly redundant, since the string matches the OPTION name.
`Direct and… | |||||
SYNCTEX_BUILD_DEPENDS= tex-synctex>=1.19.0:devel/tex-synctex | |||||
SYNCTEX_RUN_DEPENDS= ${SYNCTEX_BUILD_DEPENDS} | |||||
Done Inline ActionsSYNCTEX_BUILD_DEPENDS? jlduran_gmail.com: `SYNCTEX_BUILD_DEPENDS`? | |||||
Done Inline ActionsIt checks for the availability of the dependency at compile-time, but yeah, it's only required at run-time. kfv_kfv.io: It checks for the availability of the dependency at compile-time, but yeah, it's only required… | |||||
Done Inline ActionsI meant shouldn't it be: SYNCTEX_RUN_DEPENDS= ${SYNCTEX_BUILD_DEPENDS} instead? jlduran_gmail.com: I meant shouldn't it be:
```
SYNCTEX_RUN_DEPENDS= ${SYNCTEX_BUILD_DEPENDS}
```
instead? | |||||
Done Inline ActionsWhoops! Yes, you're right. I'll update. Thank you so much ;-D kfv_kfv.io: Whoops! Yes, you're right. I'll update. Thank you so much ;-D | |||||
Done Inline ActionsLIB_DEPENDS is a build and run time dependency type. If this requires the library at run time, use LIB_DEPENDS, not BUILD and/or RUN separately. koobs: LIB_DEPENDS is a build and run time dependency type.
If this requires the library at run time… | |||||
Done Inline ActionsPerfect, I didn't know, thank you. All right, I'll update and will request for review again after testport. kfv_kfv.io: Perfect, I didn't know, thank you. All right, I'll update and will request for review again… | |||||
SYNCTEX_MESON_ENABLED= synctex | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
No longer required and applicable to the source.