From deba8115d2c2af26df42966b91ef04ff4dd79cde Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 14 May 2020 11:09:11 +0100 Subject: gentoo resync : 14.05.2020 --- sci-geosciences/Manifest.gz | Bin 11258 -> 11258 bytes sci-geosciences/geocode-glib/Manifest | 2 - .../geocode-glib/geocode-glib-3.26.1.ebuild | 43 ----------- sci-geosciences/gpsd/Manifest | 6 +- sci-geosciences/gpsd/gpsd-3.18.1.ebuild | 2 +- sci-geosciences/gpsd/gpsd-3.19.ebuild | 2 +- sci-geosciences/gpsd/gpsd-9999.ebuild | 2 +- sci-geosciences/gpxsee/Manifest | 2 + sci-geosciences/gpxsee/gpxsee-7.29.ebuild | 66 +++++++++++++++++ sci-geosciences/opencpn/Manifest | 3 + .../opencpn/files/5.0.0-CMakeLists.txt.patch | 79 +++++++++++++++++++++ sci-geosciences/opencpn/opencpn-5.0.0.ebuild | 67 +++++++++++++++++ sci-geosciences/qmapshack/Manifest | 2 + sci-geosciences/qmapshack/qmapshack-1.14.1.ebuild | 38 ++++++++++ sci-geosciences/routino/Manifest | 3 + sci-geosciences/routino/files/routino-3.3.2.patch | 71 ++++++++++++++++++ sci-geosciences/routino/routino-3.3.2.ebuild | 73 +++++++++++++++++++ 17 files changed, 410 insertions(+), 51 deletions(-) delete mode 100644 sci-geosciences/geocode-glib/geocode-glib-3.26.1.ebuild create mode 100644 sci-geosciences/gpxsee/gpxsee-7.29.ebuild create mode 100644 sci-geosciences/opencpn/files/5.0.0-CMakeLists.txt.patch create mode 100644 sci-geosciences/opencpn/opencpn-5.0.0.ebuild create mode 100644 sci-geosciences/qmapshack/qmapshack-1.14.1.ebuild create mode 100644 sci-geosciences/routino/files/routino-3.3.2.patch create mode 100644 sci-geosciences/routino/routino-3.3.2.ebuild (limited to 'sci-geosciences') diff --git a/sci-geosciences/Manifest.gz b/sci-geosciences/Manifest.gz index 45dd3322e65d..0a70fe2bb07f 100644 Binary files a/sci-geosciences/Manifest.gz and b/sci-geosciences/Manifest.gz differ diff --git a/sci-geosciences/geocode-glib/Manifest b/sci-geosciences/geocode-glib/Manifest index 42c25d5932a2..22832499e16e 100644 --- a/sci-geosciences/geocode-glib/Manifest +++ b/sci-geosciences/geocode-glib/Manifest @@ -1,6 +1,4 @@ AUX disable-installed-tests.patch 1245 BLAKE2B e66fe773ad51475247306ea3b2459bf062e5b26cf8e85c52ce99dd05bfdcd32dd40c5d3d591737f6c3ce7c2688f31526b39af852a92a40c06657fc3e9149035c SHA512 7ab8113b1468c9291838def18b57e4dc3cc1a5bcbc22208ac2920b1199121a2055dcd31346551cbcafc1101945f242afdbabd8738d32fdc254a5b7474aeaa038 -DIST geocode-glib-3.26.1.tar.xz 75296 BLAKE2B 68e42868edfd73db94d16dcc754eea1ee736ad910c5180616ba351cc50b682cd3b7ea4a64c9e1296af315298f68ea850a1773c4a05955c1159a6038773aad184 SHA512 0eb8e8a668c3950d06e77a379d375e2297cf7d95435aa8212715ddc36c3a57a53192e75dd0c82a2f2e7e558ea0e903a477c9dfa54f8cd2805d048fe46265d621 DIST geocode-glib-3.26.2.tar.xz 72956 BLAKE2B 40a32fb0ba61cd91b28e57c518dc5450ce89a16889a335d19fe722c1088a4cdb085237d1fe24d08eeac62581ac68895a7a2b432d66f46fc4e03466485cfe5060 SHA512 b3ef81fac6959f6c4725ca721125cdafbbec69233f321872e17f9035266ed7616018ef54a9082fbd0a83395d18c664144cfe3b431d63744be433f058071cd435 -EBUILD geocode-glib-3.26.1.ebuild 1106 BLAKE2B 82e4c8e16549e78d973423a02f29787df6af42dcad996e4d4ccbb1f837c25bba5fb1e7555d2d5c912835af0c9e6043772906846b56963eb335584418a3cd3cb7 SHA512 a5c249357dad6a1d719defe06f2b05d6de07c1b69f7ba86acee24792459b02eb68f1b82f63c7fb5cfcea29a8f1f0e6358fb6dc5aa7268e822d976b967d39444e EBUILD geocode-glib-3.26.2.ebuild 1117 BLAKE2B 415de829a606294b731781cd8d6c7e2cd9446072183e000abaa88b1d4b8b44a49d2b36aeeee751b07700350faa6d4b53452341a5649fc3756204034ce69a73ae SHA512 56a40b7827d491699575212e5363b373175fc5c0d49937333368ec54b055cd09fe5595c6ade17fbe231f1b30db0e3e32706c5a58605656a9dfb90cd774bc6881 MISC metadata.xml 416 BLAKE2B dfe7b0b1aa8cd6c4664d3cbc0d9bda64b4452e8bf606f105a24829f19a9151b36406c676ffd66e81150e0cfd813d1f7b33ada08b71be9e93ac3547815ba9721c SHA512 d3c5f22341ffa6a9a63d788f9cdb801b496142336bed66318d780ad7cb16d75cbc964d11b472e0cb268d431542b4d2b2a2ccc87fff20fd77777bae0418009cb8 diff --git a/sci-geosciences/geocode-glib/geocode-glib-3.26.1.ebuild b/sci-geosciences/geocode-glib/geocode-glib-3.26.1.ebuild deleted file mode 100644 index ab7bb6a37ef6..000000000000 --- a/sci-geosciences/geocode-glib/geocode-glib-3.26.1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit gnome.org meson xdg - -DESCRIPTION="GLib helper library for geocoding services" -HOMEPAGE="https://git.gnome.org/browse/geocode-glib" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" -IUSE="gtk-doc +introspection test" - -RDEPEND=" - >=dev-libs/glib-2.44:2 - >=dev-libs/json-glib-0.99.2[introspection?] - >=net-libs/libsoup-2.42:2.4[introspection?] - introspection? ( >=dev-libs/gobject-introspection-1.54:= ) -" -DEPEND="${RDEPEND} - dev-util/glib-utils - gtk-doc? ( - >=dev-util/gtk-doc-1.13 - app-text/docbook-xml-dtd:4.3 ) - >=sys-devel/gettext-0.19.8 - virtual/pkgconfig -" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/disable-installed-tests.patch -) - -src_configure() { - local emesonargs=( - $(meson_use test enable-installed-tests) # Actual installation to live system is sedded out, but we need this for running them in src_test - $(meson_use introspection enable-introspection) - $(meson_use gtk-doc enable-gtk-doc) - ) - meson_src_configure -} diff --git a/sci-geosciences/gpsd/Manifest b/sci-geosciences/gpsd/Manifest index a3fa73e48e0e..92b2513ce5b5 100644 --- a/sci-geosciences/gpsd/Manifest +++ b/sci-geosciences/gpsd/Manifest @@ -11,7 +11,7 @@ DIST gpsd-3.18.1.tar.gz 9031595 BLAKE2B 170863740c7281ea111c3f4db2dfeb67f4366da7 DIST gpsd-3.19.tar.gz 10581777 BLAKE2B 0801919c968b8027c357047dabdc8587e1d5950cb0d80f89d6d62678a11b3dfc76a6a89ae59123680dac3188a695d0c37618d3f83280f5e584e10c1fa9a5dc03 SHA512 c9f9a9ff65759f852771ec4cf97ab15343c9176a149dd5ea6c2e2dc18b47aa7c7bf9ff1f2e8523121564d33a34ae6aa08169c5454847b4fe7848e616fd20a814 EBUILD gpsd-3.17-r3.ebuild 4707 BLAKE2B 856de5c3f6f684e1777ade59ad372d8fdf2e0c43824f3a9303f1f6be2cbbdf74cbb01f7348d9fe77511b979d97ef7e2cdad0b8b9bb84863e80d5ed225aade9ff SHA512 f55bdf4ed92208d488e71b94e2edd562427ae495d07f609be88a6c5c172a89cdedf76199eb4d136d4f81917ba874bbec0caf5f4abf1b5732d8ab7520932864ec EBUILD gpsd-3.17-r4.ebuild 4888 BLAKE2B 0e9f549feb461ef812e823c310604967f12482bcd03f569f7146a254bcc8e422ec2d3dcb444af4f989b42caaca8fc027504287b26564e0551e055f7bb1fac349 SHA512 18746122b46198d686a1a19d78b51ea489b9a20e3838438c383a96eec1b351080e03d38f6cd647781915818ee5270c9cfb1bb255dc4f246b57ac5aae9a52a19f -EBUILD gpsd-3.18.1.ebuild 5459 BLAKE2B 43aff193a3e8fdd5cf3f8da57040cbaf7bcc90fd47edd27e3a5e975c1dc2c77b36d605cb35d7d344d63237291162e535f7131640e6470f390397761b395367fa SHA512 dc6c5a5d86c9accd6949810167dfdcc35eb9d9c17e3ac3b9b03ccbb8ebef2ca07cc593acda70fae1d6869b1eb61563886505e561faa1d4654d4bf313fc8a19f0 -EBUILD gpsd-3.19.ebuild 5459 BLAKE2B 43aff193a3e8fdd5cf3f8da57040cbaf7bcc90fd47edd27e3a5e975c1dc2c77b36d605cb35d7d344d63237291162e535f7131640e6470f390397761b395367fa SHA512 dc6c5a5d86c9accd6949810167dfdcc35eb9d9c17e3ac3b9b03ccbb8ebef2ca07cc593acda70fae1d6869b1eb61563886505e561faa1d4654d4bf313fc8a19f0 -EBUILD gpsd-9999.ebuild 5423 BLAKE2B 7d791742d249d1e74e13e93e0472e53c52f259ba0e08a1b124d77c779717750b641c448acdfe1b7f0760b4247fe136419380d9a7ab991b0496e54721839b39e4 SHA512 fb0157744771dd7cacca208fb3820b89c0fdfbbb90a29937cfcf0fa1f0d9a7f78096aaea2ae748270119d40dc66fee316ad3b54607cd21e9328ea2008894bf7f +EBUILD gpsd-3.18.1.ebuild 5449 BLAKE2B 8c05e5183d169603b61d8329ae794cb98b24b805cfdfe1ac32407d644a77049ebec31f31074c33bc189179c4cb3370eb826bff5a540a593c876f588ad0a7a9fa SHA512 16ec24d6b3b5f6a709aa68c5a69c675fe961ad0fbc6e7ed0c8cf1eef0a8288cfe2d602a08e6d53cb423c470810b7567ba76c2013526bf36078c767077d1d33e3 +EBUILD gpsd-3.19.ebuild 5455 BLAKE2B f432f96eeae1cca54265927e5ea431d489bbee690048fb9f423ca29176e5aa56d0e1d60d9a82694b4da2911ba63105b2f71ba32f1c757435a33d5d2d7224892e SHA512 bcb17fd87f8ecdc0047a4990d34bc730a67b5bdba8571a0d4a37f3f654283576bc7bcbd746e41373eefdd06041f478993b2acb4030f081cb5aacc01e1b9b973d +EBUILD gpsd-9999.ebuild 5413 BLAKE2B 8081e39e9c81a28940f2efc44344fd7bee6d28d5666ca87f15864804df77ed063e93e923f20aa6d25ab62435853a3d84dcb47244e5d5c3bb1694925261ff7cc7 SHA512 0561f163af0486d2ac2003ee82477e7a994c343994828210f2aa5a249b2474a9693ae633150c2906e3eab2edb5f417874fd0314effe975a5c14efe2150ccc2a6 MISC metadata.xml 950 BLAKE2B 1187055e96b7b5f0288f76fafbe2b1afd29729365fbf30b7e8120830db76193aa544815fd348058ef59351d1c097747684ae022b0ec7df0f655c0a9e3f4d7449 SHA512 87fdd329ffe13ec6aee16b877b355b2aac2267e8262b30ab5ab04307bc50797e1e3da8328a540a0484b06cbbd2f643f084e556ce32cc01b37c97d0f8f1b6be2a diff --git a/sci-geosciences/gpsd/gpsd-3.18.1.ebuild b/sci-geosciences/gpsd/gpsd-3.18.1.ebuild index 0a1a978ddb28..466deda4514c 100644 --- a/sci-geosciences/gpsd/gpsd-3.18.1.ebuild +++ b/sci-geosciences/gpsd/gpsd-3.18.1.ebuild @@ -4,7 +4,7 @@ EAPI=5 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_6 ) SCONS_MIN_VERSION="2.3.0" inherit eutils udev user multilib distutils-r1 scons-utils toolchain-funcs diff --git a/sci-geosciences/gpsd/gpsd-3.19.ebuild b/sci-geosciences/gpsd/gpsd-3.19.ebuild index 0a1a978ddb28..881256686bca 100644 --- a/sci-geosciences/gpsd/gpsd-3.19.ebuild +++ b/sci-geosciences/gpsd/gpsd-3.19.ebuild @@ -4,7 +4,7 @@ EAPI=5 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_{6,7,8} ) SCONS_MIN_VERSION="2.3.0" inherit eutils udev user multilib distutils-r1 scons-utils toolchain-funcs diff --git a/sci-geosciences/gpsd/gpsd-9999.ebuild b/sci-geosciences/gpsd/gpsd-9999.ebuild index 5356c9042051..76b0f95ce737 100644 --- a/sci-geosciences/gpsd/gpsd-9999.ebuild +++ b/sci-geosciences/gpsd/gpsd-9999.ebuild @@ -4,7 +4,7 @@ EAPI=5 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_6 ) SCONS_MIN_VERSION="2.3.0" inherit eutils udev user multilib distutils-r1 scons-utils toolchain-funcs diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 1d1cda52878b..02463bbc619c 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -3,9 +3,11 @@ DIST gpxsee-7.20.tar.gz 5348758 BLAKE2B d7e8f0f29dfe666572a58a1a5072545cda345f51 DIST gpxsee-7.23.tar.gz 5358562 BLAKE2B aaa1fd5815ba1f0e3592d034033f0335cf257f408a1344eb6adc1cba1b8f0bfb7e61374b83721efb75b99b9fed06fce8f1921b0af31b7375623c8dec1fd383ca SHA512 a6ffbb6d15efbf2491b447cfabbc3a50f6ef97e438fa788c98230f76d3c3acabc96f713839fe13b238d39ecac84554e80f1d3f8c282122dff92eb987ca3d3dba DIST gpxsee-7.25.tar.gz 5359026 BLAKE2B 9ff5d48883c065cb1f93fcf853d1e6772538ef2d6ee2ce0aaadacfbbe84347dc62d8eed81f9c115b58054a1348f8624518c4c16552245ce5bf168450e60b366c SHA512 f31d7a8b174670b2458abbca6082cf3adbf7cc45f0bd7e73537bf2210ec89eb5ab23518b8b15f2a16d2ddba8c75f82ff903c0bb356de42b90f6f187efb73c065 DIST gpxsee-7.26.tar.gz 5362613 BLAKE2B 935508f33060dda9c259d9172daf7c611895500584f4cf687edd32a98e4aed4f950c3ef309808db816ebc52b92c4f06bf8dc2ac6e015c034749d883f3dbac1c8 SHA512 97d15b644a0a9656e849caeb0f171b42213a0ae3e090c3a2b70e43614d2b50446757483704814af5b678aba5e129ca748cdacb6f97f38189c2af7f7d7bcc26a9 +DIST gpxsee-7.29.tar.gz 5363181 BLAKE2B 4d3a5693a7b5939847c2dc32bff205649264766975c6313220e305770e40602f40e03c74db22e043860f1a2953a43e7ec0a58624f4882de93f3320a32dc6292e SHA512 e4133ad7a9b5e25f3c0bdd2397e02b6219e81f8632385e6423244e7c400ff72a5be85720f1ec123428ae3aeca79cac81e03b7f40de83d309e55ee69ee7cc933f EBUILD gpxsee-7.18.ebuild 1330 BLAKE2B 55fbeb2d5ec0f423be33378c5a30b1aad457f8a39cc70d1466db18f8bdc0a9b530ecb54273721dabbe9423198dbcba67c5b6bebdd86e51ab36d8fec516398a28 SHA512 fedc7457011576ce608610be5f97507ddb7465508f001151ca30f8aef469b06832ccb62d687b7521f7dd88e5e82d0e830cf6e1d6bece6b887a47a1dadd902313 EBUILD gpxsee-7.20.ebuild 1329 BLAKE2B 0519cac214de89aaf141f90bc9a47432e11c764462ecf42bb4728e335bac20eb5256d05622fc0f62e46b0a6dbe779491d7cf19874e0d05119c4671aa0286b4f6 SHA512 597e0ea32097a2908a8e1ae4ce822873c8e4511dc26deb5a6fdf0b723dc20c2cf53a3295a30a35b77c903d40b858c7ab28a646546dc33d7ae7335d5396423350 EBUILD gpxsee-7.23.ebuild 1332 BLAKE2B 42ad66c628a19675ebe8e7f730cc683166cac2f6f8101b093bfdf5f7e9feca2d0815dec5c4884cc98a0cf98555d0ce8330c654b77549720043cfec2f0a786e2f SHA512 5ba50c60ab60d45c871dffccc971b32d8ea32192ddc91ddb5c1201db24ba26a6db4c97c6f9b4923ad43fe32a07d0ff4a7e2439637fd26354899ca7f70b603eeb EBUILD gpxsee-7.25.ebuild 1332 BLAKE2B 42ad66c628a19675ebe8e7f730cc683166cac2f6f8101b093bfdf5f7e9feca2d0815dec5c4884cc98a0cf98555d0ce8330c654b77549720043cfec2f0a786e2f SHA512 5ba50c60ab60d45c871dffccc971b32d8ea32192ddc91ddb5c1201db24ba26a6db4c97c6f9b4923ad43fe32a07d0ff4a7e2439637fd26354899ca7f70b603eeb EBUILD gpxsee-7.26.ebuild 1332 BLAKE2B 42ad66c628a19675ebe8e7f730cc683166cac2f6f8101b093bfdf5f7e9feca2d0815dec5c4884cc98a0cf98555d0ce8330c654b77549720043cfec2f0a786e2f SHA512 5ba50c60ab60d45c871dffccc971b32d8ea32192ddc91ddb5c1201db24ba26a6db4c97c6f9b4923ad43fe32a07d0ff4a7e2439637fd26354899ca7f70b603eeb +EBUILD gpxsee-7.29.ebuild 1332 BLAKE2B 42ad66c628a19675ebe8e7f730cc683166cac2f6f8101b093bfdf5f7e9feca2d0815dec5c4884cc98a0cf98555d0ce8330c654b77549720043cfec2f0a786e2f SHA512 5ba50c60ab60d45c871dffccc971b32d8ea32192ddc91ddb5c1201db24ba26a6db4c97c6f9b4923ad43fe32a07d0ff4a7e2439637fd26354899ca7f70b603eeb MISC metadata.xml 606 BLAKE2B cd468e458982d936273ab8f5935689a09a07277dc98994466e0689c600f53d78773144c84a2bba96aee3945685a0e8c7d56a796c277c80db84002c30a00e9cb4 SHA512 002ff03250b14bb15a7345221a95aa37d75a88f3caff84f0510a13cc07738173ec54a555b532d1bba561cdcfaf2235fc40b5379eacfdb84e5a4e59a3c2026dfd diff --git a/sci-geosciences/gpxsee/gpxsee-7.29.ebuild b/sci-geosciences/gpxsee/gpxsee-7.29.ebuild new file mode 100644 index 000000000000..c5b1bd5f1e11 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-7.29.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PLOCALES="cs da de en es fi fr hu nb pl pt_BR ru sv tr uk" +inherit desktop qmake-utils l10n xdg + +MY_PN="GPXSee" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea files" +HOMEPAGE="https://www.gpxsee.org/" +SRC_URI="https://github.com/tumic0/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dev-qt/qtwidgets:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtprintsupport:5 + dev-qt/qtnetwork:5 + dev-qt/qtsql:5 + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/linguist-tools:5" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + + l10n_find_plocales_changes lang "${PN}_" '.ts' + + rm_ts() { + sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro + } + + l10n_for_each_disabled_locale_do rm_ts +} + +src_compile() { + lrelease gpxsee.pro + eqmake5 gpxsee.pro + emake +} + +src_install() { + local lang + dobin ${PN} + dodoc README.md + insinto /usr/share/${PN} + doins -r pkg/maps pkg/csv + + insinto /usr/share/${PN}/translations + for lang in lang/*.qm; do + [ -f "${lang}" ] && doins "${lang}" + done + + domenu pkg/${PN}.desktop + insinto /usr/share/mime/packages + doins pkg/${PN}.xml + doicon icons/${PN}.png +} diff --git a/sci-geosciences/opencpn/Manifest b/sci-geosciences/opencpn/Manifest index 91da2d872a5a..b64f76108886 100644 --- a/sci-geosciences/opencpn/Manifest +++ b/sci-geosciences/opencpn/Manifest @@ -1,9 +1,12 @@ +AUX 5.0.0-CMakeLists.txt.patch 3104 BLAKE2B 33fbedd5960805b783867bc30bc66efe81ce9f0fd839544d23ccbab9b7d50892d8ca6311d01c30bdef83310e8c17210a3564874bf2297832975192cd56e4ddcd SHA512 32e97327c76a5d6028de2026e081b79db279deca45cc3394faf15c632e1567d0bf708f3c81f6d2c0b2d69edd82fd217cf5d0f4970dd27d64d4936c8109eba6ae DIST opencpn-4.8.0.tar.gz 53008393 BLAKE2B 79184b678db329e98c704f4f1a132e5d3af4a65b104c6eab1c37738cbbf98d88c21647ce654077a8f4b781221d7e3766c35d7450b81befdad7f269b636263c09 SHA512 1f1ea666566e98ee3af24423985119c1b14e184d4310dbc588b00065878b1dcb8fe73a7331e4ad3f75a905774fff187203fb31253faea7238f3d783a6729ad75 DIST opencpn-4.8.2.tar.gz 59164504 BLAKE2B fbfa86051845a922a7c642194cd0672fbccd6a75e3897e8b0b3f9b08c091d0933a146060f83265c9a85d0bacf18f57a0f9ba55aa4f26e035a77d39d73e5e5a7d SHA512 231f8ba29f8a0343cb3807e52e8535bdade221de65a169b57e94816b4b464407ba90b605dcec21a5c45c742de076b644f076fee88616ec2867a8ae182105102d DIST opencpn-4.8.8.tar.gz 59140674 BLAKE2B a03fd28b26bee46d559d16bf061eac409ca9395fdf1595162a51fe4cdfb30c3151c23b30f3396b645c4b177b3fd3b0f2ea03a850d0ea3fe2258f1abc4956a3db SHA512 4fa94655d7b9d389f5f335c15898e7138c792c71b824720fedd762ccd71c01481e5a24598b85211dba0c7d89d0ad0b2ebc2afc38301235829d4aa6f499c6f9b2 +DIST opencpn-5.0.0.tar.gz 67164574 BLAKE2B a06520aaf0dc1457208c5c6968d44b0122b89eca632aa3b8471a0efd452d41c155ee05274284d84e5de9f700a9d549b61eae5d2ddfc8e70c4d5cfa7cf1c84f3f SHA512 1b0f0e1a7164bc342a79837b987d8e4f69f164739f0d9c9c6448fab496af0944fe77b9cd3bbb9f2ee874cbb42add2da67df44606c6b8e620d0be2caf6a71eb96 DIST opencpn-doc_4.1.1329.1.orig.tar.xz 8739872 BLAKE2B 1d0b1538230488586318212d371669d0dfd6fefb45a49c1405c8749cfc2d5b1ced39c03ad7814954db42644ab5c21a37177e0f315b8d6d49c2200508f27a9899 SHA512 652a932edbf8a6f05fd3c64ddf566f817405cf44697035f58ddbf1a99bf92269b7fd9ee83b7ee065aa60db15b6030d8c5c9a4a4001049ed2def9962bc51746c2 DIST opencpn-doc_4.8.2.0.orig.tar.xz 22302480 BLAKE2B 2bcd2ac01340cde0d0be80537321c8c3e829a8e664944c34f3f3112f931c45746059b5c173402982601ccf88926241741c7fb44f251e9fe48b83aa5f3e8d7727 SHA512 678317c77feb3b0bf695e337e7e95083df1d488e0a5ad3bad41bad11dc87271d6fc0ac194a6b63b603d5c1f1184e6c9f91de895a7db01017ef2a7068a62404eb EBUILD opencpn-4.8.0-r1.ebuild 1313 BLAKE2B 7174a87fd86eb26c6b11c01c03e284b479b73c2a4712f999ad4e1c6643c9f4245308522a7782aa34ed9fbfe6cd54cca3b1210f451449732345ac440f79d39123 SHA512 cc59a0eb595d2ae1e17c6d0abddc99991cf21af45b0bd4beb5fd0f6ac40591fa859843866ec25048ab79554302bead1989edb1ebc9440400e90e82e512dd8102 EBUILD opencpn-4.8.2.ebuild 1306 BLAKE2B aff3eedcf469d37c5caff6ef5a84089c4dc9205ac465d9ffc4ba331c48d761910f734e1f21de4786f5264e8d465bb6307e25960525d15c384310df90521c0fc9 SHA512 51e3b4d7865315afc6d87feee7790b93880f2be7a89067511b1fec67e3b78b56421720e9506f33f9e5fae51ba10fb6cc7f5123b05019ab0ffd14a1307ff88084 EBUILD opencpn-4.8.8.ebuild 1283 BLAKE2B dee4bc67e81a4f6c2f80bfec70457f7d3da0bb2e50664dc8469f71999f669801ca4008c4081b7b6be3ca2fadb2b36190961dab070707c97b73731ebf278ca843 SHA512 2f9bd6b92ddae00b57a44ac51b08fea06198aa7242dcad41499ad63649da729b328ef3ecdca3683ca774fc972d2c53526cc4292a681a2aa64905894d862cff0c +EBUILD opencpn-5.0.0.ebuild 1335 BLAKE2B 4e9092ecbd69861a21e16ed83fc8363dbd1efc962653a3f15817ba453729b3079a34f9c0e2891aef66d2f9f5c25f5bf8a0e8eeaaea13e49e9efbbd9ba51c2d5a SHA512 8927a11687c646b349a695cd6060985cb915cdf3e93e164112d69ce69ea5747ab15affcd94e93426f9c16da7c9e51c8a48c4b4169dab8a5eaae012a674faf87b MISC metadata.xml 531 BLAKE2B 4c2d7950160138cc8a789d259beb3050af12f9406d376afb70465af18f1a9e979f45e4d6b2bbdb14a9670a936b087b772f29e2dc60289f4ef9e47911e3753e8d SHA512 4315299e7a239d5bdc7edfb6c377217908372e59fe187fe071948fb594100b29bc85116fa458a00233411f47d22780d9c1efeec07cbda6bc3b404a94cab35e3f diff --git a/sci-geosciences/opencpn/files/5.0.0-CMakeLists.txt.patch b/sci-geosciences/opencpn/files/5.0.0-CMakeLists.txt.patch new file mode 100644 index 000000000000..aca98fe9f01b --- /dev/null +++ b/sci-geosciences/opencpn/files/5.0.0-CMakeLists.txt.patch @@ -0,0 +1,79 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index fcec1191a..8df2a9e21 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -408,9 +408,9 @@ IF((_wx_selected_config MATCHES "qt-armv7")) + ENDIF() + + IF((_wx_selected_config MATCHES "qt-armv7")) +- SET(wxWidgets_USE_LIBS base core xml html adv aui) ++ SET(wxWidgets_FIND_COMPONENTS base core xml html adv aui) + ELSE() +- SET(wxWidgets_USE_LIBS net xml html adv aui core base webview) ++ SET(wxWidgets_FIND_COMPONENTS net xml html adv aui core base webview) + ENDIF() + + OPTION (USE_GL "Enable OpenGL support" ON) +@@ -436,7 +436,7 @@ IF (ARCH MATCHES "arm*" AND (NOT QT_ANDROID) AND CMAKE_SYSTEM_NAME MATCHES ".*Li + SET(OPENGLES_FOUND "YES") + SET(OPENGL_FOUND "YES") + +- SET(wxWidgets_USE_LIBS ${wxWidgets_USE_LIBS} gl ) ++ SET(wxWidgets_FIND_COMPONENTS ${wxWidgets_FIND_COMPONENTS} gl ) + add_subdirectory(src/glshim) + + SET(OPENGL_LIBRARIES "GL_static" "EGL" "X11" "drm" ) +@@ -455,7 +455,7 @@ IF(QT_ANDROID) + SET(OPENGLES_FOUND "YES") + SET(OPENGL_FOUND "YES") + +- SET(wxWidgets_USE_LIBS ${wxWidgets_USE_LIBS} gl ) ++ SET(wxWidgets_FIND_COMPONENTS ${wxWidgets_FIND_COMPONENTS} gl ) + add_subdirectory(src/glshim) + ENDIF(QT_ANDROID) + +@@ -468,7 +468,7 @@ IF ((NOT OPENGLES_FOUND) AND (NOT QT_ANDROID)) + ENDIF(USE_GL) + + IF(OPENGL_FOUND) +- SET(wxWidgets_USE_LIBS gl ${wxWidgets_USE_LIBS} ) ++ SET(wxWidgets_FIND_COMPONENTS gl ${wxWidgets_FIND_COMPONENTS} ) + INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR}) + + MESSAGE (STATUS "Found OpenGL...." ) +@@ -529,14 +529,14 @@ IF(NOT QT_ANDROID) + ENDIF(MSVC) + + IF(WIN32 OR APPLE OR QT_ANDROID) +- FIND_PACKAGE(wxWidgets) ++ FIND_PACKAGE(wxWidgets COMPONENTS ${wxWidgets_FIND_COMPONENTS}) + if (wxWidgets_FOUND) + message(STATUS "Found wxWidgets webview add-on") + add_definitions(-DOCPN_USE_WEBVIEW) + else () +- list(REMOVE_ITEM wxWidgets_USE_LIBS webview) ++ list(REMOVE_ITEM wxWidgets_FIND_COMPONENTS webview) + message(STATUS "Could not find wxWidgets webview add-on") +- FIND_PACKAGE(wxWidgets REQUIRED) ++ FIND_PACKAGE(wxWidgets REQUIRED COMPONENTS ${wxWidgets_FIND_COMPONENTS}) + endif () + IF(MSYS) + # this is to convert msys to windows paths, and handle the missing /usr +@@ -1053,14 +1053,14 @@ IF(NOT WIN32 AND NOT APPLE AND NOT QT_ANDROID) + set(wxWidgets_CONFIG_OPTIONS ${wxWidgets_CONFIG_OPTIONS} --toolkit=gtk3) + MESSAGE(STATUS "Building against GTK3...") + ENDIF(GTK2_FOUND) +- FIND_PACKAGE(wxWidgets) ++ FIND_PACKAGE(wxWidgets COMPONENTS ${wxWidgets_FIND_COMPONENTS}) + if (wxWidgets_FOUND) + message(STATUS "Found wxWidgets webview add-on") + add_definitions(-DOCPN_USE_WEBVIEW) + else () +- list(REMOVE_ITEM wxWidgets_USE_LIBS webview) ++ list(REMOVE_ITEM wxWidgets_FIND_COMPONENTS webview) + message(STATUS "Could not find wxWidgets webview add-on") +- FIND_PACKAGE(wxWidgets REQUIRED) ++ FIND_PACKAGE(wxWidgets REQUIRED COMPONENTS ${wxWidgets_FIND_COMPONENTS}) + endif () + MESSAGE (STATUS "Found wxWidgets..." ) + MESSAGE (STATUS " wxWidgets Include: ${wxWidgets_INCLUDE_DIRS}") diff --git a/sci-geosciences/opencpn/opencpn-5.0.0.ebuild b/sci-geosciences/opencpn/opencpn-5.0.0.ebuild new file mode 100644 index 000000000000..4ae2fe2e75a1 --- /dev/null +++ b/sci-geosciences/opencpn/opencpn-5.0.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +WX_GTK_VER="3.0" +inherit cmake-utils wxwidgets + +DOC_VERSION="4.8.2.0" + +DESCRIPTION="a free, open source software for marine navigation" +HOMEPAGE="https://opencpn.org/" +SRC_URI="https://github.com/OpenCPN/OpenCPN/archive/v${PV}.tar.gz -> ${P}.tar.gz +doc? ( https://launchpad.net/~opencpn/+archive/ubuntu/${PN}/+files/${PN}-doc_${DOC_VERSION}.orig.tar.xz ) +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc lzma opengl" + +RDEPEND=" + app-arch/bzip2 + lzma? ( app-arch/xz-utils ) + dev-libs/tinyxml + media-libs/freetype:2 + media-libs/portaudio + net-misc/curl + sys-libs/zlib + opengl? ( virtual/opengl ) + x11-libs/gtk+:2 + x11-libs/wxGTK:${WX_GTK_VER}[X] + !sci-geosciences/opencpn-plugin-wmm +" +DEPEND="${RDEPEND} + sys-devel/gettext" + +S="${WORKDIR}/OpenCPN-${PV}" + +PATCHES=( + "${FILESDIR}/${PV}-CMakeLists.txt.patch" +) + +src_configure() { + setup-wxwidgets + local mycmakeargs=( + -DUSE_S57=ON + -DUSE_GARMINHOST=ON + -DBUNDLE_GSHHS=CRUDE + -DBUNDLE_TCDATA=ON + ) + + cmake-utils_src_configure +} + +src_install() { + if use doc; then + dohtml -r "${S}"/../${PN}/doc/* + fi + cmake-utils_src_install +} + +pkg_postinst() { + if use doc; then + einfo "Documentation is available at file:///usr/share/doc/${PF}/html/help_en_US.html" + fi +} diff --git a/sci-geosciences/qmapshack/Manifest b/sci-geosciences/qmapshack/Manifest index e57924fcc8ba..2ed48279d405 100644 --- a/sci-geosciences/qmapshack/Manifest +++ b/sci-geosciences/qmapshack/Manifest @@ -1,5 +1,7 @@ AUX FindPROJ4.cmake 5695 BLAKE2B 916e3cb12a6dfb8428bfa97d74dc34b4b357935cc6be1e07444cbed86ace926348c0b94a0061cde1edd1ab0dfd330b57dabd7cc9be5317c761c307f61fce3c9a SHA512 d110ae4081ba75cdcee0feac9967a8f59218f12cd497a48434e6289a2fa1b04116a84582191ff45b8eda4af2dd4b6611b5035422af392653e3548e1829f2acd6 AUX qmapshack-positioning.patch 482 BLAKE2B cb7d7b8f74a23828503c76e0cf3c7120af1aa412512461ae0e3e4a051ed7d8b89f9254a2397767b6ff56f1cbeefb1a6347f546222e991946dae3235da194d774 SHA512 245524903ec5db0da9d1874f0b5c0e2a318f6b955970da2645cff6dc1b21adb0565728021feca2cd236af9d2e60325e0bce1bb8084390d073200c5bad65d7175 DIST qmapshack-1.14.0.tar.gz 12541988 BLAKE2B 146df8ab42bd5a5249207b88bf1a17b4ba20706c8114cc059b847d0b32c9d53919f931d778402a10dd62f0d86948bff8eefd29684c433c1d4bfd7e2ce019ce55 SHA512 675a72a79839ad0b96fc0717ad7eca43c4ce331645ba3ad1325f9bf114abcf2ecd164eeab0c41775fe84aa626fc67272cd9c869047f57b225ff493f66881ff99 +DIST qmapshack-1.14.1.tar.gz 12541988 BLAKE2B 146df8ab42bd5a5249207b88bf1a17b4ba20706c8114cc059b847d0b32c9d53919f931d778402a10dd62f0d86948bff8eefd29684c433c1d4bfd7e2ce019ce55 SHA512 675a72a79839ad0b96fc0717ad7eca43c4ce331645ba3ad1325f9bf114abcf2ecd164eeab0c41775fe84aa626fc67272cd9c869047f57b225ff493f66881ff99 EBUILD qmapshack-1.14.0.ebuild 908 BLAKE2B f9c544be44c80f5aa9186e3d0671419968e8db35dea918730de52a1e086d487a5326f1fc5ac3b133b684bf0bba9a6e9e6c87de093b2afe5aff192cff3adcd0be SHA512 5c10b51323cb326cc35e73774ce287866cef7794c324dbe3730590db1563c6fe4e7ed7cd5601bc907b012e92dcba864d05907b681bc4f83c73b9252c3fa02d9a +EBUILD qmapshack-1.14.1.ebuild 913 BLAKE2B 8103fd017e942ea864c8cd33976530d343460ed5ea843d67e2f3545d1878ea0fb3457ba10f513006170b00b24a992a9040a345022485be9e5ce9ec45b78ed709 SHA512 672b28b280385eb3acae91a295271bd60bb6c14aebaa5eace74560b649b8862b5248b4cef9ee5044324537868aa525aa8778e4f7dfc32057a8bb1f424ee0d883 MISC metadata.xml 772 BLAKE2B b1bd146b3ae624d365dd366cef81f3eaf37c8220ddd4eeb1f64916275f6520f3bd2d458a339bdea85d0f13cde14b3038d98c32f6265204e3aa1e22424f9dbfd2 SHA512 03cd1cf6d4e0b5a420b4301ffb1077f2dda9e023572dedd1c56ba4574ab4460c125d63bb5c7475b66b023ff15dc0b9c4cfc8479218366c935108e89850ed5d4d diff --git a/sci-geosciences/qmapshack/qmapshack-1.14.1.ebuild b/sci-geosciences/qmapshack/qmapshack-1.14.1.ebuild new file mode 100644 index 000000000000..ce8d3a1b868d --- /dev/null +++ b/sci-geosciences/qmapshack/qmapshack-1.14.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils xdg + +DESCRIPTION="GPS mapping utility" +HOMEPAGE="https://github.com/Maproom/qmapshack/wiki" +SRC_URI="https://github.com/Maproom/${PN}/archive/V_1.14.0.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dev-qt/qtwebengine:5[widgets] + dev-qt/qtdeclarative:5[widgets] + dev-qt/qtprintsupport:5 + dev-qt/qtpositioning:5 + dev-qt/qtdbus:5 + dev-qt/qttest:5 + dev-qt/designer:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtsql:5 + dev-libs/quazip + >=sci-geosciences/routino-3.1.1 + sci-libs/gdal + >=sci-libs/proj-6.0.0:= + sci-libs/alglib" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5" + +PATCHES=( "${FILESDIR}"/${PN}-positioning.patch ) +S="${WORKDIR}"/${PN}-V_1.14.0 + +src_prepare() { + cmake-utils_src_prepare + cp "${FILESDIR}"/FindPROJ4.cmake cmake/Modules/ || die +} diff --git a/sci-geosciences/routino/Manifest b/sci-geosciences/routino/Manifest index b5fcf38de2ea..532008a3901c 100644 --- a/sci-geosciences/routino/Manifest +++ b/sci-geosciences/routino/Manifest @@ -1,7 +1,10 @@ AUX routino-3.1.1.patch 1361 BLAKE2B fd8d68da8ea0d95d434d7b43b3e9ccd89d7b43696e1feea7d6a4440d452b8c4b7f9b6fc684a2683525f4f29c8af6c8b7442f590ceda98be590315f5ace61c174 SHA512 c1f12433b478adc05e74d4da2470c80788b788dd6bef16eec2c76a1d209adece11091b3862ccc4c1d0ee105c209f3f332a05181f0c1f83cb9528369a7f6b14b4 AUX routino-3.2.patch 1357 BLAKE2B d921a025e377c5a8edb2ae9bd0ba634b7b40b159b97079a64de09ba04cc8b5ec80916fa8e596f85dd2f81959d921ad851537512ebda9a4a7f1d0314d8209ba25 SHA512 f65f123985e858f9c9a1daac0ea0cde3c54387cc7a4c23064630e0e507f90ce767b4c6dd269fd4fddaa3ee1d2b2d55e91f7346f9ca89a001ee5e71155c9cf89d +AUX routino-3.3.2.patch 1771 BLAKE2B a40ebca2cbc81f479eca69222e679a1abef4c42bd3db8417bd8bcc62c8d15a5ed2f43ae8b55e56870ca037b98de2c424f258d139dff11c0128ac60940f09ace6 SHA512 52cbd47e68b25a7c735d32a4bb51436ea45867cdb9f86bc3a55304674b80d33dcc41f845527659db345e118f2f56036a2265a98a177744b4cb1029c7a18e202e DIST routino-3.1.1.tgz 1795118 BLAKE2B 4b8a44d917f2f71e333eb233eebee37de6d19adac7b31111f9b244e125d9a9a54bbbec5e166d53f3ac435f27dcb5633c9626e0ffc4025d5e8dc0cbaed6274800 SHA512 088f22e9297f485418ed369d00827690f86e224e331b69085513339870fe6d97cffef62aa5e7e14883800469beff4af4b0a581ba8bad78920a383d7152be6ede DIST routino-3.2.tgz 2463662 BLAKE2B 4be17e83105d95052a9fbe0158b15bf5d64b4f720fb1bb61cbbb5fcd61451b933507e4dcc8867bff5e8602c6e681e916e45328d2a0ce766e9ab37366984cf378 SHA512 f5be46d9c026fcd92658490630d9ff6e4827e84ee57ccbaae48f54372da37ab78de24432ab9fa1d6860304a9a2ac86061eb876c12b39e821693282c4d4aaefcf +DIST routino-3.3.2.tgz 2542029 BLAKE2B e74af857ef29d4ee4a08d8a2913180dfca747001f4afd59ad20a9ed355e654dc86d26fb1afb5486ece30ddf6b7cba7b60c52feae30af14086f2b4d5259451125 SHA512 5341a2ec063192754d641a4543260f4b3b3d84a7a9bfe745fca2082cdcc8bb7220bf37ed58aacf9e65eba4555432a6bdbb9747153a383dfff72e2aca01c66070 EBUILD routino-3.1.1.ebuild 659 BLAKE2B 6e61c569be646d4970b5c18cd9495988f78cfaed9477008be9d13ce1512d152849b6e12116ef2094cfdc526f6940b27b596b58dc356d53b0db6e2578c89137e9 SHA512 fd1dfd7fc8fc5821e8e7ac976aa04f3d1737509415a5a2451174e6dbe74c8ed5f1638d13cde17bdd1eedfc87c60b638470b49f42cf3e7e0787371395ff92eaba EBUILD routino-3.2.ebuild 719 BLAKE2B 2ebcbe7a5356b375512a682696f4bc39eb337f4a9f87362af1f003dd6c99423c4ce168fa2896590abcfc860412068d84ee80face8b3c871499042ab51c092ab6 SHA512 ea8d262efbe278b659b935bce78dcba5b1418d76edaf8f296c62315ee33533e8dd4d218b1f65f87399de63bb7762fe4a0e2cd2752ea3740993d5cdf23e40d1c4 +EBUILD routino-3.3.2.ebuild 1582 BLAKE2B 7c40bf697e1a30b813f5380d3292ac082125e1fe47764f510f6d16b57707e46c4801ccd12c178883293a6922cb521a309a7b2c7502e56dab45a260c37dd836d9 SHA512 204f1baf45703698331da9b38a4f841d18c25ae4383420bc94a5f94ec0771ccdf7021402bcecdc0c795efa732083510a1ac07c8d1bd93872cdd8fa7941967c76 MISC metadata.xml 893 BLAKE2B cdfadafcae0c3898788652b567a8145efb0f98aa819df589d32c49ead219222691b19361b90c8bc5153fef1659d3c2d7e6933a21fcb86db9dfa37ab774d8d2b5 SHA512 84bd42eadbfae10a8762f0d8e28d410d2bf6c69a02e38cf870a846b5f7431130116658e22de5b2411cca0965e027d2f5c71e02bcf6b5ce1e1a804f1c235f60ff diff --git a/sci-geosciences/routino/files/routino-3.3.2.patch b/sci-geosciences/routino/files/routino-3.3.2.patch new file mode 100644 index 000000000000..46c2986eea16 --- /dev/null +++ b/sci-geosciences/routino/files/routino-3.3.2.patch @@ -0,0 +1,71 @@ +diff -r -U3 routino-3.3.2.orig/Makefile routino-3.3.2/Makefile +--- routino-3.3.2.orig/Makefile 2018-10-31 02:27:41.000000000 +0700 ++++ routino-3.3.2/Makefile 2020-04-29 20:59:05.239931544 +0700 +@@ -24,7 +24,7 @@ + + # Sub-directories and sub-makefiles + +-SUBDIRS=src xml doc web extras python ++SUBDIRS=src xml doc web extras + + ######## + +diff -r -U3 routino-3.3.2.orig/Makefile.conf routino-3.3.2/Makefile.conf +--- routino-3.3.2.orig/Makefile.conf 2019-04-13 17:52:02.000000000 +0700 ++++ routino-3.3.2/Makefile.conf 2020-04-29 20:58:35.352930803 +0700 +@@ -45,11 +45,11 @@ + # Installation locations (edit if required) + + ifneq ($(HOST),MINGW) +- prefix=/usr/local ++ prefix=/usr + bindir=$(prefix)/bin + incdir=$(prefix)/include + libdir=$(prefix)/lib +- docdir=$(prefix)/doc/routino ++ docdir=$(prefix)/share/doc/${PF} + datadir=$(prefix)/share/routino + else + prefix="c:/Program Files/Routino" +@@ -82,10 +82,10 @@ + endif + + # Maths library +-LDFLAGS=-lm ++LDFLAGS+=-lm + + # Language dialect selection +-CFLAGS=-std=c99 ++CFLAGS+=-std=c99 + + # Warning options + CFLAGS+=-Wall -Wmissing-prototypes -Wextra -Wno-unused-parameter -pedantic +@@ -97,7 +97,7 @@ + endif + + # Optimisation options +-CFLAGS+=-O3 ++#CFLAGS+=-O3 + + # Fast maths option - makes test cases fail slightly + CFLAGS+=-ffast-math +@@ -138,7 +138,7 @@ + endif + + # Put the current directory in the shared library path for the router using libroutino +-LDFLAGS_LDSO=-Wl,-R. ++#LDFLAGS_LDSO=-Wl,-R. + + + # Required for multi-threaded support (comment these two lines out if not required) +@@ -159,8 +159,8 @@ + + + # Required for xz support (uncomment these two lines if required) +-#CFLAGS+=-DUSE_XZ +-#LDFLAGS+=-llzma ++CFLAGS+=-DUSE_XZ ++LDFLAGS+=-llzma + + + # Required to use stdio with files > 2GiB on 32-bit system. diff --git a/sci-geosciences/routino/routino-3.3.2.ebuild b/sci-geosciences/routino/routino-3.3.2.ebuild new file mode 100644 index 000000000000..bdab33b5a513 --- /dev/null +++ b/sci-geosciences/routino/routino-3.3.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit toolchain-funcs distutils-r1 + +DESCRIPTION="Routing application based on openstreetmap data" +HOMEPAGE="http://www.routino.org/" +SRC_URI="http://www.routino.org/download/${P}.tgz" +LICENSE="AGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="python test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +DEPEND="python? ( ${PYTHON_DEPS} + dev-lang/swig )" +RDEPEND="python? ( ${PYTHON_DEPS} )" + +src_prepare() { + eapply "${FILESDIR}"/${P}.patch + + sed -i -e "s@libdir=\(.*\)@libdir=\$(prefix)/$(get_libdir)@" \ + -e "s@CC=gcc@CC=$(tc-getCC)@" \ + -e "s@LD=gcc@LD=$(tc-getCC)@" \ + Makefile.conf || die "failed sed" + + eapply_user +} + +src_compile() { + emake -j1 + rm README.txt || die "rm README.txt failed" + mv doc/README.txt . || die "mv doc/README.txt . failed" + if use python; then + pushd python > /dev/null + python_compile() { + rm -f build/.timestamp + emake PYTHON=${EPYTHON} + } + python_foreach_impl python_compile + popd > /dev/null + fi +} + +src_test() { + emake test +# if use python; then +# pushd python > /dev/null +# python_test() { +# echo "######## ${EPYTHON} ########" +# emake PYTHON=${EPYTHON} test +# } +# python_foreach_impl python_test +# popd > /dev/null +# fi +} + +src_install() { + default + if use python; then + pushd python > /dev/null + python_install() { + esetup.py install + python_optimize + } + python_foreach_impl python_install + newdoc README.txt README_python.txt + popd > /dev/null + fi + +} -- cgit v1.2.3