app-text/pdfsam: bump & correct ebuild

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@479 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2008-08-29 21:31:18 +00:00
parent ee2e7f49be
commit 2df073a790
3 changed files with 118 additions and 1 deletions

View File

@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
29 Aug 2008; Mario Fetka <mario.fetka@gmail.com> +pdfsam-1.4.1e.ebuild:
bump & correct ebuild
31 Jul 2008; Mario Fetka <mario.fetka@gmail.com> pdfsam-1.3.0e_p1.ebuild, 31 Jul 2008; Mario Fetka <mario.fetka@gmail.com> pdfsam-1.3.0e_p1.ebuild,
pdfsam-1.4.0e.ebuild: pdfsam-1.4.0e.ebuild:
correct desktop files correct desktop files

View File

@ -1,7 +1,9 @@
DIST pdfsam-1.3.0e-sr1-build-1-src.zip 568873 RMD160 d41ec9897a986acec7e58336d2eb03b09cf365d2 SHA1 939c1f9fed1d8d87f6aebc617f974056ae43da37 SHA256 fdece9d10195fa0c722a5b6dfe24dd30308517214f64c1a7f47be5d6ef3b1f69 DIST pdfsam-1.3.0e-sr1-build-1-src.zip 568873 RMD160 d41ec9897a986acec7e58336d2eb03b09cf365d2 SHA1 939c1f9fed1d8d87f6aebc617f974056ae43da37 SHA256 fdece9d10195fa0c722a5b6dfe24dd30308517214f64c1a7f47be5d6ef3b1f69
DIST pdfsam-1.3.0e-sr1-out-src.zip 391942 RMD160 3c04a901323e81d8fbbca073c7016f70ec29e901 SHA1 5f8e96a275de75287a54dd02d269eefe46a29f4d SHA256 ec4b00985a0cf8e31d5f4ac5bf4e734c43808ede8f55506610354f710d3a7df7 DIST pdfsam-1.3.0e-sr1-out-src.zip 391942 RMD160 3c04a901323e81d8fbbca073c7016f70ec29e901 SHA1 5f8e96a275de75287a54dd02d269eefe46a29f4d SHA256 ec4b00985a0cf8e31d5f4ac5bf4e734c43808ede8f55506610354f710d3a7df7
DIST pdfsam-1.4.0e-out-src.zip 7415336 RMD160 4859f42e96b2df3c226a60f9b01e5ebde8026138 SHA1 e06e9513fbb1233d92151c4e90bd02da4735fa42 SHA256 8e24328f0cc7019120c49e82e4a9239bc4579d0eef8fd707d952a47466b12fa7 DIST pdfsam-1.4.0e-out-src.zip 7415336 RMD160 4859f42e96b2df3c226a60f9b01e5ebde8026138 SHA1 e06e9513fbb1233d92151c4e90bd02da4735fa42 SHA256 8e24328f0cc7019120c49e82e4a9239bc4579d0eef8fd707d952a47466b12fa7
DIST pdfsam-1.4.1e-out-src.zip 7672259 RMD160 b97f2b0d6b24fe876b1e83712a4e4b6e081b9ac5 SHA1 de15d740b30bcf1ab6a5b7c9aa19fec0ecb2feb0 SHA256 d867853e0a4cf138d9eda06432f474c1a12ae7c18947c031fbbe08c945ff4deb
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
MISC ChangeLog 1632 RMD160 547620ebe88eca8ed826552cbb79a62b79b3f85d SHA1 35c26a79fdda366bc8ed162ec20e643331965093 SHA256 13f15f7694dfcb622d484b88eab07bf25438d7d2d32f8d3ef12f3ee286c2c790 EBUILD pdfsam-1.4.1e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc
MISC ChangeLog 1731 RMD160 048eee9e8753446f21b60b876248e4e87de23b45 SHA1 510e0edd742769bee13195303a876cb2850fffb5 SHA256 32d3dafbf316c3ab7da1295a0744fb898439bb2f7f3cd2eb8ffa52de1f7d61c6
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,112 @@
# Copyright 1999-2008 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-br1 pdfsam-encrypt pdfsam-merge pdfsam-split 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-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
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 merge cover split encrypt 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
}