blob: 7dc8bcb73dbb72381867e31d72375d6d0a8e9d9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit kde4-base nsplugins readme.gentoo
DESCRIPTION="Plugin for embedding okular into the browser"
HOMEPAGE="https://github.com/afrimberger/okularplugin"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="kde-base/okular:4"
RDEPEND="${DEPEND}"
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="
okularplugin is now installed, but must be configured as PDF viewer
in your browser(s).
Chrome:
Open the address chrome://plugins, disable \"Chrome PDF viewer\"
and check \"Always allowed\" for \"Okular plugin\".
Chromium:
Open the address chrome://plugins and check \"Always allowed\"
for \"Okular plugin\".
Firefox:
Open the Preferences dialog, go in the Applications section and
select \"Use Okular plugin (in Firefox)\" beside
\"Portable Document Format (PDF)\".
"
src_install() {
kde4-base_src_install
inst_plugin "$(kde4-config --install lib)/lib${PN}.so"
readme.gentoo_create_doc
}
|