mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 20:08:43 -04:00
app-text/cajviewer: new package, add 1.0.3.0
This commit is contained in:
parent
f4bfbf5150
commit
236751f6c3
1
app-text/cajviewer/Manifest
Normal file
1
app-text/cajviewer/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST net.cnki.cajviewer_1.0.3.0_amd64.deb 34312432 BLAKE2B 30e4b031225ef85e73612d6c17f31d1c284e495a08acc4b3843cdb366a6fc8594c54a3ac852fdf8f104ac644c9242d3326e682bd575f78d3077f7c988c9cff93 SHA512 aeada3455f196d8511ffbf2799e614534a02a793ae57c4bab227b5f99cb44cd8ae67772333c64feb9d32f0f55989e826d190d275a46321c16e02912e3852acdf
|
71
app-text/cajviewer/cajviewer-1.0.3.0.ebuild
Normal file
71
app-text/cajviewer/cajviewer-1.0.3.0.ebuild
Normal file
@ -0,0 +1,71 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop unpacker xdg-utils
|
||||
|
||||
MY_PN="net.cnki.${PN}"
|
||||
|
||||
DESCRIPTION="Document Viewer for CAJ, KDH, NH, TEB and PDF format
|
||||
"
|
||||
HOMEPAGE="http://cajviewer.cnki.net"
|
||||
SRC_URI="https://download.cnki.net/${MY_PN}_${PV}_amd64.deb"
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
LICENSE="CAJVIEWER-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
net-dns/avahi
|
||||
dev-libs/gmp
|
||||
net-libs/gnutls
|
||||
virtual/krb5
|
||||
net-print/cups
|
||||
dev-libs/libgcrypt
|
||||
net-dns/libidn11
|
||||
media-libs/libpng
|
||||
dev-libs/libtasn1
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libXrender
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtvirtualkeyboard:5
|
||||
x11-misc/shared-mime-info
|
||||
app-arch/xz-utils
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/apps/net.cnki.cajviewer/files/lib/*.so*
|
||||
/opt/apps/net.cnki.cajviewer/files/plugins/*/*.so
|
||||
"
|
||||
MY_PREFIX="opt/apps/${MY_PN}"
|
||||
|
||||
src_install(){
|
||||
insinto /
|
||||
doins -r .
|
||||
newmenu ${MY_PREFIX}/entries/applications/${MY_PN}.desktop ${PN}.desktop
|
||||
insinto /usr/share/mime/packages
|
||||
doins ${MY_PREFIX}/files/cnki-caj.xml
|
||||
fperms 0755 /${MY_PREFIX}/files/bin/cajviewer
|
||||
fperms 0755 /${MY_PREFIX}/files/bin/start.sh
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm(){
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
18
app-text/cajviewer/metadata.xml
Normal file
18
app-text/cajviewer/metadata.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>1758961307@qq.com</email>
|
||||
<name>123485k</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Trusted by millions of users, professional literature reader,
|
||||
Using our software, you can read files in various formats such as CAJ and PDF,
|
||||
Newly added functions such as document management, catalog extraction, and document translation double the reading efficiency.
|
||||
</longdescription>
|
||||
<longdescription lang="zh">
|
||||
数百万用户信赖,专业文献阅读器,
|
||||
使用我们的软件,可阅读CAJ、PDF等多种格式文件,
|
||||
新增的文献管理、提取目录、文档翻译等功能,让阅读效率翻倍。
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
9
licenses/CAJVIEWER-EULA
Normal file
9
licenses/CAJVIEWER-EULA
Normal file
@ -0,0 +1,9 @@
|
||||
This software uses,with permissions,the following copyrighted
|
||||
materials:Portable Document Format(PDF)Copyright 1985-2004 Adobe
|
||||
Systems Inc.FreeType2Copyright(C) 1996-2001, 2002, 2003, 2004 David
|
||||
Turner, Robert Wilhelm, and Werner Lemberg. LibJPEGCopyright(C)
|
||||
1991-1998 Independent JPEG Group. KakaduCopyright(C) 2001, David
|
||||
Taubman, The University of New South Wales (UNSW). Little
|
||||
CMSCopyright(C) 1998-2004 Marti Maria. ZLibCopyright(C) 1995-2003
|
||||
Jean-loup Gailly and Mark Adler. Anti-Grain GeometryCopyright(C)
|
||||
2002-2005 Maxim Shemanarev (http://www.antigrain.com).
|
Loading…
x
Reference in New Issue
Block a user