app-shells/zfe: add nvchecker
[gentoo-zh.git] / app-text / cajviewer / cajviewer-1.3.22.ebuild
blob59a6cb36ba634b92da3722526dfb8ab24532ba1e
1 # Copyright 2023-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit unpacker xdg
8 MY_PN="${PN}"
10 DESCRIPTION="Document Viewer for CAJ, KDH, NH, TEB and PDF format"
12 HOMEPAGE="http://cajviewer.cnki.net"
13 SRC_URI="https://download.cnki.net/${PN}_${PV}-1_amd64.deb"
14 S="${WORKDIR}"
16 LICENSE="CAJVIEWER-EULA"
17 SLOT="0"
18 KEYWORDS="~amd64"
20 RESTRICT="mirror strip"
22 RDEPEND="
23 net-dns/avahi
24 dev-libs/gmp
25 net-libs/gnutls
26 virtual/krb5
27 net-print/cups
28 dev-libs/libgcrypt
29 net-dns/libidn11
30 media-libs/libpng
31 dev-libs/libtasn1
32 x11-libs/libX11
33 x11-libs/libXau
34 x11-libs/libxcb
35 x11-libs/libXdmcp
36 x11-libs/libxkbcommon
37 x11-libs/libXrender
38 dev-qt/qtcore:5
39 dev-qt/qtdeclarative:5
40 dev-qt/qtvirtualkeyboard:5
41 x11-misc/shared-mime-info
42 app-arch/xz-utils
44 DEPEND="${RDEPEND}"
46 QA_PREBUILT="
47 /opt/apps/net.cnki.cajviewer/files/lib/*.so*
48 /opt/apps/net.cnki.cajviewer/files/plugins/*/*.so
50 MY_PREFIX="opt/apps/${MY_PN}"
52 src_install(){
53 insinto /
54 doins -r .
55 fperms 0755 /${MY_PREFIX}/CAJViewer
56 fperms 0755 /${MY_PREFIX}/start.sh