summaryrefslogtreecommitdiff
path: root/libre/kdegraphics-okular
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-12-19 11:50:50 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-12-19 11:51:00 -0300
commit833e27a3ecf1af862b1c2174bcbd11de32615135 (patch)
tree104bb87f6de93b494af8fe47d2ff83f6b347ca4e /libre/kdegraphics-okular
parentee01e47febd7bc067e4978e5df81685d9cb8dbd9 (diff)
okular-16.12.0-1.parabola1: updating version
* rename KDE kdegraphics-okular package
Diffstat (limited to 'libre/kdegraphics-okular')
-rw-r--r--libre/kdegraphics-okular/PKGBUILD43
-rw-r--r--libre/kdegraphics-okular/turn_off_copy-protection_anti-feature.patch13
2 files changed, 0 insertions, 56 deletions
diff --git a/libre/kdegraphics-okular/PKGBUILD b/libre/kdegraphics-okular/PKGBUILD
deleted file mode 100644
index c53deb3ad..000000000
--- a/libre/kdegraphics-okular/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 282112 2016-11-27 09:41:56Z arojas $
-# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
-# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
-# Maintainer: André Silva <emulatorman@parabola.nu>
-
-pkgname=kdegraphics-okular
-pkgver=16.08.3
-pkgrel=2.parabola1
-pkgdesc='Document Viewer, with copy-protection anti-feature turn off by default'
-arch=('i686' 'x86_64' 'armv7h')
-url="http://kde.org/applications/graphics/okular/"
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdegraphics')
-depends=('kdebase-runtime' 'qimageblitz' 'chmlib' 'djvulibre' 'libspectre'
- 'libkexiv2_4' 'poppler-qt4' 'libkscreen4')
-makedepends=('cmake' 'automoc4' 'ebook-tools' 'kdegraphics-mobipocket')
-optdepends=('ebook-tools: mobi and epub support'
- 'kdegraphics-mobipocket: mobi support')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/okular-${pkgver}.tar.xz"
- 'turn_off_copy-protection_anti-feature.patch')
-sha1sums=('744d78e513f4ab3cad9b8c41c9fd31ac398f15ec'
- 'f7323d1d39d660785fa71c0365a17795008db819')
-
-prepare() {
- mkdir -p build
- cd okular-${pkgver}
- patch -p1 -i ../turn_off_copy-protection_anti-feature.patch
-}
-
-build() {
- cd build
- cmake ../okular-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DKDE4_BUILD_TESTS=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_ActiveApp=OFF
- make
-}
-
-package() {
- cd build
- make DESTDIR="${pkgdir}" install
-}
diff --git a/libre/kdegraphics-okular/turn_off_copy-protection_anti-feature.patch b/libre/kdegraphics-okular/turn_off_copy-protection_anti-feature.patch
deleted file mode 100644
index ebc801a6a..000000000
--- a/libre/kdegraphics-okular/turn_off_copy-protection_anti-feature.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/conf/okular_core.kcfg b/conf/okular_core.kcfg
-index 35aaa9d..7593409 100644
---- a/conf/okular_core.kcfg
-+++ b/conf/okular_core.kcfg
-@@ -59,7 +59,7 @@
- </group>
- <group name="Core General" >
- <entry key="ObeyDRM" type="Bool" >
-- <default>true</default>
-+ <default>false</default>
- </entry>
- <entry key="ChooseGenerators" type="Bool" >
- <default>false</default>