Ticket #57381: update-pdfpc-Portfile.diff
File update-pdfpc-Portfile.diff, 1.5 KB (added by maehne (Torsten Maehne), 6 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 PortGroup github 1.0 5 PortGroup cmake 1.0 5 PortGroup active_variants 1.1 6 PortGroup cmake 1.1 6 7 7 github.setup pdfpc pdfpc 3.1.1 v8 revision 3 9 maintainers nomaintainer8 github.setup pdfpc pdfpc 4.2.1 v 9 10 maintainers @maehne openmaintainer 10 11 11 12 categories graphics 12 13 description \ … … 32 33 33 34 depends_build-append port:vala \ 34 35 port:pkgconfig 35 depends_lib-append port:gtk 2\36 depends_lib-append port:gtk3 \ 36 37 port:poppler \ 37 port:librsvg \ 38 port:libgee06 38 port:libgee 39 39 40 40 cmake.out_of_source yes 41 41 42 pre-configure { 43 if {![variant_isset quartz] && ![variant_isset x11]} { 44 error "Either +x11 or +quartz is required" 45 } 46 } 47 48 variant quartz conflicts x11 { 49 require_active_variants port:gtk3 quartz 50 configure.args-append -DMOVIES=off 51 } 52 53 variant x11 conflicts quartz { 54 require_active_variants port:gtk3 x11 55 depends_lib-append port:gstreamer1 56 } 57 58 if {![variant_isset quartz]} { 59 default_variants +x11 60 } 61 42 62 livecheck.type regex 43 63 livecheck.url ${homepage} 44 64 livecheck.regex "[quotemeta ${name}] (\\d+(?:\\.\\d+)*) release"