summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2013-05-21 12:13:07 +0000
committerMarc Schiffbauer <mschiff@gentoo.org>2013-05-21 12:13:07 +0000
commitf909399f0c87ce3a5727511e6dc277bc5ce9ac39 (patch)
tree503ed463796cd9d017a588f8d2a24db61541dd92 /app-misc/zygrib
parentInitial commit of zygrib (diff)
downloadhistorical-f909399f0c87ce3a5727511e6dc277bc5ce9ac39.tar.gz
historical-f909399f0c87ce3a5727511e6dc277bc5ce9ac39.tar.bz2
historical-f909399f0c87ce3a5727511e6dc277bc5ce9ac39.zip
Initial commit of zygrib
Package-Manager: portage-2.2.0_alpha176/cvs/Linux x86_64 Manifest-Sign-Key: 0x296C6CCA35A64134
Diffstat (limited to 'app-misc/zygrib')
-rw-r--r--app-misc/zygrib/Manifest14
-rw-r--r--app-misc/zygrib/files/zygrib2
-rw-r--r--app-misc/zygrib/files/zygrib.desktop11
-rw-r--r--app-misc/zygrib/files/zygrib.pngbin0 -> 851 bytes
-rw-r--r--app-misc/zygrib/metadata.xml11
-rw-r--r--app-misc/zygrib/zygrib-6.1.4.ebuild72
6 files changed, 108 insertions, 2 deletions
diff --git a/app-misc/zygrib/Manifest b/app-misc/zygrib/Manifest
index ce4eedb9e3a3..59cecdd39409 100644
--- a/app-misc/zygrib/Manifest
+++ b/app-misc/zygrib/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX zygrib 44 SHA256 0b2a74c7ccb4901e18a114aa152c85a32ca86fd09f8b70f6cc915909036e3b08 SHA512 5552d011137665cf81ea0bb728eef609f46707d4fc6f8fba737979cdbcbd477ce1281ae58e97be6438d2056b4ff7267b0b020b6fb95a4c49a2b14a4df0a11c1f WHIRLPOOL 9141a553238849524afabeb36e1b45c088ff2f249a69320b42a0eb07561bcbf5993a4b9fdbc5d09a00a5f018347267ccc7d7ac86ee11621041025c9a73bd355c
AUX zygrib.desktop 210 SHA256 2ede38d856946029473c317921a8a08f8782a7cbc8e7863d98d9084a913667da SHA512 fd88b992d248d0ad01374f291d792682e6ee2b5625fc792ba002f2d912bd2982c8d20aeb9bed5cf5e43a92344f1c580573e4bcf0f949cd6cebc09eff6e407b9d WHIRLPOOL 1c8a5d01518cb6f0739340c64a8f58e4780fb81fa4489df9601f11a597e1c26b03ea7b3a892522481eeec9dadebbbd2f934f2f4f1fe41c6e0b6f0721b4d40768
AUX zygrib.png 851 SHA256 42a9cea5b780fd1fef66b3ba5327f93690d29373e2d95434d8f96440bd1425e7 SHA512 9f36e96be1efa5df558321b631b43a7496ec812e76eb1eb5392b1a0afdec782f427b9d0b697102a661258ac1edd00b4bb0a84788c73e1fcd5f16584ad566fe5b WHIRLPOOL 72f2ae9d804977d6b8b04e5d9695c3e6cf1c7802b03e43ef0e7b760b614a65f01fe121134abc7357544b660a3afbe83cbf464fc371c21013c03beb988de524ee
@@ -6,6 +9,13 @@ DIST zygrib-cities_0-300.txt.gz 517620 SHA256 443015f38acbe3cc972b04b80b0011c53b
DIST zygrib-cities_1k-3k.txt.gz 495119 SHA256 08a4071b0044d20410c894bab11fcaf05533d3d8299233b91430b8f8eafe1ce1 SHA512 010d6688b9c381f0ace549c53a45f8bd43f1d6846dc01241ab7bfdf30b0629f39ef2a9a715c55a534634ad8480bc2edc2796a09f0c369406027f35f6b4ba8c08 WHIRLPOOL 05a03c46932ab2911a33644050d16837879765db362ecad63ae6dbc5674e9c0974a66d0f58133c05294f8b46f46fa1e5b2af326161f7cfe2e7aa08b2e314e7c0
DIST zygrib-cities_300-1k.txt.gz 512733 SHA256 6fb04f9c27420ec6f4793be4842a6e6831ee1219d1834a8c1c7d67c3c19cafd0 SHA512 f22f10c5d4d011593cf658acc2b2bdb6678d9ad26be0dfab67e2e6546439adc2c5a26d04889ddfd3544dbd2ff4d52e1d17e7d4b7d929e589fe55ceb6c0dc4112 WHIRLPOOL 2642614d918ac091aca958143aee686dc077ca020962db224713507a6453ebf48fdc16b92b58560746b10edc5041814628f238fc42105e0bf473d871c474258b
DIST zygrib-maps2.tgz 105736055 SHA256 99077dd14ab4243150d56699bc80232383741dd387b8164b5fd59f0a1df06ec3 SHA512 293633dd8e0da83e4f2ce4dc0da70b1602e7f4328c5cfb480f65d9386af5d5539bbc39aa9a917d4089774563fb448323d813b465bddf52d2fce262293f26755d WHIRLPOOL b5126a785bac2bad6cd9e4ceb1bf305ff401a61b9ed42cb2b27d0266686d924008e6912618dad2190111c55eb688fd183a634fd52481271f289ed6dd4e420d4d
-EBUILD zygrib-6.1.4.ebuild 2177 SHA256 e41e01b4e9d7b1db6e74cf55ec30dc78bf4e032db92cb95aa7b529bbfa530497 SHA512 565eacc5d8c3b64a7a18a4bebd1471f94bcf3e22916eba65b565ad27fc74e1c503766448ec089512cc918af5ab88d27d9cac27e4236452ae05eb86fe9e99fa1e WHIRLPOOL c721b6988dc943a71920b04013f6dd8d8b1a514056b8f8eced5e9a5298f810a5df0854ce5b50cf601b266fc430bb99db6053827238873fac145b80a63ecb8317
-MISC ChangeLog 322 SHA256 83cf1c04414e01a55f96ab43c65a7d2eb5876c642f0303b8e3e69721fafce579 SHA512 d6e862af4a79f08e37297e1cab2bbb4b6815c7d59facfdbe25eb7ad1b56d58979039f09da67c0215ac7c1171e9437582ac1d0bc462ddc6e64241625760d63c31 WHIRLPOOL 2463be685759c8adf6baf9237de4bb5cc53c19bf38fcad80a0bce06e03d212f9b4684e03a0e4d6d1b661297eba28cb44d3c1a99074865feda1ae4146ab6859b4
+EBUILD zygrib-6.1.4.ebuild 2275 SHA256 395e9a8f6e2a92c4a515f6478d36b9d617dfe0eb87fa2f9e2f7c6445dc0271d4 SHA512 b616c47f010b38423a7c97f297be8ae9341d0ebfacdb1740b9aa829edbf1d4616f3294f87dff934bb0bf01f652679fefa14a260f2d434e2594a6e6111ee974fc WHIRLPOOL 48689b8c5a6075da9e75880bb576a4bb59c51512677540f07a3251fcdf4c02f4bae0e705a5c556dc2ce3f20ce2d6c96877218f721c6819f75c512f371c48bbb1
+MISC ChangeLog 410 SHA256 65f875cb83ce5e119b88cb8cf9131ded0d6662f87d382bb4c28f3554639f5938 SHA512 3b6fdb8744a30c73eea995c8cd463ce3cec0bdc409504c1de1705460a97963c90327a1912c7518ae264e95dd5b5469dc4b9da354b418faacaf6a1e8f54ed633d WHIRLPOOL 87ed50932ddb23b5cc93ded4b281f000542a2bdddf927357d7f89fae7d6214d5a3ce19b227821dd5b1f1fb9e8706dee8dc15c6502c332bfc357b9e3e8badc35e
MISC metadata.xml 324 SHA256 67c03595bd900b33c5155481b1336c1e4b2b0f25d2dbf91775c1a36ca0ebb73b SHA512 a9b2947009f936de186b0a9836098ddc79fcd2f55a58a345506ae188c2aa100b69b491727ec50abe1cd626d882a9f63018a2638fe8a0eb64b44efdd1cbcd6389 WHIRLPOOL 900ab50882647631c6ca09c49341d3f72b9573697c675cbcd047f68cfb2c2f7468afb067519ff33b11a8b94e32b301520226d73fd7e55c3c104fca30ee7b0656
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iD8DBQFRm2TKKWxsyjWmQTQRCJ6JAKCeV9Cy8WOgchMBEEV6AJUpbv7AbACdH/k+
+bTy2/wLYDm+WS5N2o3lXqmA=
+=PbTu
+-----END PGP SIGNATURE-----
diff --git a/app-misc/zygrib/files/zygrib b/app-misc/zygrib/files/zygrib
new file mode 100644
index 000000000000..f3d23f6ff74a
--- /dev/null
+++ b/app-misc/zygrib/files/zygrib
@@ -0,0 +1,2 @@
+#!/bin/sh
+cd /opt/zyGrib && exec bin/zyGrib
diff --git a/app-misc/zygrib/files/zygrib.desktop b/app-misc/zygrib/files/zygrib.desktop
new file mode 100644
index 000000000000..92873a1b87a5
--- /dev/null
+++ b/app-misc/zygrib/files/zygrib.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=zyGrib
+GenericName=GRIB File Viewer
+Comment=Weather data visualization
+Exec=/usr/bin/zygrib
+Terminal=false
+X-MultipleArgs=false
+Icon=zygrib
+Type=Application
+Categories=Network;
diff --git a/app-misc/zygrib/files/zygrib.png b/app-misc/zygrib/files/zygrib.png
new file mode 100644
index 000000000000..1bb86e8b63f3
--- /dev/null
+++ b/app-misc/zygrib/files/zygrib.png
Binary files differ
diff --git a/app-misc/zygrib/metadata.xml b/app-misc/zygrib/metadata.xml
new file mode 100644
index 000000000000..f5433d54ae9f
--- /dev/null
+++ b/app-misc/zygrib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mschiff@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='maps'>Installs additional GSHHS maps for high resolution coastline data and cities</flag>
+ </use>
+</pkgmetadata>
+
diff --git a/app-misc/zygrib/zygrib-6.1.4.ebuild b/app-misc/zygrib/zygrib-6.1.4.ebuild
new file mode 100644
index 000000000000..6d14b99286fc
--- /dev/null
+++ b/app-misc/zygrib/zygrib-6.1.4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/zygrib/zygrib-6.1.4.ebuild,v 1.1 2013/05/21 12:12:54 mschiff Exp $
+
+EAPI=5
+
+inherit eutils qt4-r2
+
+MY_PN="zyGrib"
+
+DESCRIPTION="GRIB File Viewer - Weather data visualization"
+HOMEPAGE="http://www.zygrib.org/"
+SRC_URI="http://www.zygrib.org/getfile.php?file=${MY_PN}-${PV}.tgz -> ${P}.tgz
+ maps? (
+ http://zygrib.org/getfile.php?file=zyGrib_maps2.tgz -> zygrib-maps2.tgz
+ http://www.zygrib.org/getfile.php?file=cities_1k-3k.txt.gz -> zygrib-cities_1k-3k.txt.gz
+ http://www.zygrib.org/getfile.php?file=cities_300-1k.txt.gz -> zygrib-cities_300-1k.txt.gz
+ http://www.zygrib.org/getfile.php?file=cities_0-300.txt.gz -> zygrib-cities_0-300.txt.gz
+ )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+maps"
+
+DEPEND="app-arch/bzip2
+sci-libs/libnova
+sci-libs/proj
+sys-libs/zlib
+x11-libs/qwt:6"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+ sed -i 's,/usr/include/qwt ,/usr/include/qwt6 ,' src/zyGrib.pro
+ sed -i 's,/usr/local/qwt6/lib/,/usr/lib/,' src/zyGrib.pro
+ sed -i 's,-lqwt,-lqwt6,' src/zyGrib.pro
+ sed -i 's,INSTALLDIR=$(HOME)/zyGrib,INSTALLDIR=$(DESTDIR)/opt/zyGrib,' Makefile
+}
+
+#Maps
+#cd /opt/zyGrib/data/
+#sudo wget http://zygrib.org/getfile.php?file=zyGrib_maps2.tgz
+#sudo tar -xvvzf getfile.php?file=zyGrib_maps2.tgz
+#sudo chown -R root:root maps/*
+#sudo rm -rf getfile.php?file=zyGrib_maps2.tgz
+##Cities
+#cd ./gis
+#sudo wget http://www.zygrib.org/getfile.php?file=cities_1k-3k.txt.gz
+#sudo wget http://www.zygrib.org/getfile.php?file=cities_300-1k.txt.gz
+#sudo wget http://www.zygrib.org/getfile.php?file=cities_0-300.txt.gz
+#sudo mv getfile.php?file=cities_1k-3k.txt.gz cities_1k-3k.txt.gz
+#sudo mv getfile.php?file=cities_300-1k.txt.gz cities_300-1k.txt.gz
+#sudo mv getfile.php?file=cities_0-300.txt.gz cities_0-300.txt.gz
+
+src_install() {
+ default
+ rm zyGrib
+ doicon -s 32 "${FILESDIR}/zygrib.png"
+ make_wrapper "${PN}" "./bin/${MY_PN}" "/opt/${MY_PN}"
+ domenu "${FILESDIR}/zygrib.desktop"
+
+ if use maps; then
+ insinto "/opt/${MY_PN}/data"
+ doins -r "${WORKDIR}/maps"
+ insinto "/opt/${MY_PN}/data/gis"
+ gzip "${WORKDIR}"/*.txt
+ doins "${WORKDIR}"/*.txt.gz
+ fi
+}