diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-09-08 16:00:10 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-09-08 16:00:10 +0000 |
commit | 15fc22f21e57848f68131e5286834a8123ec1332 (patch) | |
tree | 55dcff9936a0c65a3b3224adc7327a27234eb38a /app-misc | |
parent | Mark 0.4.9 stable on ia64 (diff) | |
download | historical-15fc22f21e57848f68131e5286834a8123ec1332.tar.gz historical-15fc22f21e57848f68131e5286834a8123ec1332.tar.bz2 historical-15fc22f21e57848f68131e5286834a8123ec1332.zip |
fix #103938
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/gallery-remote/Manifest | 10 | ||||
-rw-r--r-- | app-misc/gallery-remote/files/digest-gallery-remote-1.4.1-r1 | 1 | ||||
-rw-r--r-- | app-misc/gallery-remote/gallery-remote-1.4.1-r1.ebuild | 59 |
3 files changed, 66 insertions, 4 deletions
diff --git a/app-misc/gallery-remote/Manifest b/app-misc/gallery-remote/Manifest index 315bb1d73227..1afaff767067 100644 --- a/app-misc/gallery-remote/Manifest +++ b/app-misc/gallery-remote/Manifest @@ -4,12 +4,14 @@ Hash: SHA1 MD5 8d901509915f147e995103c3d14f05bd gallery-remote-1.4.1.ebuild 1799 MD5 86da1911a32bfea92c08b1218d324d9a ChangeLog 945 MD5 794d84e96c85c480965fda1c9319b24f metadata.xml 256 +MD5 f5d267b39b6a2e2caa6d4aa03d3b5d46 gallery-remote-1.4.1-r1.ebuild 1953 +MD5 df0456549df4f97a4b46faf9b0c155c3 files/digest-gallery-remote-1.4.1-r1 85 MD5 df0456549df4f97a4b46faf9b0c155c3 files/digest-gallery-remote-1.4.1 85 MD5 0ecf06ec29fc94fb87eff8f73989989b files/1.4.1.patch 1125 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFC0tZr/rLF9B432nYRArk9AKC2ElKnxbaBUgDqOJw3SgEYcqTM1ACfRmbb -97Hu2FmD+bgyYlQqgI5iiCE= -=moFR +iD8DBQFDIGA3/rLF9B432nYRAsnnAJ9v+LQ5BGtssbMj8DMQt+sxRnme2gCfYigE +TJPjMZEb1aElJd60XDpoDx0= +=Zf4a -----END PGP SIGNATURE----- diff --git a/app-misc/gallery-remote/files/digest-gallery-remote-1.4.1-r1 b/app-misc/gallery-remote/files/digest-gallery-remote-1.4.1-r1 new file mode 100644 index 000000000000..eb935cccd6ac --- /dev/null +++ b/app-misc/gallery-remote/files/digest-gallery-remote-1.4.1-r1 @@ -0,0 +1 @@ +MD5 68391b5f6098e31c314530278b4cee25 gallery-remote-1.4.1-cvs-gentoo.tar.bz2 1603276 diff --git a/app-misc/gallery-remote/gallery-remote-1.4.1-r1.ebuild b/app-misc/gallery-remote/gallery-remote-1.4.1-r1.ebuild new file mode 100644 index 000000000000..24c7497c87f5 --- /dev/null +++ b/app-misc/gallery-remote/gallery-remote-1.4.1-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery-remote/gallery-remote-1.4.1-r1.ebuild,v 1.1 2005/09/08 16:00:10 axxo Exp $ + +inherit java-pkg eutils + +DESCRIPTION="Gallery Remote is a client-side Java application that provides users with a rich front-end to Gallery. This application makes it easier to upload images to your Gallery." +HOMEPAGE="http://gallery.sourceforge.net/gallery_remote.php" +SRC_URI="mirror://gentoo/gallery-remote-${PV}-cvs-gentoo.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="jikes" +RDEPEND=">=virtual/jre-1.4 + dev-java/apple-java-extensions-bin + dev-java/metadata-extractor + media-gfx/imagemagick + media-libs/jpeg" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + jikes? ( dev-java/jikes )" + +S=${WORKDIR}/gallery_remote + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}.patch + cd ${S}/lib + rm -f *.jar + java-pkg_jar-from apple-java-extensions-bin AppleJavaExtensions.jar + java-pkg_jar-from metadata-extractor metadata-extractor.jar metadata-extractor-2.1.jar +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "failed to compile" +} + +src_install() { + dodoc ChangeLog README + java-pkg_dojar GalleryRemote.jar + + dodir /usr/share/gallery-remote/{imagemagick,jpegtran} + cp imagemagick/im.properties.preinstalled ${D}/usr/share/gallery-remote/imagemagick/im.properties + cp jpegtran/jpegtran.preinstalled ${D}/usr/share/gallery-remote/jpegtran/jpegtran.properties + cp -r img ${D}/usr/share/gallery-remote/ + + # temp hack + cd ${D}/usr/share/gallery-remote/lib/ + java-pkg_jar-from metadata-extractor metadata-extractor.jar metadata-extractor-2.1.jar + cd ${S} + + echo "#!/bin/bash" > gallery-remote + echo "cd /usr/share/gallery-remote/" >> gallery-remote + echo "java -jar lib/GalleryRemote.jar" >> gallery-remote + dobin gallery-remote +} |