summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPol Vinogradov2014-10-05 20:01:15 -0400
committerPol Vinogradov2014-10-05 20:01:15 -0400
commit4eb87127ba76b2487883d020b1089d25efaf4a35 (patch)
tree6be2fef80314fd0aa2629f60d2d01a986c8060df
parentbc140452fd27f0316327a9341e82ff2e8bc9d3d0 (diff)
http/dwb: new spell, a WebKit browser
-rw-r--r--ChangeLog3
-rwxr-xr-xhttp/dwb/BUILD5
-rwxr-xr-xhttp/dwb/DEPENDS15
-rwxr-xr-xhttp/dwb/DETAILS36
-rw-r--r--http/dwb/HISTORY3
-rwxr-xr-xhttp/dwb/INSTALL5
-rwxr-xr-xhttp/dwb/PREPARE2
-rwxr-xr-xhttp/dwb/PROVIDES1
8 files changed, 70 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 27ca08a14a..fd5bf4409e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2014-10-05 Pol Vinogradov <vin.public@gmail.com>
+ * http/dwb: new spell, a WebKt based browser
+
2014-10-02 Vlad Glagolev <stealth@sourcemage.org>
* utils/ulimits: new spell, user limits utility
diff --git a/http/dwb/BUILD b/http/dwb/BUILD
new file mode 100755
index 0000000000..142e654e5d
--- /dev/null
+++ b/http/dwb/BUILD
@@ -0,0 +1,5 @@
+if is_depends_enabled $SPELL gtk+3 ; then
+ make GTK=3 PREFIX=${INSTALL_ROOT}/usr
+else
+ make PREFIX=${INSTALL_ROOT}/usr
+fi
diff --git a/http/dwb/DEPENDS b/http/dwb/DEPENDS
new file mode 100755
index 0000000000..19ff2e676a
--- /dev/null
+++ b/http/dwb/DEPENDS
@@ -0,0 +1,15 @@
+depends git &&
+depends libsoup &&
+depends make &&
+
+optional_depends gtk+3 \
+ "" \
+ "" \
+ "use GTK3 instead of GTK2?" &&
+
+if is_depends_enabled $SPELL gtk+3 ; then
+ depends webkitgtk3
+else
+ depends gtk+2 &&
+ depends webkitgtk
+fi
diff --git a/http/dwb/DETAILS b/http/dwb/DETAILS
new file mode 100755
index 0000000000..19b51ec219
--- /dev/null
+++ b/http/dwb/DETAILS
@@ -0,0 +1,36 @@
+. "$GRIMOIRE/FUNCTIONS"
+ SPELL=dwb
+ VERSION=$(get_scm_version)
+ SOURCE=$SPELL-scm.tar.bz2
+ SOURCE_URL[0]=git_http://bitbucket.org/portix/dwb.git:${SPELL}-scm
+ SOURCE_IGNORE=volatile
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-scm"
+ WEB_SITE=http://portix.bitbucket.org/dwb
+ LICENSE[0]=GPL
+ ENTERED=20141005
+ SHORT="a WebKit browser"
+cat << EOF
+dwb is a lightweight web browser based on the webkit web browser engine and
+the gtk toolkit. dwb is highly customizable and can be easily configured
+through a web interface. It intends to be mostly keyboard driven, inspired
+by firefox's vimperator plugin.
+
+Features:
+ * vi-like shortcuts
+ * Link following via keyboard hints
+ * Bookmarks
+ * Quickmarks
+ * Cookie support, whitelisting of cookies
+ * Proxy support
+ * Userscript support
+ * Tab completion for history, bookmarks, userscripts
+ * Custom stylesheets
+ * Javascript blocker with whitelisting support
+ * Flash plugin blocker with whitelisting support
+ * Adblocking with filterlists
+ * Webinterface for keyboard and settings configuration
+ * Custom commands, binding commandsequences to shortcuts
+ * Extendable via extensions/scripts
+ * Extension manager
+EOF
diff --git a/http/dwb/HISTORY b/http/dwb/HISTORY
new file mode 100644
index 0000000000..f193735837
--- /dev/null
+++ b/http/dwb/HISTORY
@@ -0,0 +1,3 @@
+2014-10-05 Pol Vinogradov <vin.public@gmail.com>
+ * BUILD, DEPENDS, DETAILS, INSTALL, PREPARE,
+ PROVIDES: created spell
diff --git a/http/dwb/INSTALL b/http/dwb/INSTALL
new file mode 100755
index 0000000000..4742d9bb79
--- /dev/null
+++ b/http/dwb/INSTALL
@@ -0,0 +1,5 @@
+if is_depends_enabled $SPELL gtk+3 ; then
+ make GTK=3 PREFIX=${INSTALL_ROOT}/usr install
+else
+ make PREFIX=${INSTALL_ROOT}/usr install
+fi
diff --git a/http/dwb/PREPARE b/http/dwb/PREPARE
new file mode 100755
index 0000000000..a68f274f72
--- /dev/null
+++ b/http/dwb/PREPARE
@@ -0,0 +1,2 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch scm
diff --git a/http/dwb/PROVIDES b/http/dwb/PROVIDES
new file mode 100755
index 0000000000..904c5898ae
--- /dev/null
+++ b/http/dwb/PROVIDES
@@ -0,0 +1 @@
+WEB-BROWSER