summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0xd34df00d <0xd34df00d@gmail.com>2017-02-25 19:49:28 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-26 12:58:56 +0100
commit09222bd0523d448c79f1434b042f55e440097adf (patch)
tree899893b57e6ed056d7eb0f4350388ccbedbc6b90 /app-leechcraft/lc-poshuku
parentprofiles/arch/hppa: Mask USE=libsecret for dev-vcs/git. (diff)
downloadgentoo-09222bd0523d448c79f1434b042f55e440097adf.tar.gz
gentoo-09222bd0523d448c79f1434b042f55e440097adf.tar.bz2
gentoo-09222bd0523d448c79f1434b042f55e440097adf.zip
app-leechcraft: use Qt5, modernize the eclass and ebuilds
Closes: https://github.com/gentoo/gentoo/pull/4079
Diffstat (limited to 'app-leechcraft/lc-poshuku')
-rw-r--r--app-leechcraft/lc-poshuku/lc-poshuku-9999.ebuild63
-rw-r--r--app-leechcraft/lc-poshuku/metadata.xml39
2 files changed, 55 insertions, 47 deletions
diff --git a/app-leechcraft/lc-poshuku/lc-poshuku-9999.ebuild b/app-leechcraft/lc-poshuku/lc-poshuku-9999.ebuild
index def627388786..50e7cb01fa18 100644
--- a/app-leechcraft/lc-poshuku/lc-poshuku-9999.ebuild
+++ b/app-leechcraft/lc-poshuku/lc-poshuku-9999.ebuild
@@ -1,49 +1,52 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI=6
-inherit confutils leechcraft
+inherit leechcraft
DESCRIPTION="Poshuku, the full-featured web browser plugin for LeechCraft"
SLOT="0"
KEYWORDS=""
-IUSE="+autosearch debug +dcac +cleanweb +fatape +filescheme +fua +idn +keywords +onlinebookmarks
- +pcre postgres qrd +sqlite wyfv"
+IUSE="+autosearch debug +dcac +cleanweb +fatape +filescheme +foc +fua +idn +keywords +onlinebookmarks
+ postgres qrd +speeddial +sqlite webengine +webkit"
DEPEND="~app-leechcraft/lc-core-${PV}[postgres?,sqlite?]
- dev-qt/qtwebkit:4
- idn? ( net-dns/libidn )
- onlinebookmarks? ( >=dev-libs/qjson-0.7.1-r1 )
- pcre? ( >=dev-libs/libpcre-8.12 )
- qrd? ( media-gfx/qrencode )
+ dev-qt/qtwidgets:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtxml:5
+ dev-qt/qtprintsupport:5
+ cleanweb? ( dev-qt/qtconcurrent:5 )
+ idn? ( net-dns/libidn )
+ qrd? ( media-gfx/qrencode )
+ webkit? ( dev-qt/qtwebkit:5 )
+ webengine? ( dev-qt/qtwebengine:5 )
"
RDEPEND="${DEPEND}
- virtual/leechcraft-downloader-http"
+ virtual/leechcraft-downloader-http"
-REQUIRED_USE="pcre? ( cleanweb )"
-
-pkg_setup() {
- confutils_require_any postgres sqlite
-}
+REQUIRED_USE="|| ( postgres sqlite )
+ || ( webkit webengine )"
src_configure() {
- local mycmakeargs="
- $(cmake-utils_use_enable autosearch POSHUKU_AUTOSEARCH)
- $(cmake-utils_use_enable cleanweb POSHUKU_CLEANWEB)
- $(cmake-utils_use_enable dcac POSHUKU_DCAC)
- $(cmake-utils_use_enable fatape POSHUKU_FATAPE)
- $(cmake-utils_use_enable filescheme POSHUKU_FILESCHEME)
- $(cmake-utils_use_enable fua POSHUKU_FUA)
- $(cmake-utils_use_enable idn IDN)
- $(cmake-utils_use_enable keywords POSHUKU_KEYWORDS)
- $(cmake-utils_use_enable onlinebookmarks POSHUKU_ONLINEBOOKMARKS)
- $(cmake-utils_use_enable qrd POSHUKU_QRD)
- $(cmake-utils_use_enable pcre POSHUKU_CLEANWEB_PCRE)
- $(cmake-utils_use_enable wyfv POSHUKU_WYFV)
- "
+ local mycmakeargs=(
+ -DENABLE_POSHUKU_AUTOSEARCH=$(usex autosearch)
+ -DENABLE_POSHUKU_CLEANWEB=$(usex cleanweb)
+ -DENABLE_POSHUKU_DCAC=$(usex dcac)
+ -DENABLE_POSHUKU_FATAPE=$(usex fatape)
+ -DENABLE_POSHUKU_FILESCHEME=$(usex filescheme)
+ -DENABLE_POSHUKU_FOC=$(usex foc)
+ -DENABLE_POSHUKU_FUA=$(usex fua)
+ -DENABLE_IDN=$(usex idn)
+ -DENABLE_POSHUKU_KEYWORDS=$(usex keywords)
+ -DENABLE_POSHUKU_ONLINEBOOKMARKS=$(usex onlinebookmarks)
+ -DENABLE_POSHUKU_QRD=$(usex qrd)
+ -DENABLE_POSHUKU_SPEEDDIAL=$(usex speeddial)
+ -DENABLE_POSHUKU_WEBKITVIEW=$(usex webkitview)
+ -DENABLE_POSHUKU_WEBENGINEVIEW=$(usex webengineview)
+ )
cmake-utils_src_configure
}
diff --git a/app-leechcraft/lc-poshuku/metadata.xml b/app-leechcraft/lc-poshuku/metadata.xml
index 91328c1eb0da..fc972e3c9eaf 100644
--- a/app-leechcraft/lc-poshuku/metadata.xml
+++ b/app-leechcraft/lc-poshuku/metadata.xml
@@ -1,21 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>leechcraft@gentoo.org</email>
- <name>LeechCraft</name>
-</maintainer>
-<use>
- <flag name="autosearch">Provide automatic search suggestions for Poshuku.</flag>
- <flag name="cleanweb">Build CleanWeb for ad blocking compatible with Firefox's AdBlock+.</flag>
- <flag name="dcac">Build color inverter module providing a night mode.</flag>
- <flag name="fatape">Build FatApe, GreaseMonkey userscripts support layer.</flag>
- <flag name="filescheme">Build FileScheme for accessing local URLs.</flag>
- <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="qrd">Build module for displaying the QR code of a web page.</flag>
- <flag name="wyfv">Build WYFV for replacing Flash-based video players on some sites.</flag>
-</use>
+ <maintainer type="person">
+ <email>0xd34df00d@gmail.com</email>
+ <name>Georg Rudoy</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="autosearch">Provide automatic search suggestions for Poshuku.</flag>
+ <flag name="cleanweb">Build CleanWeb for ad blocking compatible with Firefox's AdBlock+.</flag>
+ <flag name="dcac">Build color inverter module providing a night mode.</flag>
+ <flag name="fatape">Build FatApe, GreaseMonkey userscripts support layer.</flag>
+ <flag name="filescheme">Build FileScheme for accessing local URLs.</flag>
+ <flag name="foc">Build FOC for Flash-on-Click functionality.</flag>
+ <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="qrd">Build module for displaying the QR code of a web page.</flag>
+ <flag name="speeddial">Build SpeedDial module.</flag>
+ <flag name="webengine">Build WebEngine- (that is, Chromium-)based rendering backend.</flag>
+ </use>
</pkgmetadata>