]> saetta.ns0.it Git - msys2/commitdiff
libconfi: branch libpeas.
authorAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Tue, 14 Apr 2015 10:46:38 +0000 (12:46 +0200)
committerAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Tue, 14 Apr 2015 10:46:38 +0000 (12:46 +0200)
packages/mingw-w64-libconfi/001-include.patch
packages/mingw-w64-libconfi/PKGBUILD

index d7940af0053e0f91905a290e5d63ac7a3faba368..c31bb2764194f755e933ee1ce79740fbda5e696d 100644 (file)
@@ -1,17 +1,6 @@
---- libconfi/tests/test.c.orig 2014-11-06 08:56:43.827743800 +0100
-+++ libconfi/tests/test.c      2014-11-06 08:59:22.594743800 +0100
-@@ -16,7 +16,7 @@
-  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-  */
--#include <libconfi.h>
-+#include "libconfi.h"
- gboolean
- traverse_func (GNode *node,
---- libconfi/tests/Makefile.am.orig    2014-11-06 09:03:12.093743800 +0100
-+++ libconfi/tests/Makefile.am 2014-11-06 09:06:59.124743800 +0100
-@@ -1,7 +1,11 @@
+--- ./tests/Makefile.am.orig   2015-04-14 12:19:29.034410100 +0200
++++ ./tests/Makefile.am        2015-04-14 12:19:36.468424900 +0200
+@@ -1,8 +1,12 @@
 -AM_CPPFLAGS = $(LIBCONFI_CFLAGS) \
 -              -I../src
 +AM_CPPFLAGS = $(WARN_CFLAGS) \
 +LDADD = $(top_builddir)/src/libconfi.la
  
  noinst_PROGRAMS = test
+--- ./tests/test.c.orig        2015-04-14 12:19:34.053090200 +0200
++++ ./tests/test.c     2015-04-14 12:20:43.526175500 +0200
+@@ -17,7 +17,7 @@
+  */
+ #include <libpeas/peas.h>
+-#include <libconfi.h>
++#include "libconfi.h"
+ gboolean
+ traverse_func (GNode *node,
index 676ddc927105b4ead66d9af343dce66c07541f8a..8d05fc66c902fd677fc14ca63322f627a4a2b575 100644 (file)
@@ -3,25 +3,25 @@
 _realname=libconfi
 pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
 pkgver=0.5.0
-pkgrel=1
+pkgrel=2
 arch=('any')
 pkgdesc="Library to manage configurations (mingw-w64)"
 depends=("${MINGW_PACKAGE_PREFIX}-libgdaex")
 makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
              "${MINGW_PACKAGE_PREFIX}-gtk-doc"
              "${MINGW_PACKAGE_PREFIX}-gnome-common")
-options=('strip' 'staticlibs')
+options=('!strip' 'debug' 'staticlibs')
 license=("LGPL 2.1")
 url="http://saetta.ns0.it/"
-source=(git+http://saetta.ns0.it/git/solipa/confi/${_realname}#branch=libgda5
+source=(git+http://saetta.ns0.it/git/solipa/confi/${_realname}#branch=libpeas
         001-include.patch)
 sha256sums=('SKIP'
-            '6e288ee3a2875b191581806c6d9f07c5b258e7c4b0d84023ff85972083fad3a2')
+            '364e93e2af2b494d5d447ba2b9584f82e2013eda8affcabceb05bb6339cca876')
 
 prepare() {
   cd ${_realname}
 
-  patch -p1 -i ${srcdir}/001-include.patch
+  patch -b -V simple -p1 -i ${srcdir}/001-include.patch
 }
 
 build() {
@@ -40,4 +40,6 @@ build() {
 package() {
   cd "$srcdir/build-${MINGW_CHOST}"
   make DESTDIR=$pkgdir install
+
+  install -Dm644 "${srcdir}/${_realname}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
 }