app-text/pdfsam: Bump upstream
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1030 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
94ee82ea50
commit
2f0b9d4c36
@ -2,6 +2,9 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
17 Apr 2009; Mario Fetka <mario.fetka@gmail.com> +pdfsam-1.5.2e.ebuild:
|
||||
Bump upstream
|
||||
|
||||
16 Apr 2009; Mario Fetka <mario.fetka@gmail.com> pdfsam-1.5.1e.ebuild:
|
||||
sunrise sugested cleanup
|
||||
|
||||
|
@ -6,6 +6,7 @@ DIST pdfsam-1.4.2e-out-src.zip 7514304 RMD160 b6bb8f0e6ebdf3d3c1638fc4e7ed2c6e4f
|
||||
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
|
||||
DIST pdfsam-1.5.1e-out-src.zip 7984695 RMD160 e0c95734b045098b30e11f6427348da45eed1f83 SHA1 9b2312718ce32456bff8e3628a25ed6a84b9fa98 SHA256 50f178b50d4c79c73141c9402259503a0727895709fb5a346a96c0542a87eb4d
|
||||
DIST pdfsam-1.5.2e-out-src.zip 8074008 RMD160 573a100e8ecf0f185904897882562396cc52fd1e SHA1 dfeb197e3a94be013605f7444c6d0d04c059ccaf SHA256 c05feea2720465f00593ab68185989ab91634b863ac209f920b017778d5651a5
|
||||
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
|
||||
@ -13,5 +14,6 @@ EBUILD pdfsam-1.4.2e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce
|
||||
EBUILD pdfsam-1.4.3e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc
|
||||
EBUILD pdfsam-1.5.0e.ebuild 4854 RMD160 da081ffa153648985121dcc09bd6c19c2fd5c0ba SHA1 541c215a28b97bdbced8f0121315f8dd462a2c0b SHA256 0980773c56b37a4bbaf1a845f63e00a4032a1db6eae182f00313b039adfe623a
|
||||
EBUILD pdfsam-1.5.1e.ebuild 4798 RMD160 34f88d05194483218001385f09c37e95c05039ec SHA1 86cfa5b9fbbf8af8baa46951f3a75e2e24e1b25d SHA256 6f4e1e6a3321cdddf28f383a393c85ed69d67ba7eb45a733041f51299d289a02
|
||||
MISC ChangeLog 2124 RMD160 3abe456ccf096c05d41faddd49186a9fe214e348 SHA1 a8f859f7a3cb437997eab4c5c1a4bc04cd33f0ec SHA256 81bb88393a536366a1dc8cb94478b760b2ab8ba2a04447663864a191f050a54c
|
||||
EBUILD pdfsam-1.5.2e.ebuild 4802 RMD160 a4eebaa20e926a741482b31f7a4a30bd59e1751c SHA1 fd90431c9874626d4e5df0790b165ddb126d3f5f SHA256 c8bd3611b87912f4bdff44fd0a9259f189914db6e44b2c953caf6adf92fb7547
|
||||
MISC ChangeLog 2215 RMD160 0f2616ebd123a153b806a107236ed9baa5013663 SHA1 3f3dd11624de76d96a87e750f43789b3d185144e SHA256 3d18cf457a0641c87efb2966e22231327b1974e57d46fddc6d32bf0c7555ad2a
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
114
app-text/pdfsam/pdfsam-1.5.2e.ebuild
Normal file
114
app-text/pdfsam/pdfsam-1.5.2e.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-br1 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 build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/*.xml
|
||||
java-pkg_dojar build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/pdfsam.jar
|
||||
java-pkg_dojar build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/lib/pdfsam-*.jar
|
||||
java-pkg_dojar 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 build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/plugins/${plugins}/*.jar
|
||||
doins 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 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 build/pdfsam-maine-br1/apidocs
|
||||
}
|
Loading…
Reference in New Issue
Block a user