[geany/geany-plugins] b615e8: Adding waf build support

Frank Lanitz git-noreply at xxxxx
Tue May 1 17:08:59 UTC 2012


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Tue, 01 May 2012 17:08:59
Commit:      b615e897591dad8ae0a5cc99c750299d63c530a9
             https://github.com/geany/geany-plugins/commit/b615e897591dad8ae0a5cc99c750299d63c530a9

Log Message:
-----------
Adding waf build support


Modified Paths:
--------------
    geniuspaste/wscript_build
    geniuspaste/wscript_configure

Modified: geniuspaste/wscript_build
31 files changed, 31 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,31 @@
+# -*- coding: utf-8 -*-
+#
+# WAF build script for geany-plugins - Update Checker
+#
+# Copyright 2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+# Copyright 2011-2012 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# $Id$
+
+from build.wafutils import build_plugin
+
+
+name = 'geniuspaste'
+includes = ['geniuspaste/src']
+libraries = ['LIBSOUP']
+
+build_plugin(bld, name, includes=includes, libraries=libraries)


Modified: geniuspaste/wscript_configure
36 files changed, 36 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,36 @@
+# -*- coding: utf-8 -*-
+#
+# WAF build script for geany-plugins - GeniusPaste
+#
+# Copyright 2010      Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+# Copyright 2011-2012 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# $Id$
+
+from build.wafutils import check_cfg_cached
+
+packages = [
+    ('libsoup-2.4', '2.4.0', 'LIBSOUP')
+    ]
+
+for package_name, package_version, uselib_store in packages:
+    check_cfg_cached(conf,
+                     package=package_name,
+                     atleast_version=package_version,
+                     uselib_store=uselib_store,
+                     mandatory=True,
+                     args='--cflags --libs')


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Plugins-Commits mailing list