Ticket #56168: Portfile-1.0.7.diff
File Portfile-1.0.7.diff, 1.8 KB (added by oleaamot (Ole Aamot), 7 years ago) |
---|
-
(a) Portfile-1.0.6 vs. (b) Portfile
a b 3 3 PortSystem 1.0 4 4 5 5 name gnome-internet-radio-locator 6 version 1.0. 66 version 1.0.7 7 7 set branch [join [lrange [split $version .] 0 1] .] 8 8 categories gnome 9 9 platforms darwin … … 17 17 18 18 use_xz yes 19 19 20 checksums rmd160 2bccffecc36ca3cb6e15e03900eca922d650146f\21 sha256 845fa33e1ea53f1c4f19e414a7b33131f29aa000d3e05840fced7ec397b42fcc\20 checksums rmd160 6dde3bc8c2b6e75ec003a506822a4d4e0d41a8cc \ 21 sha256 4487afe2025c59780603f41eb1ab09721a51b18deb6e47e4fa51c981c9c95537 \ 22 22 size 536000 23 23 24 24 depends_build port:autoconf \ … … 62 62 configure.optflags -O0 63 63 configure.args --disable-silent-rules 64 64 65 pre-configure { 66 pre-configure { 67 if {![file exists ${prefix}/lib/pkgconfig/gdk-quartz-3.0.pc]} { 68 ui_error " 69 70 **** 71 **** Your version of GTK3 does not support quartz. Please make sure that port 72 **** gtk3 and all its dependencies are built with variants +no_x11 +quartz and 73 **** try again. 74 **** 75 " 76 error "gtk3 +no_x11 +quartz not installed." 77 } 78 } 79 if {![variant_isset quartz] && ![variant_isset x11]} { 80 error "Either +x11 or +quartz is required" 81 } 82 } 83 84 if {![variant_isset quartz]} { 85 default_variants-append +x11 +gtk3 86 } 87 65 88 post-activate { 66 89 system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" 67 90 system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" … … 72 95 configure.optflags -O0 -g 73 96 } 74 97 98 variant quartz {} 99 75 100 livecheck.type gnome-with-unstable