summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-07-09 16:50:08 +0000
committerMichael Weber <xmw@gentoo.org>2010-07-09 16:50:08 +0000
commitd4ec5518e80ee9c8f82044803ff587b2a8c33232 (patch)
tree3ac3c4f7c622bf2d01f7417a487e1094d5461f4b /app-text
parentlicense for app-text/FoxitReader (diff)
downloadsunrise-reviewed-d4ec5518e80ee9c8f82044803ff587b2a8c33232.tar.gz
sunrise-reviewed-d4ec5518e80ee9c8f82044803ff587b2a8c33232.tar.bz2
sunrise-reviewed-d4ec5518e80ee9c8f82044803ff587b2a8c33232.zip
app-text/FoxitReader: New ebuild for bug 308147, thanks to Jared for the initial ebuild
svn path=/sunrise/; revision=10975
Diffstat (limited to 'app-text')
-rw-r--r--app-text/FoxitReader/ChangeLog8
-rw-r--r--app-text/FoxitReader/FoxitReader-1.1.0.ebuild71
-rw-r--r--app-text/FoxitReader/Manifest5
-rw-r--r--app-text/FoxitReader/files/FoxitReader.pngbin0 -> 3391 bytes
-rw-r--r--app-text/FoxitReader/metadata.xml6
5 files changed, 90 insertions, 0 deletions
diff --git a/app-text/FoxitReader/ChangeLog b/app-text/FoxitReader/ChangeLog
new file mode 100644
index 000000000..93310b3fc
--- /dev/null
+++ b/app-text/FoxitReader/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-text/FoxitReader
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 09 Jul 2010; Michael Weber (xmw) <gentoo@xmw.de>
+ +FoxitReader-1.1.0.ebuild, +files/FoxitReader.png, +metadata.xml:
+ New ebuild for bug 308147, thanks to Jared for the initial ebuild
+
diff --git a/app-text/FoxitReader/FoxitReader-1.1.0.ebuild b/app-text/FoxitReader/FoxitReader-1.1.0.ebuild
new file mode 100644
index 000000000..3c194f4cf
--- /dev/null
+++ b/app-text/FoxitReader/FoxitReader-1.1.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils fdo-mime versionator
+
+MY_PV1=$(get_major_version)
+MY_PV2=$(get_version_component_range 1-2)
+
+DESCRIPTION="A free PDF document viewer, featuring small size, quick startup, and fast page rendering"
+HOMEPAGE="http://www.foxitsoftware.com/pdf/desklinux/"
+SRC_URI="http://mirrors.foxitsoftware.com/pub/foxit/reader/desktop/linux/${MY_PV1}.x/${MY_PV2}/enu/${P}.tar.bz2"
+
+LICENSE="${PN}"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 -*"
+IUSE=""
+MY_LANGS="de fr ja zh_CN zh_TW"
+for MY_LANG in ${MY_LANGS} ; do
+ IUSE="${IUSE} linguas_${MY_LANG}"
+done
+
+RDEPEND="
+ x86? ( dev-libs/atk
+ dev-libs/glib:2
+ media-libs/freetype:2
+ net-print/cups
+ x11-libs/cairo
+ x11-libs/gtk+:2
+ x11-libs/pango )
+ amd64? ( app-emulation/emul-linux-x86-baselibs
+ app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-gtklibs )"
+
+S=${WORKDIR}/${MY_PV2}-release
+
+QA_PRESTRIPPED="/opt/FoxitReader/FoxitReader"
+
+src_install() {
+ insinto /opt/${PN}/po
+ local my_lang
+ for my_lang in ${MY_LANGS} ; do
+ if use linguas_${my_lang} ; then
+ doins -r po/${my_linguas} || die
+ fi
+ done
+
+ insinto /opt/${PN}
+ doins fum.fhd fpdfcjk.bin || die
+
+ insopts -m755
+ doins ${PN} || die
+
+ make_wrapper ${PN} ./${PN} /opt/${PN}
+ doicon "${FILESDIR}"/${PN}.png || die
+ make_desktop_entry ${PN} ${PN} ${PN} "Application;Office;Viewer;" "MimeType=application/pdf;"
+
+ dodoc Readme.txt || die
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/app-text/FoxitReader/Manifest b/app-text/FoxitReader/Manifest
new file mode 100644
index 000000000..2a465547f
--- /dev/null
+++ b/app-text/FoxitReader/Manifest
@@ -0,0 +1,5 @@
+AUX FoxitReader.png 3391 RMD160 05a3caf9dbfc618559bfbdb9a831e99a13cf809e SHA1 cf50583b21333dbbe0ad643dac58447e3046f736 SHA256 2ccd1ddd301aaee911afa585646c845b6a6ddef13e13275e62589e6367f97efe
+DIST FoxitReader-1.1.0.tar.bz2 3787587 RMD160 bce49dcc467fc8060d4bb213cfeb3a064ccf64f1 SHA1 7de9de0886c9196d93e6c51efe81681163d5038a SHA256 02f1ad5ad2fd516754254f349c94b8e81b57b9eb2a0315f30debdc5d7fb8dbf4
+EBUILD FoxitReader-1.1.0.ebuild 1654 RMD160 a849a234a0c7bba4a35d2aadb350f15ff64ae7cd SHA1 f6ec2636c8362f6d50c71413fd2a06bb5a46e0d6 SHA256 d2d7467cc6e4fddbe5c36dd85769d9f955ba5741384049634b51897e74ad34cd
+MISC ChangeLog 309 RMD160 153bd07d8b9de2a9af1930e9f65d46ee743b8f13 SHA1 2fb00de2d3c8fd6c89604e465395212a4121ddce SHA256 a102e9f4fbd6a2e95f264b101c7a86b720737de1a83cfececd194c2987adb7dd
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/app-text/FoxitReader/files/FoxitReader.png b/app-text/FoxitReader/files/FoxitReader.png
new file mode 100644
index 000000000..2075b5d02
--- /dev/null
+++ b/app-text/FoxitReader/files/FoxitReader.png
Binary files differ
diff --git a/app-text/FoxitReader/metadata.xml b/app-text/FoxitReader/metadata.xml
new file mode 100644
index 000000000..e6233b5dc
--- /dev/null
+++ b/app-text/FoxitReader/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>