New package: dwb-2014.03.07

fixes #1547.
This commit is contained in:
Enno Boland 2015-05-12 15:45:57 +02:00
parent 2599d28933
commit 036ce23dbc
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,17 @@
Description: Fix for deprecated symbols in gtk3-3.13
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Bug-Debian: http://bugs.debian.org/763220
--- config.mk.orig
+++ config.mk
@@ -172,10 +172,6 @@ endif
CFLAGS_OPTIONS := $(CFLAGS)
ifeq (${USEGTK3}, 1)
-CPPFLAGS+=-DGTK_DISABLE_SINGLE_INCLUDES
-CPPFLAGS+=-DGTK_DISABLE_DEPRECATED
-CPPFLAGS+=-DGDK_DISABLE_DEPRECATED
-CPPFLAGS+=-DGSEAL_ENABLE
M4FLAGS += -DWITH_GTK3=1
endif

28
srcpkgs/dwb/template Normal file
View File

@ -0,0 +1,28 @@
# Template file for 'dwb'
pkgname=dwb
version=2014.03.07
revision=1
#wrksrc=
#create_wrksrc=yes
#only_for_archs="i686 x86_64"
build_style=gnu-makefile
#configure_args=""
#make_build_args=""
#make_install_args=""
#conf_files=""
#make_dirs="/var/log/dir 0755 root root"
hostmakedepends="pkg-config m4"
makedepends="gnutls-devel libsoup-devel webkitgtk-devel json-c-devel"
depends=""
short_desc="lightweight web browser based on webkit and gtk"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3"
homepage="http://portix.bitbucket.org/dwb/"
distfiles="https://bitbucket.org/portix/dwb/downloads/dwb-$version.tar.gz"
checksum=bfbe3e366b27c969876f9ee7954f138b1d49a270aa84a14ce43e01591ab69b62
make_build_args="GTK=3"
pre_configure() {
sed -i '/^CFLAGS += -Werror=/d' config.mk
sed -i 's/-Werror[^ ]*//' */Makefile scripts/lib/Makefile
}