diff options
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/Manifest.gz | bin | 11587 -> 11589 bytes | |||
-rw-r--r-- | sci-geosciences/gpsbabel/Manifest | 4 | ||||
-rw-r--r-- | sci-geosciences/gpsbabel/gpsbabel-1.7.0-r1.ebuild (renamed from sci-geosciences/gpsbabel/gpsbabel-1.7.0.ebuild) | 3 | ||||
-rw-r--r-- | sci-geosciences/gpsbabel/gpsbabel-9999.ebuild | 3 | ||||
-rw-r--r-- | sci-geosciences/harmonics-dwf-free/Manifest | 2 | ||||
-rw-r--r-- | sci-geosciences/harmonics-dwf-free/harmonics-dwf-free-20131228.ebuild | 8 | ||||
-rw-r--r-- | sci-geosciences/mapserver/Manifest | 5 | ||||
-rw-r--r-- | sci-geosciences/mapserver/files/mapserver-oracle21.patch | 12 | ||||
-rw-r--r-- | sci-geosciences/mapserver/mapserver-7.6.2-r1.ebuild | 1 | ||||
-rw-r--r-- | sci-geosciences/mapserver/mapserver-7.6.4.ebuild | 4 | ||||
-rw-r--r-- | sci-geosciences/qgis/Manifest | 2 | ||||
-rw-r--r-- | sci-geosciences/qgis/qgis-3.22.0.ebuild | 206 |
12 files changed, 236 insertions, 14 deletions
diff --git a/sci-geosciences/Manifest.gz b/sci-geosciences/Manifest.gz Binary files differindex 3580acbb4470..79180d481525 100644 --- a/sci-geosciences/Manifest.gz +++ b/sci-geosciences/Manifest.gz diff --git a/sci-geosciences/gpsbabel/Manifest b/sci-geosciences/gpsbabel/Manifest index 62c407b80181..c53e10d6af68 100644 --- a/sci-geosciences/gpsbabel/Manifest +++ b/sci-geosciences/gpsbabel/Manifest @@ -13,6 +13,6 @@ DIST gpsbabel-1.5.4.tar.gz 9099765 BLAKE2B 339cc78f94fed883b73c9f74cc6e27dd21443 DIST gpsbabel.org-style3.css 2171 BLAKE2B 7fafef65e37d7c7cd183be06caafdbf303ac334484d7c09b4e668e8845f156f850b6f4cc6ac1aa081627367e999fa30d3505400e2aabd03fa117f6389318254f SHA512 33b843e0431de6d71a83c58da35ede28435e5a4746f59e52350c6e4451659e1b443d3c0dd52df1c68001e9937787820fb96afc363ec1ae7d23430bfed31dbc83 DIST gpsbabel_1_7_0.tar.gz 16718984 BLAKE2B 8b824eb2a024f61e30abed80afe5e8ba8943771aff401171e7622eb3eb3d16cd2890964ccf0abfd28925d604087c57f013dc37bfac5d16ccdb97d2386a92ec29 SHA512 9df9d9cd65c3f33c0f39b4064e448834ad651ead368a3be3ea107f754ff0ac1500eb2111cddf43ecad61fe65b3412181842571fbba3387dd3dd36ff5c23e2911 EBUILD gpsbabel-1.5.4-r1.ebuild 2547 BLAKE2B c1a046ccf5fc308176ccc880bc33bbe1c345b1bd8ee2f49e2d87e64775e8cb7ee69bce3a71241fef85f65e28a5698210457f82c8acf16cfa1aefa67de2627c40 SHA512 e98bafe27f2793784270526bba6994e5aff39c3f8589edee4720524cba5b6695873471b439617a3808f5ddcbf27cbe989eb496c7ef2d50638fc4bef12c9d834c -EBUILD gpsbabel-1.7.0.ebuild 1787 BLAKE2B df16b3a7b1d6de3a742aa206e30926e6ef77480f8ab17c84b951426fb16bdbca4ef42b55e0cee9d3afcfb0b0fc7557965be668611e347648ea46181c385f16a1 SHA512 d886a8ce1c2b263b5cd3b23a3c01df6ee2017b88abe18d727ff681b7d830f18d95474ad49b99d681fe3ca79248c14a7d98cc111f6dce31f5376684e26f09d371 -EBUILD gpsbabel-9999.ebuild 1787 BLAKE2B df16b3a7b1d6de3a742aa206e30926e6ef77480f8ab17c84b951426fb16bdbca4ef42b55e0cee9d3afcfb0b0fc7557965be668611e347648ea46181c385f16a1 SHA512 d886a8ce1c2b263b5cd3b23a3c01df6ee2017b88abe18d727ff681b7d830f18d95474ad49b99d681fe3ca79248c14a7d98cc111f6dce31f5376684e26f09d371 +EBUILD gpsbabel-1.7.0-r1.ebuild 1771 BLAKE2B 320ef893e9dd23777a2473f1bd62939c62d1fb5992e07512139081ccd5dfee8fb68a240772f080ef4cc4082d2a948cbba9a48c3c37356dfcf8bdd9dcd48dc9dd SHA512 4ec6cc28126be0cd7acfe2ccca8fca10d083afb24b1e97e2c8dd46c6db9ea93389e7bcfa3378e027bb1e12a52759b2a1265b473fd9abca683a838d938b144980 +EBUILD gpsbabel-9999.ebuild 1771 BLAKE2B 320ef893e9dd23777a2473f1bd62939c62d1fb5992e07512139081ccd5dfee8fb68a240772f080ef4cc4082d2a948cbba9a48c3c37356dfcf8bdd9dcd48dc9dd SHA512 4ec6cc28126be0cd7acfe2ccca8fca10d083afb24b1e97e2c8dd46c6db9ea93389e7bcfa3378e027bb1e12a52759b2a1265b473fd9abca683a838d938b144980 MISC metadata.xml 352 BLAKE2B 1b6ee2c488060cad27a6e3c0e6a0c767f0fd29664ae4d09cf3e373194e5b102e234f2d2b6fc80f6385f1d49bf581b8ae8bb591be9fea966e3f75a771cb0a6c12 SHA512 b7558f62d902eeff8165c7d4eb9b9dccdc1a8740b51de5a7283f83378974a6b375b04e3d01b48344eabce23b8b6a127a8c92c87ac49956225d15418ed0fdcfdc diff --git a/sci-geosciences/gpsbabel/gpsbabel-1.7.0.ebuild b/sci-geosciences/gpsbabel/gpsbabel-1.7.0-r1.ebuild index d49758284666..4da02d15793a 100644 --- a/sci-geosciences/gpsbabel/gpsbabel-1.7.0.ebuild +++ b/sci-geosciences/gpsbabel/gpsbabel-1.7.0-r1.ebuild @@ -28,11 +28,10 @@ SLOT="0" IUSE="doc" DEPEND=" - dev-libs/expat dev-qt/qtcore:5 sci-libs/shapelib:= sys-libs/zlib - virtual/libusb:0 + virtual/libusb:1 " BDEPEND=" virtual/pkgconfig diff --git a/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild b/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild index d49758284666..4da02d15793a 100644 --- a/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild +++ b/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild @@ -28,11 +28,10 @@ SLOT="0" IUSE="doc" DEPEND=" - dev-libs/expat dev-qt/qtcore:5 sci-libs/shapelib:= sys-libs/zlib - virtual/libusb:0 + virtual/libusb:1 " BDEPEND=" virtual/pkgconfig diff --git a/sci-geosciences/harmonics-dwf-free/Manifest b/sci-geosciences/harmonics-dwf-free/Manifest index 2e83a7936a80..7754bacb9f5a 100644 --- a/sci-geosciences/harmonics-dwf-free/Manifest +++ b/sci-geosciences/harmonics-dwf-free/Manifest @@ -1,3 +1,3 @@ DIST harmonics-dwf-20131228-free.tar.bz2 511292 BLAKE2B fe1e36da2155bc3b94bf0df2e6f17eb718dd4cd94d6b2aa719564c672fb1b7f25b6c1eca1900f4e28c37e7764098be806f33b3d72f9a07e615523d21ddca85c7 SHA512 b36ca3f432a455fee051418b7eb427bfafc7cdad929765ed6d44f6f2583e6b8c1d4992b21225d07636c418cc4dea2e353f3276511ba7b331bb8709bf543fceed -EBUILD harmonics-dwf-free-20131228.ebuild 463 BLAKE2B 50001bc68f4bd128a8102906f752d7665ee448ba5f7b26f4e69d14c720899b4f379040ae9f7893bc8e40d02beb27193e8ad58bf1ef83464ee6c91f5f4e596e86 SHA512 d018d6c78186af6a78744709f4500037e5ed76aab53838d2bd74f75df5a7fb7f171909aa8d0ddd1825c9044436348c89ea7cbc372a77c50bf680b158effb916b +EBUILD harmonics-dwf-free-20131228.ebuild 456 BLAKE2B aeb951e5c62c7d148f419c1108ed31f60deb3ae12c1954cce0f5c9b88a5f6a76d5f7ca517f2484c617ed788190913e0c09fb694e33954d271eb31f0be03c3c1b SHA512 79b79f68660d005ef4176535b31406d4c3b5087b99b5b0bbecca5b44265299d169ce48bb0eef2ccb7a33330ca40157f9d6b8bdaad5e5cf410e734723cb825280 MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/sci-geosciences/harmonics-dwf-free/harmonics-dwf-free-20131228.ebuild b/sci-geosciences/harmonics-dwf-free/harmonics-dwf-free-20131228.ebuild index 7d140e843b2d..f4dbd9fc0d04 100644 --- a/sci-geosciences/harmonics-dwf-free/harmonics-dwf-free-20131228.ebuild +++ b/sci-geosciences/harmonics-dwf-free/harmonics-dwf-free-20131228.ebuild @@ -1,19 +1,17 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 MY_P="${P/-free-/-}" DESCRIPTION="Tidal harmonics database for libtcd" HOMEPAGE="http://www.flaterco.com/xtide/" SRC_URI="ftp://ftp.flaterco.com/xtide/${MY_P}-free.tar.bz2" +S="${WORKDIR}/${MY_P}" LICENSE="public-domain" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" - -S=${WORKDIR}/${MY_P} src_install() { insinto /usr/share/harmonics diff --git a/sci-geosciences/mapserver/Manifest b/sci-geosciences/mapserver/Manifest index 7b1ee38cf5f4..08c25a25c80d 100644 --- a/sci-geosciences/mapserver/Manifest +++ b/sci-geosciences/mapserver/Manifest @@ -1,6 +1,7 @@ AUX mapserver-7.6.2-proj8.patch 544 BLAKE2B 607130bce382bfb4198d8ef4f45048d1091d842cab29730f85149e7250b9659ebe93ac47b79e2addddbfc480d11c5a30d5f07b91479dedcfc9678d7a69404fb1 SHA512 5b2e2a33027c23e812fbd4c358320980886fd16ea1a127bf8945dff396a1038b79f1a139f304c16469117794d227bf7ce0863caaca85a3be518f3807fcb8ce0d +AUX mapserver-oracle21.patch 636 BLAKE2B 4e102514dab3e51343b3021c74f2bb49cdd5406f4d2f800fa1a01c0825a8dbc78ee2064ba006612a430c7295cd81e98efd2ca3b603958d9a67d0fb2a28b700b2 SHA512 84e4f9128bbda24ae7488fbb5637879a37da098976f33c6c53e37e2950532e4d9fb1e3bf3b327e320fd82f0eb6acfd5528e009fc28ae945e1ab4d92aed314c86 DIST mapserver-7.6.2.tar.gz 2715806 BLAKE2B 230e4f52c526d72ac7f46cfe4ef8e547d7ae74c01d75637ad301d4e69b90d301f02ecb8fe7d838c9ee15c022ed7980aa2f9236e08a6daedafb65a2499a9473e5 SHA512 842c2cf891df6c8dc630fac5419caa31701d732a748264f7d5b6cceaf192fa420f1863fdd18cc791a417dcdc800fed5c3e5c43ac688142f32a1a6edda4c9f791 DIST mapserver-7.6.4.tar.gz 2718735 BLAKE2B 4d9fc6d215a55af32e0cc125f6119e0e477ddc5a5b2dbea6df1cc7e1ffaf6319f3a855329749aa07f1bca88e79a71c67cb2e8bd62e30bd60e44ecc1b8283d4ce SHA512 ccca87b650df3c1784ba82ca4a58960585d72fb4004fcea43c0dcabf03b9617ba51870bc63dbb2238a7eeb8d4337b6ff152587150912a74eeaf4a3e3d2d584ce -EBUILD mapserver-7.6.2-r1.ebuild 7139 BLAKE2B f3c1edf9684fe5ed5facdaddf7686be91900afcd5733b7c213f30b8abff1cf61937e009d1be4ad45fe2451d82e80be191f33ad610f403242fd586ca04cf0e7e6 SHA512 981ce99b170ebce3d1598e3ffe6cc3e1a6fae5cf4e0c938923506c6338afeb1bc2b47e45774bca8046986075087fed25cd72a384fdc6facff7b1157b638d02de -EBUILD mapserver-7.6.4.ebuild 7094 BLAKE2B da923b5b442dbcdeb178d0cd11b90fbca9979e419ed678a6e292dbcc40063f888ae66fe57e01fb03ecc4d5c0727a5ab4a4f556096cf0be9ca713e530fef94422 SHA512 e951a58133f85b14fec7fbba72fea7c8e6882371b413a6fd2d12b107c8db7cf380f401bb1c25b72415147dac77be22e0778d7106235c830e802540c97b8246ad +EBUILD mapserver-7.6.2-r1.ebuild 7175 BLAKE2B 3184bad696c9d1449303c4b67e8619b8c93279ea7e8f542b816aa6598d2a40ac2937cf6b051292068ecf15a4356d07d68e4540549f82096c23c2c681a89bae2d SHA512 f9501e6dcc58d720aadc1588e27806219ab7b46eaf6f69af40f45a3460f7b17a4467d81b17fef50895a903a79828abdc9b4d96cd9b6e30a08663f159c67ddf50 +EBUILD mapserver-7.6.4.ebuild 7146 BLAKE2B 27a990a1cc1fab13d17eb30958f2ad36d80a978d32dd9eb51c0e4d83a12522a035e95d21227f6ce2a08a8c33798aec385c9f413783d5f7f8b219870c086d6457 SHA512 c53929f5abb435a47d93007955d0baeed044ccef31032d5f7d498e8e9a5f34d00c959d4f8f20f8e1047a8e27b5b2eb38ab68e18352048e4065c476fd21a02eee MISC metadata.xml 497 BLAKE2B b0517aa597d42116849e9f7ecdbf2cb2b479f5c57c7f0fe413dab870555abe82ac5dc07c624cabf769bfd2332300f2860e40cfd1ed375bafa109a347b670232b SHA512 3d58797fb05f9c45359e9ac2302a2432e9b61d300f1c01b27ef562da860311e777b7675b0f162eb2c490cdea0440c9f7b9a3323a89feef01589385ec30a5b64d diff --git a/sci-geosciences/mapserver/files/mapserver-oracle21.patch b/sci-geosciences/mapserver/files/mapserver-oracle21.patch new file mode 100644 index 000000000000..e77da3ee02a9 --- /dev/null +++ b/sci-geosciences/mapserver/files/mapserver-oracle21.patch @@ -0,0 +1,12 @@ +diff -Naru a/cmake/FindOracle.cmake b/cmake/FindOracle.cmake +--- a/cmake/FindOracle.cmake 2021-10-20 17:50:27.817205162 +0200 ++++ b/cmake/FindOracle.cmake 2021-10-20 17:52:04.977205742 +0200 +@@ -37,7 +37,7 @@ + ${ORACLE_HOME}/OCI/include) # Oracle XE on Windows + + set(ORACLE_OCI_NAMES clntsh libclntsh oci) +- set(ORACLE_NNZ_NAMES nnz10 libnnz10 nnz11 libnnz11 nnz12 libnnz12 nnz18 libnnz18 ociw32 nnz19 libnnz19) ++ set(ORACLE_NNZ_NAMES nnz10 libnnz10 nnz11 libnnz11 nnz12 libnnz12 nnz18 libnnz18 ociw32 nnz19 libnnz19 nnz21 libnnz21) + set(ORACLE_OCCI_NAMES libocci occi oraocci10 oraocci11 oraocci12) + + set(ORACLE_LIB_DIR diff --git a/sci-geosciences/mapserver/mapserver-7.6.2-r1.ebuild b/sci-geosciences/mapserver/mapserver-7.6.2-r1.ebuild index 090466afc3ca..a9f1ea99c8ad 100644 --- a/sci-geosciences/mapserver/mapserver-7.6.2-r1.ebuild +++ b/sci-geosciences/mapserver/mapserver-7.6.2-r1.ebuild @@ -88,6 +88,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-proj8.patch + "${FILESDIR}"/${PN}-oracle21.patch ) want_apache2 apache diff --git a/sci-geosciences/mapserver/mapserver-7.6.4.ebuild b/sci-geosciences/mapserver/mapserver-7.6.4.ebuild index 4a23194cd84a..3c1b5cb396a8 100644 --- a/sci-geosciences/mapserver/mapserver-7.6.4.ebuild +++ b/sci-geosciences/mapserver/mapserver-7.6.4.ebuild @@ -86,6 +86,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${PN}-oracle21.patch +) + want_apache2 apache pkg_setup() { diff --git a/sci-geosciences/qgis/Manifest b/sci-geosciences/qgis/Manifest index 8468cade4277..5ae846e5e171 100644 --- a/sci-geosciences/qgis/Manifest +++ b/sci-geosciences/qgis/Manifest @@ -5,10 +5,12 @@ DIST qgis-3.18.3.tar.bz2 121178524 BLAKE2B 9f4c5bb4b4bf980c81b91a38716b280f48bf2 DIST qgis-3.20.0.tar.bz2 131619071 BLAKE2B c6644b6e858a38c5b15846d39293d5b92b849efb44d147b8968a5630db413b427150f20722a24e806a14af877b88c0b06774777fd01dd8753cd9305ba1c40e33 SHA512 0f1d9527d3cf4241ed7688fe4f13e459beb7848c99492a995ac30d8b0c874f3198007d25d9fbde51cc36e6e08029a2fdd2d023c88423adb925a0a99778df27bc DIST qgis-3.20.2.tar.bz2 132063211 BLAKE2B 4482cb84e258d26313bab7fd045e3e0fee8541d6857de8f2192a351b51256b94e2c945c4e117d6394ee178c16b8e5a2f15cc1a51f99600e789a32ae14edb9601 SHA512 64d78fe16db1ae17dd22c5f05e83dac4ba50185a1c76e8dfe3205eeb39aa11d970ca59c83db72ff9828dc1610076fceab5a9fc797d6be2314165e95d3d9f2087 DIST qgis-3.20.3.tar.bz2 133775542 BLAKE2B f92273d208d7948bcd1642c994d7dac6b3a1115aaee5738e1974ff0ac38e42432abb18a64e982d46be10dd2dcb9da809b9065bb66c3f353e587a5b7f5544ec91 SHA512 abad3eb9774bbe2eaa86d554256a46eb179016f2df849d0c27c96db1bad6b73116c4456b81b176107a459bbf52714ccaf11a79bb9b39641192cd46f188420df0 +DIST qgis-3.22.0.tar.bz2 135469417 BLAKE2B 54fdd8517e37931dcdc81ef1006859d58d9e60a994a60588109a8337ade68e48710f0f50fe41e6e73c0e095187f00f15209258eb940ea3c80bba4f249d081cd5 SHA512 dc214d90c465cc7b8a82196d666b94971d60e64a28e38742aba5cdd86058e27fdf7cc3564bca3b330cf1820c7594d9226576145461db399c458a26ee569e299b DIST qgis_sample_data-2.8.14.tar.gz 22119181 BLAKE2B 2d0565e91ec8119382bc9ab8e262dc04227fe8289146794891759ff5a32012245270614ba1119a6329fc45cf56852830c2079589309aa3467873f71f5c608eac SHA512 6b2653d5b57ffc2c2317639dac212429840984ac917ca3e452b39aabb99ea106d1a77c1c1dd967244ef16ede9deae751b170affdf08b72239eafed5b8977da3d EBUILD qgis-3.18.3.ebuild 5334 BLAKE2B d913ed8bc2ebb13f0d3dc61a6a50d1e8895efc557eb4951649591c9e9428f4121136826ea24a017d6c40e154fb21a61de32526309e51a765ddf46774272c7ed0 SHA512 9ab03ed7a1cd3c83392016c0f61ab7f7d38f661a9fbbd3673153dd7ec15e3335b3b0eca98708df3d21bd93a7a7a5602ad12cb8e1901efca0b2c32ce9ac7202f6 EBUILD qgis-3.20.0-r1.ebuild 5360 BLAKE2B e994dabd1c8cd67cfb0626397c00f383ee5ddab639724a4d9998678e2c73cf07e5065578f8f7b75ceeea777ebf4177e7005a2f092ed9051192736496b55ec825 SHA512 21a5645d6bcf9466f37cf88681d6d75f35b375ae76ec246588a8b206f1fcc4060d43b8988b6eb5c69f92e2ed45a0b7db73ba4e0409b4473befe8a6fdf1c73db2 EBUILD qgis-3.20.2.ebuild 5406 BLAKE2B 18e5609b1263927d2b1f0f1ed8712dd8ad719267ad595206f95e1774d398f42b09521ae96b69bce0839693eca54777b92f33280c250330a95cd9c7472c1f87c1 SHA512 debe458992dee9469651793e442b1452504fa30442c9e82c2b52cf1c6702e47a0545930a2c97225422ec171695652f665015f26096efc94fd761f188a833a499 EBUILD qgis-3.20.3.ebuild 5407 BLAKE2B 3cddce4905a0f00a26469a02fe24960b6125c986e9a975ee793d9661f2b4af4f5754303e29166ed51057f4e86cf338c3e9c6f0cf25c62dd5f19efd7f47b8ea19 SHA512 58f769971c285e20d64c74b52e8baceed9475ea7ea07951b9959b5054db1c9af815183c516e499fa1a5dfa0b5deb47bd2c07ee629f58b991f1552fc496090cfd +EBUILD qgis-3.22.0.ebuild 5407 BLAKE2B 3cddce4905a0f00a26469a02fe24960b6125c986e9a975ee793d9661f2b4af4f5754303e29166ed51057f4e86cf338c3e9c6f0cf25c62dd5f19efd7f47b8ea19 SHA512 58f769971c285e20d64c74b52e8baceed9475ea7ea07951b9959b5054db1c9af815183c516e499fa1a5dfa0b5deb47bd2c07ee629f58b991f1552fc496090cfd EBUILD qgis-9999.ebuild 5407 BLAKE2B 3cddce4905a0f00a26469a02fe24960b6125c986e9a975ee793d9661f2b4af4f5754303e29166ed51057f4e86cf338c3e9c6f0cf25c62dd5f19efd7f47b8ea19 SHA512 58f769971c285e20d64c74b52e8baceed9475ea7ea07951b9959b5054db1c9af815183c516e499fa1a5dfa0b5deb47bd2c07ee629f58b991f1552fc496090cfd MISC metadata.xml 1483 BLAKE2B 7e376bf280c7004be4e1122616586c105c0eef696e787586736f19565e8df31d994d3b4fddde3344432adf1ffb99afaac2acfe1f70cd5cd8ee5344fe1f65dc48 SHA512 cbc63fa480c07625e1e6317fcc98dababb209ee65a9aa461ab1897aab861df7d5db0cad9f4a20e8787c11ea6300f90f73706bf7ca7dc65965681731ac23cff1c diff --git a/sci-geosciences/qgis/qgis-3.22.0.ebuild b/sci-geosciences/qgis/qgis-3.22.0.ebuild new file mode 100644 index 000000000000..ba166c281975 --- /dev/null +++ b/sci-geosciences/qgis/qgis-3.22.0.ebuild @@ -0,0 +1,206 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_REQ_USE="sqlite" + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://github.com/${PN}/${PN^^}.git" + inherit git-r3 +else + SRC_URI="https://qgis.org/downloads/${P}.tar.bz2 + examples? ( https://qgis.org/downloads/data/qgis_sample_data.tar.gz -> qgis_sample_data-2.8.14.tar.gz )" + KEYWORDS="~amd64 ~x86" +fi +inherit cmake desktop python-single-r1 qmake-utils xdg + +DESCRIPTION="User friendly Geographic Information System" +HOMEPAGE="https://www.qgis.org/" + +LICENSE="GPL-2+ GPL-3+" +SLOT="0" +IUSE="3d examples georeferencer grass hdf5 mapserver netcdf opencl oracle polar postgres python qml serial" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} mapserver? ( python )" + +# Disabling test suite because upstream disallow running from install path +RESTRICT="test" + +COMMON_DEPEND=" + app-crypt/qca:2[qt5(+),ssl] + >=dev-db/spatialite-4.2.0 + dev-db/sqlite:3 + dev-libs/expat + dev-libs/libzip:= + dev-libs/protobuf:= + dev-libs/qtkeychain[qt5(+)] + dev-qt/designer:5 + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtpositioning:5 + dev-qt/qtprintsupport:5 + dev-qt/qtserialport:5 + dev-qt/qtsvg:5 + dev-qt/qtsql:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + media-gfx/exiv2:= + >=sci-libs/gdal-3.0.4:=[geos] + sci-libs/geos + sci-libs/libspatialindex:= + sys-libs/zlib + >=sci-libs/proj-4.9.3:= + >=x11-libs/qscintilla-2.10.1:=[qt5(+)] + >=x11-libs/qwt-6.1.2:6=[qt5(+),svg] + 3d? ( dev-qt/qt3d:5 ) + georeferencer? ( sci-libs/gsl:= ) + grass? ( =sci-geosciences/grass-7*:= ) + hdf5? ( sci-libs/hdf5:= ) + mapserver? ( dev-libs/fcgi ) + netcdf? ( sci-libs/netcdf:= ) + opencl? ( virtual/opencl ) + oracle? ( + dev-db/oracle-instantclient:= + sci-libs/gdal:=[oracle] + ) + polar? ( >=x11-libs/qwtpolar-1.1.1-r1[qt5(+)] ) + postgres? ( dev-db/postgresql:= ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/future[${PYTHON_USEDEP}] + dev-python/httplib2[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/owslib[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/PyQt5[designer,network,sql,svg,${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/qscintilla-python-2.10.1[qt5(+),${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + <dev-python/sip-5:=[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=sci-libs/gdal-2.2.3[python,${PYTHON_USEDEP}] + postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) + ') + ) + qml? ( dev-qt/qtdeclarative:5 ) + serial? ( dev-qt/qtserialport:5 ) +" +DEPEND="${COMMON_DEPEND} + dev-qt/qttest:5 + python? ( ${PYTHON_DEPS} ) +" +RDEPEND="${COMMON_DEPEND} + sci-geosciences/gpsbabel +" +BDEPEND=" + ${PYTHON_DEPS} + dev-qt/linguist-tools:5 + sys-devel/bison + sys-devel/flex +" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DQGIS_MANUAL_SUBDIR=share/man/ + -DQGIS_LIB_SUBDIR=$(get_libdir) + -DQGIS_PLUGIN_SUBDIR=$(get_libdir)/qgis + -DQWT_INCLUDE_DIR=/usr/include/qwt6 + -DQWT_LIBRARY=/usr/$(get_libdir)/libqwt6-qt5.so + -DQGIS_QML_SUBDIR=/usr/$(get_libdir)/qt5/qml + -DPEDANTIC=OFF + -DUSE_CCACHE=OFF + -DWITH_ANALYSIS=ON + -DWITH_APIDOC=OFF + -DWITH_GUI=ON + -DWITH_INTERNAL_MDAL=ON # not packaged, bug 684538 + -DWITH_QSPATIALITE=ON + -DENABLE_TESTS=OFF + -DWITH_3D=$(usex 3d) + -DWITH_GSL=$(usex georeferencer) + -DWITH_GRASS7=$(usex grass) + $(cmake_use_find_package hdf5 HDF5) + -DWITH_SERVER=$(usex mapserver) + $(cmake_use_find_package netcdf NetCDF) + -DUSE_OPENCL=$(usex opencl) + -DWITH_ORACLE=$(usex oracle) + -DWITH_QWTPOLAR=$(usex polar) + -DWITH_POSTGRESQL=$(usex postgres) + -DWITH_BINDINGS=$(usex python) + -DWITH_CUSTOM_WIDGETS=$(usex python) + -DWITH_QUICK=$(usex qml) + -DWITH_QT5SERIALPORT=$(usex serial) + -DWITH_QTWEBKIT=OFF + ) + + if use grass; then + readarray -d'-' -t f <<<"$(best_version sci-geosciences/grass)" + readarray -d'.' -t v <<<"${f[2]}" + grassdir="grass${v[0]}${v[1]}" + + GRASSDIR=/usr/$(get_libdir)/${grassdir} + mycmakeargs+=( -DGRASS_PREFIX7=${GRASSDIR} ) + fi + + use python && mycmakeargs+=( -DBINDINGS_GLOBAL_INSTALL=ON ) || + mycmakeargs+=( -DWITH_QGIS_PROCESS=OFF ) # FIXME upstream issue #39973 + + # bugs 612956, 648726 + addpredict /dev/dri/renderD128 + addpredict /dev/dri/renderD129 + + cmake_src_configure +} + +src_install() { + cmake_src_install + + insinto /usr/share/mime/packages + doins debian/qgis.xml + + if use examples; then + docinto examples + dodoc -r "${WORKDIR}"/qgis_sample_data/. + docompress -x /usr/share/doc/${PF}/examples + fi + + if use python; then + python_optimize + python_optimize "${ED}"/usr/share/qgis/python + fi + + if use grass; then + python_fix_shebang "${ED}"/usr/share/qgis/grass/scripts + fi +} + +pkg_postinst() { + if use postgres; then + elog "If you don't intend to use an external PostGIS server" + elog "you should install:" + elog " dev-db/postgis" + elif use python; then + elog "Support of PostgreSQL is disabled." + elog "But some installed python-plugins import the psycopg2 module." + elog "If you do not need these plugins just disable them" + elog "in the Plugins menu, else you need to set USE=\"postgres\"" + fi + + xdg_pkg_postinst +} |