summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-09-23 10:10:07 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-09-23 10:10:07 +0000
commita1d277da20b70280f5eb7289c6751249fedb750c (patch)
treee8485356e5a92204c9f23805028546dc37ad3951 /www-client/leechcraft-poshuku
parentDefault to +alsa, bug #422813 by Flameeyes. (diff)
downloadgentoo-2-a1d277da20b70280f5eb7289c6751249fedb750c.tar.gz
gentoo-2-a1d277da20b70280f5eb7289c6751249fedb750c.tar.bz2
gentoo-2-a1d277da20b70280f5eb7289c6751249fedb750c.zip
Add pcre USE flag to support parsing CleanWeb rules through dev-libs/libpcre
(Portage version: 2.2.0_alpha129/cvs/Linux x86_64)
Diffstat (limited to 'www-client/leechcraft-poshuku')
-rw-r--r--www-client/leechcraft-poshuku/ChangeLog6
-rw-r--r--www-client/leechcraft-poshuku/leechcraft-poshuku-9999.ebuild11
-rw-r--r--www-client/leechcraft-poshuku/metadata.xml1
3 files changed, 14 insertions, 4 deletions
diff --git a/www-client/leechcraft-poshuku/ChangeLog b/www-client/leechcraft-poshuku/ChangeLog
index ed42d270f34e..a247049f08a3 100644
--- a/www-client/leechcraft-poshuku/ChangeLog
+++ b/www-client/leechcraft-poshuku/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/leechcraft-poshuku
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/leechcraft-poshuku/ChangeLog,v 1.17 2012/08/13 14:18:23 maksbotan Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/leechcraft-poshuku/ChangeLog,v 1.18 2012/09/23 10:10:07 pinkbyte Exp $
+
+ 23 Sep 2012; Sergey Popov <pinkbyte@gentoo.org>
+ leechcraft-poshuku-9999.ebuild, metadata.xml:
+ Add pcre USE flag to support parsing CleanWeb rules through dev-libs/libpcre
*leechcraft-poshuku-0.5.80 (13 Aug 2012)
diff --git a/www-client/leechcraft-poshuku/leechcraft-poshuku-9999.ebuild b/www-client/leechcraft-poshuku/leechcraft-poshuku-9999.ebuild
index c088db8d2437..65d31929af79 100644
--- a/www-client/leechcraft-poshuku/leechcraft-poshuku-9999.ebuild
+++ b/www-client/leechcraft-poshuku/leechcraft-poshuku-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/leechcraft-poshuku/leechcraft-poshuku-9999.ebuild,v 1.4 2012/07/15 15:39:09 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/leechcraft-poshuku/leechcraft-poshuku-9999.ebuild,v 1.5 2012/09/23 10:10:07 pinkbyte Exp $
EAPI="4"
@@ -11,15 +11,19 @@ DESCRIPTION="Poshuku, the full-featured web browser plugin for LeechCraft."
SLOT="0"
KEYWORDS=""
IUSE="debug +cleanweb +fatape +filescheme +fua +idn +keywords +onlinebookmarks
- wyfv +sqlite postgres pogooglue"
+ +pcre postgres pogooglue +sqlite wyfv"
DEPEND="~net-misc/leechcraft-core-${PV}[postgres?,sqlite?]
x11-libs/qt-webkit:4
+ idn? ( net-dns/libidn )
onlinebookmarks? ( >=dev-libs/qjson-0.7.1-r1 )
- idn? ( net-dns/libidn )"
+ pcre? ( >=dev-libs/libpcre-8.12 )
+"
RDEPEND="${DEPEND}
virtual/leechcraft-downloader-http"
+REQUIRED_USE="pcre? ( cleanweb )"
+
pkg_setup() {
confutils_require_any postgres sqlite
}
@@ -33,6 +37,7 @@ src_configure() {
$(cmake-utils_use_enable idn IDN)
$(cmake-utils_use_enable keywords POSHUKU_KEYWORDS)
$(cmake-utils_use_enable onlinebookmarks POSHUKU_ONLINEBOOKMARKS)
+ $(cmake-utils_use_enable pcre POSHUKU_CLEANWEB_PCRE)
$(cmake-utils_use_enable pogooglue POSHUKU_POGOOGLUE)
$(cmake-utils_use_enable wyfv POSHUKU_WYFV)
"
diff --git a/www-client/leechcraft-poshuku/metadata.xml b/www-client/leechcraft-poshuku/metadata.xml
index feb237a502e9..a0f2f76406be 100644
--- a/www-client/leechcraft-poshuku/metadata.xml
+++ b/www-client/leechcraft-poshuku/metadata.xml
@@ -9,6 +9,7 @@
<flag name="fua">Build FUA for faking user agents for different hosts.</flag>
<flag name="keywords">Build Keywords for adjusting search shortcuts.</flag>
<flag name="onlinebookmarks">Build OnlineBookmarks for syncing bookmarks with social bookmarking services like Read It Later.</flag>
+ <flag name="pcre">Use <pkg>dev-libs/libpcre</pkg> for rules matching in CleanWeb instead of slower QRegExp.</flag>
<flag name="pogooglue">Build Pogooglue for searching for selected words in Google in two clicks</flag>
<flag name="wyfv">Build WYFV for replacing Flash-based video players on some sites.</flag>
</use>