app-text/pdfsam: update to new version 1.5
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@687 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
d21f8a3f7d
commit
afd701e0e0
@ -1,7 +1,10 @@
|
||||
# ChangeLog for app-text/pdfsam
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
07 Jan 2009; Mario Fetka <mario.fetka@gmail.com> +pdfsam-1.5.0e.ebuild:
|
||||
update to new version 1.5
|
||||
|
||||
04 Nov 2008; Mario Fetka <mario.fetka@gmail.com> +pdfsam-1.4.2e.ebuild,
|
||||
+pdfsam-1.4.3e.ebuild:
|
||||
Bump
|
||||
|
@ -4,10 +4,12 @@ DIST pdfsam-1.4.0e-out-src.zip 7415336 RMD160 4859f42e96b2df3c226a60f9b01e5ebde8
|
||||
DIST pdfsam-1.4.1e-out-src.zip 7672259 RMD160 b97f2b0d6b24fe876b1e83712a4e4b6e081b9ac5 SHA1 de15d740b30bcf1ab6a5b7c9aa19fec0ecb2feb0 SHA256 d867853e0a4cf138d9eda06432f474c1a12ae7c18947c031fbbe08c945ff4deb
|
||||
DIST pdfsam-1.4.2e-out-src.zip 7514304 RMD160 b6bb8f0e6ebdf3d3c1638fc4e7ed2c6e4f2a68e4 SHA1 24183aa66f5ea8eb1519c489142395c91b11a4aa SHA256 03521f24dcb45246ee73a0234e42648e15d5f334d2efc5c86c06a20117532cb9
|
||||
DIST pdfsam-1.4.3e-out-src.zip 7543948 RMD160 3d64b358cdc82fb52bacda8c3f7bfd77dfd2f434 SHA1 3eed85b645fd5fae117d32b83f401acc3f577256 SHA256 d67cfe1ce41fcc33a00191a223dbd2403c4c6de84e0c6edc5249c0a759240514
|
||||
DIST pdfsam-1.5.0e-out-src.zip 7932547 RMD160 805d221d10a0573e9871ae53d43cc1db713702ec SHA1 ab040f4200a5a8c35ab99e6fe9f4f22ce2a55067 SHA256 4776ea29a0ddb5b5137ccab2adcdda39d94e64d0022e6cb378d8b7a9f3397084
|
||||
EBUILD pdfsam-1.3.0e_p1.ebuild 2780 RMD160 0c2f47c9590aadc60a5e2bc15635193326380da7 SHA1 0ae6d913b56897955cd0d9a50892ac4eb554f124 SHA256 9fbe9937696e355d3685f7da063a417b8292df219a382a640316504ff51c9c24
|
||||
EBUILD pdfsam-1.4.0e.ebuild 4459 RMD160 340a1de86a1d9117b4dcef53d098d1d28ad14540 SHA1 ad1ec2c18c9757d4944504cf5a109ca72d0697d2 SHA256 c15ebeb0ebcda1ce6f2e45be8bf8c8d7584d7553dfb8c5ceb9c8f438717e5391
|
||||
EBUILD pdfsam-1.4.1e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc
|
||||
EBUILD pdfsam-1.4.2e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc
|
||||
EBUILD pdfsam-1.4.3e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc
|
||||
MISC ChangeLog 1838 RMD160 220dd7277a41d79001989f95b18328134c985f38 SHA1 67af3cd35458640266bf50701a3308b14ece5e91 SHA256 6f9d6e0b3cce96e5384f1c37196d4af2c62cb612256871b56d581d71068223da
|
||||
EBUILD pdfsam-1.5.0e.ebuild 4854 RMD160 da081ffa153648985121dcc09bd6c19c2fd5c0ba SHA1 541c215a28b97bdbced8f0121315f8dd462a2c0b SHA256 0980773c56b37a4bbaf1a845f63e00a4032a1db6eae182f00313b039adfe623a
|
||||
MISC ChangeLog 1941 RMD160 ee31d56a33a8fe9e73c783ab3be410fe25888ff1 SHA1 5956fa40ca962d3def007e9d9b2b23d45a44573e SHA256 632563febf182f229ba6818f20201c596a1db9156d2980f785d644a0aa2aa7e3
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
114
app-text/pdfsam/pdfsam-1.5.0e.ebuild
Normal file
114
app-text/pdfsam/pdfsam-1.5.0e.ebuild
Normal file
@ -0,0 +1,114 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=1
|
||||
JAVA_PKG_IUSE="doc"
|
||||
inherit java-pkg-2 eutils java-ant-2
|
||||
|
||||
DESCRIPTION="A free open source tool to split and merge pdf documents"
|
||||
HOMEPAGE="http://www.pdfsam.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-out-src.zip"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="1.4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/pdfsam"
|
||||
|
||||
COMMON_DEP="dev-java/dom4j:1
|
||||
dev-java/log4j
|
||||
dev-java/itext
|
||||
dev-java/jaxen:1.1
|
||||
dev-java/bcmail
|
||||
dev-java/bcprov
|
||||
dev-java/jgoodies-looks:2.0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
sys-devel/gettext
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir "${S}"
|
||||
cd "${S}"
|
||||
for zip in "${WORKDIR}"/*.zip
|
||||
do
|
||||
unzip -oq ${zip} || die "unpacking ${zip} failed"
|
||||
done
|
||||
|
||||
for bldprop in emp4j jcmdline pdfsam-console pdfsam-decrypt pdfsam-encrypt pdfsam-merge pdfsam-unpack pdfsam-split pdfsam-setviewer pdfsam-cover pdfsam-langpack pdfsam-maine-br1 pdfsam-mix
|
||||
do
|
||||
echo > ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam.deploy.dir=${S}/deploy" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "template.dir=${S}/template-enhanced-1" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "workspace.dir=${S}" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "build.dir=${S}/build" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "libs.dir=${S}" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam.version=enhanced" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "itext.jar.name=iText" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "log4j.jar.name=log4j" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "dom4j.jar.name=dom4j" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "jaxen.jar.name=jaxen" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "bcmail.jar.name=bcmail" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "bcprov.jar.name=bcprov" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "looks.jar.name=looks" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "jcmdline.jar.name=pdfsam-jcmdline" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "emp4j.jar.name=emp4j" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam.jar.name=pdfsam" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam-console.jar.name=pdfsam-console" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam-split.jar.name=pdfsam-split" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam-merge.jar.name=pdfsam-merge" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam-cover.jar.name=pdfsam-cover" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam-encrypt.jar.name=pdfsam-encrypt" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam-decrypt.jar.name=pdfsam-decrypt" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam-mix.jar.name=pdfsam-mix" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam-unpack.jar.name=pdfsam-unpack" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam-langpack.jar.name=pdfsam-langpack" >> ${S}/${bldprop}/ant/build.properties
|
||||
echo "pdfsam-setviewer.jar.name=pdfsam-setviewer" >> ${S}/${bldprop}/ant/build.properties
|
||||
|
||||
done
|
||||
|
||||
java-pkg_jarfrom itext
|
||||
java-pkg_jarfrom dom4j-1
|
||||
java-pkg_jarfrom log4j
|
||||
java-pkg_jarfrom jaxen-1.1
|
||||
java-pkg_jarfrom bcmail
|
||||
java-pkg_jarfrom bcprov
|
||||
java-pkg_jarfrom jgoodies-looks-2.0
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant ${antflags} -buildfile pdfsam-maine-br1/ant/build.xml
|
||||
|
||||
use doc && eant ${antflags} -buildfile pdfsam-maine-br1/ant/build.xml javadoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}-${SLOT}/lib
|
||||
doins "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/*.xml
|
||||
java-pkg_dojar "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/pdfsam.jar
|
||||
java-pkg_dojar "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/lib/pdfsam-*.jar
|
||||
java-pkg_dojar "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/lib/emp4j.jar
|
||||
|
||||
for plugins in decrypt encrypt merge unpack split setviewer cover mix
|
||||
do
|
||||
java-pkg_jarinto /usr/share/${PN}-${SLOT}/lib/plugins/${plugins}
|
||||
insinto /usr/share/${PN}-${SLOT}/lib/plugins/${plugins}
|
||||
|
||||
java-pkg_dojar "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/plugins/${plugins}/*.jar
|
||||
doins "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/plugins/${plugins}/*.xml
|
||||
done
|
||||
|
||||
java-pkg_dolauncher ${PN}-${SLOT} --main org.pdfsam.guiclient.GuiClient --pwd "/usr/share/${PN}-${SLOT}/lib"
|
||||
java-pkg_dolauncher ${PN}-console-${SLOT} --main org.pdfsam.console.ConsoleClient --pwd "/usr/share/${PN}-${SLOT}/lib"
|
||||
|
||||
newicon "${S}"/pdfsam-maine-br1/images/pdf.png pdfsam-${SLOT}.png
|
||||
make_desktop_entry ${PN} "PDF Split and Merge ${PV}" pdfsam-${SLOT}.png Office
|
||||
|
||||
use doc && dodoc pdfsam-maine-br1/doc/enhanced/*
|
||||
|
||||
use doc && java-pkg_dojavadoc "${S}"/build/pdfsam-maine-br1/apidocs
|
||||
}
|
Loading…
Reference in New Issue
Block a user