Ticket #47839: gwenview.dif

File gwenview.dif, 2.5 KB (added by RJVB (René Bertin), 9 years ago)
Line 
1--- /opt/local/var/macports/sources/svn.macports.org/trunk/dports/kde/gwenview/Portfile 2015-01-12 12:45:30.000000000 +0100
2+++ /opt/local/site-ports/kde/gwenview/Portfile 2015-05-25 20:56:01.000000000 +0200
3@@ -6,6 +6,7 @@
4 
5 name                gwenview
6 version             4.14.3
7+revision            1
8 categories          kde kde4
9 license             GPL-2+
10 maintainers         nicos openmaintainer
11@@ -14,10 +15,18 @@
12 platforms           darwin
13 homepage            http://www.kde.org/applications/graphics/gwenview/
14 master_sites        kde:stable/${version}/src/
15-use_xz              yes
16+#use_xz              yes
17 distname            gwenview-${version}
18-checksums           rmd160  493754167864154be07772bc85be168fb5a2b755 \
19-                    sha256  2032d18bc20ea490f3d1298e015ffac2a7b96eb7a76c02578df0713c1ab427a0
20+#checksums           rmd160  493754167864154be07772bc85be168fb5a2b755 \
21+#                    sha256  2032d18bc20ea490f3d1298e015ffac2a7b96eb7a76c02578df0713c1ab427a0
22+fetch.type          git
23+if {[file exists ${filespath}/${name}-git/.git]} {
24+    git.url         ${filespath}/${name}-git
25+} else {
26+    git.url         git://anongit.kde.org/${name}
27+}
28+git.branch          0486886b4a4fed0e756f6dca0ee3fd2ebbbe5dd5
29+
30 
31 #Binaries do not link directly to openssl, nor use the ssl backend of kdelibs4,
32 #nor links to libkimap or libmailtransport from kdepimlibs4
33@@ -31,25 +40,25 @@
34                     port:libkdcraw \
35                     port:jpeg \
36                     port:libpng \
37-                    port:lcms2
38+                    port:lcms2 \
39+                    port:libkipi
40 
41 patchfiles          patch-fileutils.diff
42 
43 # kde4-baseapps is not universal
44 universal_variant   no
45 
46-#Temporary patch to allow using the newer jpeg with gwenview 4.9.5 & 4.10.1
47-patchfiles-append   patch-CMakeLists-lib.txt.diff
48-
49 if {![variant_isset docs]} {
50     patchfiles-append   patch-CMakeLists.txt.diff
51 }
52 
53-configure.args-append   -DGWENVIEW_SEMANTICINFO_BACKEND=None
54+configure.args-append   -DGWENVIEW_SEMANTICINFO_BACKEND=None -DCMAKE_STRIP:FILEPATH=/bin/echo
55 
56-variant kipi description "adds support for KDE Image Plugin Interface" {
57- depends_lib-append port:kipi-plugins
58-}
59+# this variant made no sense without possibility to build without supporting the kipi plugins,
60+# and port:kipi-plugins doesn't exist.
61+#variant kipi description "adds support for KDE Image Plugin Interface" {
62+# depends_lib-append port:kipi-plugins
63+#}
64 
65 livecheck.url       http://kde.mirrors.hoobly.com/stable/
66 livecheck.regex     (\\d+(\\.\\d+)+)