app-text/pdfsam: Bump to new upstream version
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1784 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
957233da10
commit
5e5dcc5897
@ -2,6 +2,9 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
27 Dec 2009; Mario Fetka <mario.fetka@gmail.com> +pdfsam-2.1.0e.ebuild:
|
||||||
|
Bump to new upstream version
|
||||||
|
|
||||||
09 Jul 2009; Mario Fetka <mario.fetka@gmail.com> pdfsam-2.0.0e.ebuild:
|
09 Jul 2009; Mario Fetka <mario.fetka@gmail.com> pdfsam-2.0.0e.ebuild:
|
||||||
corect do..
|
corect do..
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ DIST pdfsam-1.5.0e-out-src.zip 7932547 RMD160 805d221d10a0573e9871ae53d43cc1db71
|
|||||||
DIST pdfsam-1.5.1e-out-src.zip 7984695 RMD160 e0c95734b045098b30e11f6427348da45eed1f83 SHA1 9b2312718ce32456bff8e3628a25ed6a84b9fa98 SHA256 50f178b50d4c79c73141c9402259503a0727895709fb5a346a96c0542a87eb4d
|
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
|
DIST pdfsam-1.5.2e-out-src.zip 8074008 RMD160 573a100e8ecf0f185904897882562396cc52fd1e SHA1 dfeb197e3a94be013605f7444c6d0d04c059ccaf SHA256 c05feea2720465f00593ab68185989ab91634b863ac209f920b017778d5651a5
|
||||||
DIST pdfsam-2.0.0e-rc1-out-src.zip 15527413 RMD160 1f429c853515d838ae1cc5fc5c71a4c0545a117f SHA1 213b5ff2ad607303aebd5e45645e91e8083592dd SHA256 74df948a4978b62fb8dbd84e745075b2b28429795ed5e8a0eed5be44ce41cb1a
|
DIST pdfsam-2.0.0e-rc1-out-src.zip 15527413 RMD160 1f429c853515d838ae1cc5fc5c71a4c0545a117f SHA1 213b5ff2ad607303aebd5e45645e91e8083592dd SHA256 74df948a4978b62fb8dbd84e745075b2b28429795ed5e8a0eed5be44ce41cb1a
|
||||||
|
DIST pdfsam-2.1.0e-out-src.zip 16861177 RMD160 6357d23934421fac067fe9da850d8c81d715dbd1 SHA1 33c911464271b14bef2d8b4e8db8914760e2a943 SHA256 69f160f21ab0860083752e39933f0b30b3ecee539c7fdb311ec7ade61ed59105
|
||||||
EBUILD pdfsam-1.3.0e_p1.ebuild 2780 RMD160 0c2f47c9590aadc60a5e2bc15635193326380da7 SHA1 0ae6d913b56897955cd0d9a50892ac4eb554f124 SHA256 9fbe9937696e355d3685f7da063a417b8292df219a382a640316504ff51c9c24
|
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.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.1e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc
|
||||||
@ -17,5 +18,6 @@ EBUILD pdfsam-1.5.0e.ebuild 4854 RMD160 da081ffa153648985121dcc09bd6c19c2fd5c0ba
|
|||||||
EBUILD pdfsam-1.5.1e.ebuild 4798 RMD160 34f88d05194483218001385f09c37e95c05039ec SHA1 86cfa5b9fbbf8af8baa46951f3a75e2e24e1b25d SHA256 6f4e1e6a3321cdddf28f383a393c85ed69d67ba7eb45a733041f51299d289a02
|
EBUILD pdfsam-1.5.1e.ebuild 4798 RMD160 34f88d05194483218001385f09c37e95c05039ec SHA1 86cfa5b9fbbf8af8baa46951f3a75e2e24e1b25d SHA256 6f4e1e6a3321cdddf28f383a393c85ed69d67ba7eb45a733041f51299d289a02
|
||||||
EBUILD pdfsam-1.5.2e.ebuild 4977 RMD160 b403fcbbd57a6503074afcc85b902e29b92143d8 SHA1 60095a2931e66e00b1d2f7aba777e70bd5c14706 SHA256 a0d5fa17f6824916c29b0f0041fcfec77b0b987579bb85e31ddc3778e0b81996
|
EBUILD pdfsam-1.5.2e.ebuild 4977 RMD160 b403fcbbd57a6503074afcc85b902e29b92143d8 SHA1 60095a2931e66e00b1d2f7aba777e70bd5c14706 SHA256 a0d5fa17f6824916c29b0f0041fcfec77b0b987579bb85e31ddc3778e0b81996
|
||||||
EBUILD pdfsam-2.0.0e.ebuild 6353 RMD160 1f550e3a8e66c83bc6a47fba602856ec77a8d320 SHA1 1a9f099a0c75f2ecc06461697dd6942783aa4180 SHA256 9a76295e7d6b0b906b861c72cc25461e70150b0324e2be7b96982433dc553ecb
|
EBUILD pdfsam-2.0.0e.ebuild 6353 RMD160 1f550e3a8e66c83bc6a47fba602856ec77a8d320 SHA1 1a9f099a0c75f2ecc06461697dd6942783aa4180 SHA256 9a76295e7d6b0b906b861c72cc25461e70150b0324e2be7b96982433dc553ecb
|
||||||
MISC ChangeLog 2510 RMD160 8d29d3238bf65ab99cd9ba13fa7be7d1afb8b5f7 SHA1 83713705b7cc482b19586f41454eea518953695e SHA256 8bfd94934a0e35fd22436be2ffad74e59d714539d6ede077134f08ae1f73275c
|
EBUILD pdfsam-2.1.0e.ebuild 6730 RMD160 60e7d5199e887391f56c3b2379b2bda3f418c09d SHA1 d87aa7f100d67187f21c299bc4076d78dea4985e SHA256 3e557f57daf19a99a04629278b2dc851bbfb17b3f020fc3a617827dafcdd715a
|
||||||
|
MISC ChangeLog 2616 RMD160 0dc9339ba4f181dade146877e2fd792abd68d5f7 SHA1 94a40caa9b45ea3af9861b2bb9705fed834a7dde SHA256 79c07e5ee37af734a0c447f77495bced8386325bc86cfc9df5afabab123d2295
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||||
|
154
app-text/pdfsam/pdfsam-2.1.0e.ebuild
Normal file
154
app-text/pdfsam/pdfsam-2.1.0e.ebuild
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
# 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="2.0"
|
||||||
|
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
|
||||||
|
dev-java/commons-lang:2.1
|
||||||
|
dev-java/iscwt
|
||||||
|
dev-java/isfreetype
|
||||||
|
dev-java/isnativec
|
||||||
|
dev-java/isrt
|
||||||
|
dev-java/jPod
|
||||||
|
dev-java/jPodRenderer
|
||||||
|
dev-java/sun-jai-bin
|
||||||
|
dev-java/sun-jai-imageio
|
||||||
|
dev-java/jbig2
|
||||||
|
dev-java/jna
|
||||||
|
dev-java/swt:3.4"
|
||||||
|
RDEPEND=">=virtual/jre-1.5
|
||||||
|
${COMMON_DEP}"
|
||||||
|
DEPEND=">=virtual/jdk-1.5
|
||||||
|
sys-devel/gettext
|
||||||
|
app-arch/unzip
|
||||||
|
${COMMON_DEP}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A} || die "unpack failed"
|
||||||
|
mkdir "${S}"
|
||||||
|
cd "${S}"
|
||||||
|
for zip in "${WORKDIR}"/*.zip
|
||||||
|
do
|
||||||
|
unzip -oq ${zip} || die "unpacking ${zip} failed"
|
||||||
|
done
|
||||||
|
|
||||||
|
for bldprop in emp4j jcmdline pdfsam-maine pdfsam-console pdfsam-cover \
|
||||||
|
pdfsam-decrypt pdfsam-docinfo pdfsam-encrypt pdfsam-langpack \
|
||||||
|
pdfsam-merge pdfsam-mix pdfsam-rotate pdfsam-setviewer pdfsam-split \
|
||||||
|
pdfsam-unpack pdfsam-vcomposer pdfsam-vpagereorder
|
||||||
|
do
|
||||||
|
echo > ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "pdfsam.deploy.dir=${S}/deploy" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "template.dir=${S}/template-enhanced-2" >> ${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 "commons-lang.jar.name=commons-lang" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "iscwt.jar.name=iscwt" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "isfreetype.jar.name=isfreetype" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "isnativec.jar.name=isnativec" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "isrt.jar.name=isrt" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "jPod.jar.name=jPod" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "jPodFonts.jar.name=jPodFonts" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "jPodRenderer.jar.name=jPodRenderer" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "jai_codec.jar.name=jai_codec" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "jai_core.jar.name=jai_core" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "jai_imageio.jar.name=jai_imageio" >> ${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
|
||||||
|
echo "pdfsam-vpagereorder.jar.name=pdfsam-vpagereorder" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "pdfsam-vcomposer.jar.name=pdfsam-vcomposer" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "pdfsam-docinfo.jar.name=pdfsam-docinfo" >> ${S}/${bldprop}/ant/build.properties
|
||||||
|
echo "pdfsam-rotate.jar.name=pdfsam-rotate" >> ${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
|
||||||
|
java-pkg_jarfrom isrt
|
||||||
|
java-pkg_jarfrom isnativec
|
||||||
|
java-pkg_jarfrom isfreetype
|
||||||
|
java-pkg_jarfrom iscwt
|
||||||
|
java-pkg_jarfrom jPod
|
||||||
|
java-pkg_jarfrom jPodRenderer
|
||||||
|
java-pkg_jarfrom sun-jai-bin
|
||||||
|
java-pkg_jarfrom sun-jai-imageio
|
||||||
|
java-pkg_jarfrom swt-3.4
|
||||||
|
java-pkg_jarfrom commons-lang-2.1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
eant -buildfile pdfsam-maine/ant/build.xml || die "build failed"
|
||||||
|
|
||||||
|
use doc && eant -buildfile pdfsam-maine/ant/build.xml javadoc
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/${PN}-${SLOT}/lib
|
||||||
|
doins build/pdfsam-maine/release/dist/pdfsam-enhanced/*.xml || die "config install failed"
|
||||||
|
java-pkg_dojar build/pdfsam-maine/release/dist/pdfsam-enhanced/pdfsam.jar
|
||||||
|
java-pkg_dojar build/pdfsam-maine/release/dist/pdfsam-enhanced/lib/pdfsam-*.jar
|
||||||
|
java-pkg_dojar build/pdfsam-maine/release/dist/pdfsam-enhanced/lib/emp4j.jar
|
||||||
|
|
||||||
|
for plugins in cover decrypt docinfo encrypt merge mix rotate setviewer split unpack vcomposer vpagereorder
|
||||||
|
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/release/dist/pdfsam-enhanced/plugins/${plugins}/*.jar
|
||||||
|
doins build/pdfsam-maine/release/dist/pdfsam-enhanced/plugins/${plugins}/*.xml || die "config install failed"
|
||||||
|
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/images/pdf.png pdfsam-${SLOT}.png
|
||||||
|
make_desktop_entry ${PN} "PDF Split and Merge ${PV}" pdfsam-${SLOT}.png Office
|
||||||
|
|
||||||
|
use doc && dodoc pdfsam-maine/doc/enhanced/*
|
||||||
|
|
||||||
|
use doc && java-pkg_dojavadoc build/pdfsam-maine/apidocs
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user