app-text/pdfsam: Repoman Cleanups
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@434 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
8097c3d29a
commit
7649a2b7f8
@ -2,6 +2,10 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
31 Jul 2008; Mario Fetka <mario.fetka@gmail.com> pdfsam-1.3.0e_p1.ebuild,
|
||||||
|
pdfsam-1.4.0e.ebuild:
|
||||||
|
Repoman Cleanups
|
||||||
|
|
||||||
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 license
|
Correct license
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
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
|
||||||
EBUILD pdfsam-1.3.0e_p1.ebuild 2772 RMD160 4ae28f8f809b1da5032d91834b4e46655c38d9e3 SHA1 ea7f67361a45af55663392a8476b20f35dc0b885 SHA256 c5fd60635c42580e9d1e87948f7fdfa14b0dfc35d860308165670b89da625771
|
EBUILD pdfsam-1.3.0e_p1.ebuild 2788 RMD160 940d8ea99f7381d381354e569f963201cd26f278 SHA1 aa82ca4831445d8647815584762f8494fdc37777 SHA256 8849f484ddefcaa9a8915a3bb18ebac2c1bbbb5aac743328efeaa9c330f3e59f
|
||||||
EBUILD pdfsam-1.4.0e.ebuild 4488 RMD160 8011bc7ac60a315bbe6e51e53dfbb04dc201f602 SHA1 05e9f85232088b96377457a3a13b8ea594a3f8cc SHA256 13f4c0fb5d7855d7757e599ec4102ee8c49194e76ec7ff6041df8addbc7b82cf
|
EBUILD pdfsam-1.4.0e.ebuild 4467 RMD160 6172c789e6cd048a6c36e8952d58f21ebab17028 SHA1 068bc3db0f8e892c865d16b09ca24fed44fb835a SHA256 099877f9b5a248663462309e4115b26df3ccdc73b8ac949b92e6d110530e857d
|
||||||
MISC ChangeLog 1387 RMD160 e334282b365b891262b913a8e2e88b8f472044a2 SHA1 0dc7a4b23ea2f9ca4e568d8027efce6d2cc230c6 SHA256 4b7adb8496ae279c2da23ad7165c32d501a51c40555e8c16ccdd5ab6e76fba18
|
MISC ChangeLog 1507 RMD160 40074f2bd1dd59c8a9d383237cd4e7c1b6567c01 SHA1 6e83854d4e53ae4b5ce744f7509c767ff2fa5a79 SHA256 bffcffd7687ae1350bf052afcec6934abc11fd46ec897077c621bc02db2eeb27
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=1
|
||||||
JAVA_PKG_IUSE="doc"
|
JAVA_PKG_IUSE="doc"
|
||||||
inherit java-pkg-2 eutils java-ant-2
|
inherit java-pkg-2 eutils java-ant-2
|
||||||
|
|
||||||
@ -11,31 +12,31 @@ MY_BV="1"
|
|||||||
DESCRIPTION="A free open source tool to split and merge pdf documents"
|
DESCRIPTION="A free open source tool to split and merge pdf documents"
|
||||||
HOMEPAGE="http://www.pdfsam.org/"
|
HOMEPAGE="http://www.pdfsam.org/"
|
||||||
SRC_URI="http://ftp.mars.arge.at/pub/${MY_P}-build-${MY_BV}-src.zip
|
SRC_URI="http://ftp.mars.arge.at/pub/${MY_P}-build-${MY_BV}-src.zip
|
||||||
mirror://sourceforge/${PN}/${MY_P}-out-src.zip"
|
mirror://sourceforge/${PN}/${MY_P}-out-src.zip"
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="1.3"
|
SLOT="1.3"
|
||||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
|
|
||||||
COMMON_DEP="=dev-java/jcmdline-1.0*
|
COMMON_DEP="dev-java/jcmdline:1.0
|
||||||
>=dev-java/itext-2.0.4
|
dev-java/itext
|
||||||
>=dev-java/jaxen-1.0
|
dev-java/jaxen:1.1
|
||||||
>=dev-java/bcmail-1.35
|
dev-java/bcmail
|
||||||
>=dev-java/bcprov-1.35
|
dev-java/bcprov
|
||||||
>=dev-java/jgoodies-looks-2.0
|
dev-java/jgoodies-looks:2.0
|
||||||
>=dev-java/dom4j-1.5"
|
dev-java/dom4j:1"
|
||||||
RDEPEND=">=virtual/jre-1.5
|
RDEPEND=">=virtual/jre-1.5
|
||||||
${COMMON_DEP}"
|
${COMMON_DEP}"
|
||||||
DEPEND=">=virtual/jdk-1.5
|
DEPEND=">=virtual/jdk-1.5
|
||||||
sys-devel/gettext
|
sys-devel/gettext
|
||||||
app-arch/unzip
|
app-arch/unzip
|
||||||
${COMMON_DEP}"
|
${COMMON_DEP}"
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
unpack ${A}
|
unpack ${A}
|
||||||
cd ${S}
|
cd "${S}"
|
||||||
java-pkg_jarfrom jcmdline-1.0
|
java-pkg_jarfrom jcmdline-1.0
|
||||||
java-pkg_jarfrom itext
|
java-pkg_jarfrom itext
|
||||||
java-pkg_jarfrom dom4j-1
|
java-pkg_jarfrom dom4j-1
|
||||||
@ -46,50 +47,50 @@ src_unpack() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
eant -Dbuild.dir=${S}/build \
|
eant -Dbuild.dir="${S}"/build \
|
||||||
-Dsrc.dir=${S} \
|
-Dsrc.dir="${S}" \
|
||||||
-Djcmdline.location=${S} \
|
-Djcmdline.location="${S}" \
|
||||||
-Ditext.location=${S} \
|
-Ditext.location="${S}" \
|
||||||
-Ddom4j.location=${S} \
|
-Ddom4j.location="${S}" \
|
||||||
-Djaxen.location=${S} \
|
-Djaxen.location="${S}" \
|
||||||
-Dbcmail.location=${S} \
|
-Dbcmail.location="${S}" \
|
||||||
-Dbcprov.location=${S} \
|
-Dbcprov.location="${S}" \
|
||||||
-Djgoodies-looks.location=${S} ${antflags}
|
-Djgoodies-looks.location="${S}" ${antflags}
|
||||||
|
|
||||||
use doc && eant -Dbuild.dir=${S}/build \
|
use doc && eant -Dbuild.dir="${S}"/build \
|
||||||
-Dsrc.dir=${S} \
|
-Dsrc.dir="${S}" \
|
||||||
-Djcmdline.location=${S} \
|
-Djcmdline.location="${S}" \
|
||||||
-Ditext.location=${S} \
|
-Ditext.location="${S}" \
|
||||||
-Ddom4j.location=${S} \
|
-Ddom4j.location="${S}" \
|
||||||
-Djaxen.location=${S} \
|
-Djaxen.location="${S}" \
|
||||||
-Dbcmail.location=${S} \
|
-Dbcmail.location="${S}" \
|
||||||
-Dbcprov.location=${S} \
|
-Dbcprov.location="${S}" \
|
||||||
-Djgoodies-looks.location=${S} ${antflags} javadoc
|
-Djgoodies-looks.location="${S}" ${antflags} javadoc
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
insinto /usr/share/${PN}-${SLOT}/lib
|
insinto /usr/share/${PN}-${SLOT}/lib
|
||||||
doins ${S}/dist/pdfsam-maine/*.xml
|
doins "${S}"/dist/pdfsam-maine/*.xml
|
||||||
java-pkg_newjar ${S}/dist/pdfsam-maine/pdfsam-*.jar pdfsam.jar
|
java-pkg_newjar "${S}"/dist/pdfsam-maine/pdfsam-*.jar pdfsam.jar
|
||||||
java-pkg_newjar ${S}/dist/pdfsam-maine/lib/pdfsam-console-*.jar pdfsam-console.jar
|
java-pkg_newjar "${S}"/dist/pdfsam-maine/lib/pdfsam-console-*.jar pdfsam-console.jar
|
||||||
java-pkg_newjar ${S}/dist/pdfsam-maine/lib/pdfsam-langpack-*.jar pdfsam-langpack.jar
|
java-pkg_newjar "${S}"/dist/pdfsam-maine/lib/pdfsam-langpack-*.jar pdfsam-langpack.jar
|
||||||
|
|
||||||
for plugins in merge cover split encrypt mix
|
for plugins in merge cover split encrypt mix
|
||||||
do
|
do
|
||||||
java-pkg_jarinto /usr/share/${PN}-${SLOT}/lib/plugins/${plugins}
|
java-pkg_jarinto /usr/share/${PN}-${SLOT}/lib/plugins/${plugins}
|
||||||
insinto /usr/share/${PN}-${SLOT}/lib/plugins/${plugins}
|
insinto /usr/share/${PN}-${SLOT}/lib/plugins/${plugins}
|
||||||
|
|
||||||
java-pkg_dojar ${S}/dist/pdfsam-maine/plugins/${plugins}/*.jar
|
|
||||||
doins ${S}/dist/pdfsam-maine/plugins/${plugins}/*.xml
|
|
||||||
done
|
|
||||||
|
|
||||||
java-pkg_dolauncher ${PN} --main it.pdfsam.GUI.MainGUI --pwd "/usr/share/${PN}-${SLOT}/lib"
|
|
||||||
java-pkg_dolauncher ${PN}-console --main it.pdfsam.console.MainConsole --pwd "/usr/share/${PN}-${SLOT}/lib"
|
|
||||||
|
|
||||||
newicon ${S}/pdfsam-maine/images/pdf.png pdfsam.png
|
java-pkg_dojar "${S}"/dist/pdfsam-maine/plugins/${plugins}/*.jar
|
||||||
make_desktop_entry ${PN} "PDF Split and Merge" pdfsam.png Office
|
doins "${S}"/dist/pdfsam-maine/plugins/${plugins}/*.xml
|
||||||
|
done
|
||||||
|
|
||||||
|
java-pkg_dolauncher ${PN}-${SLOT} --main it.pdfsam.GUI.MainGUI --pwd "/usr/share/${PN}-${SLOT}/lib"
|
||||||
|
java-pkg_dolauncher ${PN}-console-${SLOT} --main it.pdfsam.console.MainConsole --pwd "/usr/share/${PN}-${SLOT}/lib"
|
||||||
|
|
||||||
|
newicon "${S}"/pdfsam-maine/images/pdf.png pdfsam-${SLOT}.png
|
||||||
|
make_desktop_entry ${PN}-${SLOT} "PDF Split and Merge ${SLOT}" pdfsam-${SLOT}.png Office
|
||||||
|
|
||||||
dodoc pdfsam-maine/doc/* || die
|
dodoc pdfsam-maine/doc/* || die
|
||||||
|
|
||||||
use doc && java-pkg_dojavadoc dist/pdfsam-javadoc
|
use doc && java-pkg_dojavadoc dist/pdfsam-javadoc
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=1
|
||||||
JAVA_PKG_IUSE="doc"
|
JAVA_PKG_IUSE="doc"
|
||||||
inherit java-pkg-2 eutils java-ant-2
|
inherit java-pkg-2 eutils java-ant-2
|
||||||
|
|
||||||
@ -10,7 +11,7 @@ HOMEPAGE="http://www.pdfsam.org/"
|
|||||||
SRC_URI="mirror://sourceforge/${PN}/${P}-out-src.zip"
|
SRC_URI="mirror://sourceforge/${PN}/${P}-out-src.zip"
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="1.4"
|
SLOT="1.4"
|
||||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
S="${WORKDIR}/pdfsam"
|
S="${WORKDIR}/pdfsam"
|
||||||
|
Loading…
Reference in New Issue
Block a user