summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/zygrib
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/zygrib')
-rw-r--r--app-misc/zygrib/Manifest7
-rw-r--r--app-misc/zygrib/files/zygrib2
-rw-r--r--app-misc/zygrib/files/zygrib.desktop11
-rw-r--r--app-misc/zygrib/metadata.xml11
-rw-r--r--app-misc/zygrib/zygrib-6.2.3.ebuild56
-rw-r--r--app-misc/zygrib/zygrib-7.0.0.ebuild57
6 files changed, 144 insertions, 0 deletions
diff --git a/app-misc/zygrib/Manifest b/app-misc/zygrib/Manifest
new file mode 100644
index 000000000000..ffa43cb28660
--- /dev/null
+++ b/app-misc/zygrib/Manifest
@@ -0,0 +1,7 @@
+DIST zygrib-6.2.3.tgz 15256377 SHA256 f4086211e13d1e285a8228c98f568c8472031361b72c6d4e5327e67a57693cee SHA512 f838611aa2dd4544c353bd25c7450a1cb805ea5ec8fb6bc3ebd1b7d3a46c87034fef4151fd0c39f9587fb433fdc2ccab3f1b321724e398135f5e71cdccf65bef WHIRLPOOL b0a3c9521f4eb62511e464e87de2dd293e92e03d884e7c47a79f1151d2ca79f922b0098882b34c62ba6c67ce4cb1107dea4fb44b0b557a796d76259edc22dd40
+DIST zygrib-7.0.0.tgz 15287496 SHA256 b60c1a318ba6afb4aec3ad1c241cfd6282e4fb5a34962c43fa2fb99aae1b9f53 SHA512 ae6e279b874aca510ccf91fecab06ce155427edd6a45844ef1053617512fd81e110f2338c22b10879c8e93dab226cfcdf58bf0270e4ed83931369c51b8869399 WHIRLPOOL ba9a0aac64b4a62e3d619e571f1dce404790dab4992d66ec77d3316ab34f5649b1228f5ed5b8078f6845dc5a0874be6b7959db1a1e374461dae5e07e63f46282
+DIST zygrib-cities_0-300.txt.gz 517620 SHA256 443015f38acbe3cc972b04b80b0011c53bae939dcf1c23a2f1e4eb344048444b SHA512 f3c51e600e21d082759d3cf71c48742896e8cf3838e08c57eefa312ac7ef2dd1f23cbf02e9374aa9779be4bc5c04fd2748ef814b5b4b40b9d24fe4f1f5de4d80 WHIRLPOOL 41433660c8044f8f970acac4e4cc0754fc6ffa313bb1ca4ea06475760bf50423f8244d8efd56d31f796da2768fb0886f94afd07d1441f66e822717315c036da3
+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-icon.png 851 SHA256 42a9cea5b780fd1fef66b3ba5327f93690d29373e2d95434d8f96440bd1425e7 SHA512 9f36e96be1efa5df558321b631b43a7496ec812e76eb1eb5392b1a0afdec782f427b9d0b697102a661258ac1edd00b4bb0a84788c73e1fcd5f16584ad566fe5b WHIRLPOOL 72f2ae9d804977d6b8b04e5d9695c3e6cf1c7802b03e43ef0e7b760b614a65f01fe121134abc7357544b660a3afbe83cbf464fc371c21013c03beb988de524ee
+DIST zygrib-maps2.4.tgz 105735981 SHA256 3cd6bf3de709ff4afb193a7bb5455f28d6ab540687a97f2d978bd0a21592750e SHA512 0f10786ef81141299fd9550e36d976ce126b0d3523b56c10b19a839d56e17697ac93915b46f31d6691950f1e6d13c368fa1d198a5e2d830768fcb9e63034b487 WHIRLPOOL c92677721f234b80ee8f33c30f88f0ce5b82128ae189209f1d484fa1dae3a9dd1346ef8cf4b925cbdb1244f80f7ebb3adbe8229b3f27ce605e73dcce5f1fabee
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/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.2.3.ebuild b/app-misc/zygrib/zygrib-6.2.3.ebuild
new file mode 100644
index 000000000000..6c1678abd6c1
--- /dev/null
+++ b/app-misc/zygrib/zygrib-6.2.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+ http://dev.gentoo.org/~mschiff/distfiles/${PN}-icon.png
+ maps? (
+ http://zygrib.org/getfile.php?file=zyGrib_maps2.4.tgz -> zygrib-maps2.4.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
+dev-qt/qtsvg:4
+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,INSTALLDIR=$(HOME)/zyGrib,INSTALLDIR=$(DESTDIR)/opt/zyGrib,' Makefile
+}
+
+src_install() {
+ default
+ rm zyGrib
+ doicon -s 32 "${DISTDIR}/zygrib-icon.png"
+ make_wrapper "${PN}" "./bin/${MY_PN}" "/opt/${MY_PN}"
+ domenu "${FILESDIR}/zygrib.desktop"
+
+ if use maps; then
+ insinto "/opt/${MY_PN}"
+ doins -r "${WORKDIR}/data"
+ insinto "/opt/${MY_PN}/data/gis"
+ gzip "${WORKDIR}"/*.txt
+ doins "${WORKDIR}"/*.txt.gz
+ fi
+}
diff --git a/app-misc/zygrib/zygrib-7.0.0.ebuild b/app-misc/zygrib/zygrib-7.0.0.ebuild
new file mode 100644
index 000000000000..d4e056612a82
--- /dev/null
+++ b/app-misc/zygrib/zygrib-7.0.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+ http://dev.gentoo.org/~mschiff/distfiles/${PN}-icon.png
+ maps? (
+ http://zygrib.org/getfile.php?file=zyGrib_maps2.4.tgz -> zygrib-maps2.4.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
+dev-qt/qtsvg:4
+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,INSTALLDIR=$(HOME)/zyGrib,INSTALLDIR=$(DESTDIR)/opt/zyGrib,' Makefile
+ sed -i 's,QMAKE=/usr/bin/qmake-qt4,QMAKE=/usr/bin/qmake,' Makefile
+}
+
+src_install() {
+ default
+ rm zyGrib
+ doicon -s 32 "${DISTDIR}/zygrib-icon.png"
+ make_wrapper "${PN}" "./bin/${MY_PN}" "/opt/${MY_PN}"
+ domenu "${FILESDIR}/zygrib.desktop"
+
+ if use maps; then
+ insinto "/opt/${MY_PN}"
+ doins -r "${WORKDIR}/data"
+ insinto "/opt/${MY_PN}/data/gis"
+ gzip "${WORKDIR}"/*.txt
+ doins "${WORKDIR}"/*.txt.gz
+ fi
+}