@@ -5,7 +5,7 @@ PortGroup github 1.0
5
5
PortGroup active_variants 1.1
6
6
PortGroup cmake 1.1
7
7
8
- github.setup pdfpc pdfpc 4.5 .0 v
8
+ github.setup pdfpc pdfpc 4.6 .0 v
9
9
10
10
maintainers {gmx.de:Torsten.Maehne @maehne} openmaintainer
11
11
@@ -21,29 +21,37 @@ long_description ${description}\
21
21
the presentation. The input files processed by pdfpc are PDF documents, \
22
22
which can be created using nearly any of today's presentation software.
23
23
24
- platforms darwin
25
24
license GPL-2+
26
25
27
26
homepage https://${github.author} .github.io/
28
27
28
+ checksums rmd160 2aa443ba7f47fbc4aaf9e23ce81534d72026affc \
29
+ sha256 3b1a393f36a1b0ddc29a3d5111d8707f25fb2dd2d93b0401ff1c66fa95f50294 \
30
+ size 7766521
31
+ github.tarball_from archive
32
+
29
33
depends_build-append path:bin/vala:vala \
30
- port :pkgconfig
34
+ path:bin/pkg-config :pkgconfig
31
35
depends_lib-append path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
32
36
path:lib/pkgconfig/poppler.pc:poppler \
33
37
port:libgee \
34
38
path:lib/pkgconfig/librsvg-2.0.pc:librsvg \
35
39
port:discount \
36
- path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk
37
-
38
- cmake.out_of_source yes
40
+ port:qrencode
39
41
40
- checksums rmd160 2c55ae8fad8e1ec208ae2e25d0187dbc3e7d1739 \
41
- sha256 034aa0ffbaeacb87611792c4d02ad8cb8927b9edfcf5f2c542ac94dbddf8ce10 \
42
- size 7754721
42
+ # https://github.com/pdfpc/pdfpc/pull/687
43
+ patchfiles-append 18beaecbbcc066e0d4c889b3aa3ecaa7351f7768.patch
43
44
44
45
configure.args -DCMAKE_INSTALL_SYSCONFDIR=${prefix} /etc \
46
+ -DMDVIEW=off \
45
47
-DMOVIES=off
46
48
49
+ if {${configure.build_arch} ni [list ppc ppc64]} {
50
+ depends_lib-append path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk
51
+
52
+ configure.args-delete -DMDVIEW=off
53
+ }
54
+
47
55
pre-configure {
48
56
if {![variant_isset quartz] && ![variant_isset x11]} {
49
57
error " Either +x11 or +quartz is required"
0 commit comments