[123044] trunk/dports/gnome/liferea/Portfile

devans at macports.org devans at macports.org
Sun Aug 3 22:41:45 PDT 2014


Revision: 123044
          https://trac.macports.org/changeset/123044
Author:   devans at macports.org
Date:     2014-08-03 22:41:45 -0700 (Sun, 03 Aug 2014)
Log Message:
-----------
liferea: using github, update to version 1.10.10, dependencies, configuration, homepage, now uses gtk3.

Modified Paths:
--------------
    trunk/dports/gnome/liferea/Portfile

Modified: trunk/dports/gnome/liferea/Portfile
===================================================================
--- trunk/dports/gnome/liferea/Portfile	2014-08-04 04:52:10 UTC (rev 123043)
+++ trunk/dports/gnome/liferea/Portfile	2014-08-04 05:41:45 UTC (rev 123044)
@@ -2,12 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 
-name                liferea
+github.setup        lwindolf liferea 1.10.10 v
 # Note: do not remove the epoch line.
 epoch               20090731
-version             1.6.5
-revision            3
 description         A feed aggregator for GTK+/GNOME.
 long_description    Liferea is an aggregator for online news feeds. \
                     It supports the RSS/RDF, CDF, Atom, OCS and OPML \
@@ -17,63 +16,46 @@
 categories          gnome net
 license             GPL-2+
 platforms           darwin
-homepage            http://liferea.sourceforge.net/
-master_sites        sourceforge
-checksums           md5     b5a2c0803eec5d0aff0b9ca4114eaf16 \
-                    sha1    f24dbd0e81c5a8309f0d19853211fc02ff818477 \
-                    rmd160  77b384595a757983ab9d3f8ed91d824628991670
-depends_build       port:intltool \
-                    port:pkgconfig
+homepage            http://lzone.de/${name}/
 
+checksums           rmd160  76e27c1b64ca04795704710304ca6d0deacf38fb \
+                    sha256  2cd330197c871b45d7a9b26ba9f5a61d7c9fc02536b17db5bdb933131d3202ba
+
+depends_build       port:pkgconfig \
+                    port:intltool \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
+
 depends_lib         port:desktop-file-utils \
-                    port:gtk2 \
-                    port:gconf \
+                    port:gtk3 \
                     port:libxml2 \
                     port:libxslt \
                     port:sqlite3 \
-                    path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk \
-                    port:libglade2
+                    port:libsoup \
+                    path:lib/pkgconfig/webkit-3.0.pc:webkit-gtk3 \
+                    port:json-glib \
+                    port:gobject-introspection \
+                    port:gsettings-desktop-schemas \
+                    port:libpeas \
+                    port:libnotify \
+                    port:libgnome-keyring
 
 platform darwin {
     if {${configure.cxx_stdlib} eq "libstdc++"} {
-       depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
-       depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0
+       depends_lib-delete path:lib/pkgconfig/webkit-3.0.pc:webkit-gtk3
+       depends_lib-append path:lib/pkgconfig/webkit-3.0.pc:webkit-gtk3-2.0
     }
 }
 
-# disable libnotify, does not build with libnotify-0.7+
+configure.cmd       ./autogen.sh
 
-configure.args      --disable-lua \
-                    --disable-libnotify
+configure.args      --disable-schemas-compile \
+                    --disable-libindicate \
+                    --enable-introspection=yes
 
-variant lua description {LUA scripting support} {
-    depends_lib-append      port:lua
-    configure.args-delete   --disable-lua
-    configure.args-append   --enable-lua
-}
-
-pre-destroot {
-    file mkdir "${destroot}${prefix}/share/doc/${name}"
-    xinstall -m 644 -v -W ${worksrcpath} AUTHORS ChangeLog README \
-      "${destroot}${prefix}/share/doc/${name}"
-}
-
 post-activate {
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
-    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
-    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
-        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
+    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
 }
-
-notes {
-The date/time format has changed. If you want to override the\
-new one, you need to run
-
-    gconftool-2 -s -t string /apps/liferea/date-format <format>
-
-where <format> is the format in strftime syntax.
-}
-
-livecheck.type      regex
-livecheck.url       https://sourceforge.net/projects/liferea/files/Liferea%20Stable/
-livecheck.regex     "Click to enter (\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140803/b3f1985b/attachment.html>


More information about the macports-changes mailing list