commit:     122aac54c4a9b35ea3d3755f7840db0ffbc4ad1b
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  9 14:40:22 2014 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sun Mar  9 14:40:22 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=122aac54

[kde-base/okular] Add USE dpi wrt bug #503956

Package-Manager: portage-2.2.8-r1

---
 kde-base/okular/metadata.xml               | 1 +
 kde-base/okular/okular-4.12.80.ebuild      | 4 +++-
 kde-base/okular/okular-4.13.49.9999.ebuild | 4 +++-
 kde-base/okular/okular-9999.ebuild         | 4 +++-
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/kde-base/okular/metadata.xml b/kde-base/okular/metadata.xml
index 46962fb..63b3d40 100644
--- a/kde-base/okular/metadata.xml
+++ b/kde-base/okular/metadata.xml
@@ -3,6 +3,7 @@
 <pkgmetadata>
 <use>
        <flag name="chm">Enable support for Microsoft Compiled HTML Help 
files</flag>
+       <flag name="dpi">DPI detection support for PDF rendering via 
<pkg>x11-libs/libkscreen</pkg></flag>
        <flag name="ebook">Add E-Book support</flag>
        <flag name="mobi">Add mobipocket support</flag>
 </use>

diff --git a/kde-base/okular/okular-4.12.80.ebuild 
b/kde-base/okular/okular-4.12.80.ebuild
index b1b8a15..65c21d0 100644
--- a/kde-base/okular/okular-4.12.80.ebuild
+++ b/kde-base/okular/okular-4.12.80.ebuild
@@ -15,7 +15,7 @@ inherit kde4-base
 DESCRIPTION="Okular is a universal document viewer based on KPDF for KDE 4."
 HOMEPAGE="http://okular.kde.org 
http://www.kde.org/applications/graphics/okular";
 KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="chm crypt debug djvu ebook +jpeg mobi +postscript +pdf +tiff"
+IUSE="chm crypt debug djvu dpi ebook +jpeg mobi +postscript +pdf +tiff"
 
 DEPEND="
        media-libs/freetype
@@ -24,6 +24,7 @@ DEPEND="
        chm? ( dev-libs/chmlib )
        crypt? ( app-crypt/qca:2 )
        djvu? ( app-text/djvu )
+       dpi? ( x11-libs/libkscreen )
        ebook? ( app-text/ebook-tools )
        jpeg? ( virtual/jpeg:0 )
        mobi? ( $(add_kdebase_dep kdegraphics-mobipocket) )
@@ -38,6 +39,7 @@ src_configure() {
                $(cmake-utils_use_with chm)
                $(cmake-utils_use_with crypt QCA2)
                $(cmake-utils_use_with djvu DjVuLibre)
+               $(cmake-utils_use_with dpi LibKScreen)
                $(cmake-utils_use_with ebook EPub)
                $(cmake-utils_use_with jpeg)
                $(cmake-utils_use_with mobi QMobiPocket)

diff --git a/kde-base/okular/okular-4.13.49.9999.ebuild 
b/kde-base/okular/okular-4.13.49.9999.ebuild
index 3c428b2..f785b8e 100644
--- a/kde-base/okular/okular-4.13.49.9999.ebuild
+++ b/kde-base/okular/okular-4.13.49.9999.ebuild
@@ -15,7 +15,7 @@ inherit kde4-base
 DESCRIPTION="Okular is a universal document viewer based on KPDF for KDE 4."
 HOMEPAGE="http://okular.kde.org 
http://www.kde.org/applications/graphics/okular";
 KEYWORDS=""
-IUSE="chm crypt debug djvu ebook +jpeg mobi +postscript +pdf +tiff"
+IUSE="chm crypt debug djvu dpi ebook +jpeg mobi +postscript +pdf +tiff"
 
 DEPEND="
        media-libs/freetype
@@ -24,6 +24,7 @@ DEPEND="
        chm? ( dev-libs/chmlib )
        crypt? ( app-crypt/qca:2 )
        djvu? ( app-text/djvu )
+       dpi? ( x11-libs/libkscreen )
        ebook? ( app-text/ebook-tools )
        jpeg? ( virtual/jpeg:0 )
        mobi? ( $(add_kdebase_dep kdegraphics-mobipocket) )
@@ -38,6 +39,7 @@ src_configure() {
                $(cmake-utils_use_with chm)
                $(cmake-utils_use_with crypt QCA2)
                $(cmake-utils_use_with djvu DjVuLibre)
+               $(cmake-utils_use_with dpi LibKScreen)
                $(cmake-utils_use_with ebook EPub)
                $(cmake-utils_use_with jpeg)
                $(cmake-utils_use_with mobi QMobiPocket)

diff --git a/kde-base/okular/okular-9999.ebuild 
b/kde-base/okular/okular-9999.ebuild
index 3c428b2..f785b8e 100644
--- a/kde-base/okular/okular-9999.ebuild
+++ b/kde-base/okular/okular-9999.ebuild
@@ -15,7 +15,7 @@ inherit kde4-base
 DESCRIPTION="Okular is a universal document viewer based on KPDF for KDE 4."
 HOMEPAGE="http://okular.kde.org 
http://www.kde.org/applications/graphics/okular";
 KEYWORDS=""
-IUSE="chm crypt debug djvu ebook +jpeg mobi +postscript +pdf +tiff"
+IUSE="chm crypt debug djvu dpi ebook +jpeg mobi +postscript +pdf +tiff"
 
 DEPEND="
        media-libs/freetype
@@ -24,6 +24,7 @@ DEPEND="
        chm? ( dev-libs/chmlib )
        crypt? ( app-crypt/qca:2 )
        djvu? ( app-text/djvu )
+       dpi? ( x11-libs/libkscreen )
        ebook? ( app-text/ebook-tools )
        jpeg? ( virtual/jpeg:0 )
        mobi? ( $(add_kdebase_dep kdegraphics-mobipocket) )
@@ -38,6 +39,7 @@ src_configure() {
                $(cmake-utils_use_with chm)
                $(cmake-utils_use_with crypt QCA2)
                $(cmake-utils_use_with djvu DjVuLibre)
+               $(cmake-utils_use_with dpi LibKScreen)
                $(cmake-utils_use_with ebook EPub)
                $(cmake-utils_use_with jpeg)
                $(cmake-utils_use_with mobi QMobiPocket)

Reply via email to