Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6d4b4b47ae5886dce8cf13df85eeee4a681e9d74

commit 6d4b4b47ae5886dce8cf13df85eeee4a681e9d74
Author: James Buren <[email protected]>
Date:   Tue Jun 24 13:25:51 2014 -0500

dwb-2013.03.30-3-x86_64
* rebuild with json-c

diff --git a/source/xapps-extra/dwb/FrugalBuild 
b/source/xapps-extra/dwb/FrugalBuild
index 1db93f4..bd873ca 100644
--- a/source/xapps-extra/dwb/FrugalBuild
+++ b/source/xapps-extra/dwb/FrugalBuild
@@ -3,14 +3,15 @@

pkgname=dwb
pkgver=2013.03.30
-pkgrel=2
+pkgrel=3
pkgdesc="dwb is a lightweight web browser based on webkit and gtk."
url="http://portix.bitbucket.org/dwb/";
-depends=('webkit-gtk3>=2.2.3-4' 'json-c')
+depends=('webkit-gtk3>=2.2.3-4' 'json-c>=0.12')
groups=('xapps-extra')
archs=('i686' 'x86_64')
up2date="Flasttar $url"
-source=(http://bitbucket.org/portix/$pkgname/downloads/$pkgname-$pkgver.tar.gz)
-sha1sums=('57207525896a0c6145e1da69481e3ccc043757e9')
+source=(http://bitbucket.org/portix/$pkgname/downloads/$pkgname-$pkgver.tar.gz 
jsonc.patch)
+sha1sums=('57207525896a0c6145e1da69481e3ccc043757e9' \
+          '3a3a1744181aad778e92cd2d6d5b95c7cc970539')

# optimization OK
diff --git a/source/xapps-extra/dwb/jsonc.patch 
b/source/xapps-extra/dwb/jsonc.patch
new file mode 100644
index 0000000..bc6aba2
--- /dev/null
+++ b/source/xapps-extra/dwb/jsonc.patch
@@ -0,0 +1,24 @@
+diff -ur a/config.mk b/config.mk
+--- a/config.mk        2013-03-30 09:03:46.000000000 -0500
++++ b/config.mk        2014-06-24 13:20:33.389881147 -0500
+@@ -105,7 +105,7 @@
+ $(error Cannot find $(GNUTLS))
+ endif
+
+-ifeq ($(shell pkg-config --exists json && echo 1), 1)
++ifeq ($(shell pkg-config --exists json-c && echo 1), 1)
+ LIBS+=$(GNUTLS)
+ else
+ $(error Cannot find json-c)
+diff -ur a/src/util/Makefile b/src/util/Makefile
+--- a/src/util/Makefile        2013-03-30 09:03:46.000000000 -0500
++++ b/src/util/Makefile        2014-06-24 13:24:21.082872767 -0500
+@@ -13,7 +13,7 @@
+ TRANSPORT_SECURITY_JSON=transport_security_state_static.json
+ TRANSPORT_SECURITY_CERTS=transport_security_state_static.certs
+
+-LIBS=glib-2.0 gnutls json
++LIBS=glib-2.0 gnutls json-c
+ CFLAGS+=$(shell pkg-config --cflags $(LIBS))
+ LDFLAGS=$(shell pkg-config --libs $(LIBS))
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to