summaryrefslogtreecommitdiff
path: root/sci-geosciences/mapnik
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sci-geosciences/mapnik
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-geosciences/mapnik')
-rw-r--r--sci-geosciences/mapnik/Manifest11
-rw-r--r--sci-geosciences/mapnik/files/mapnik-2.2.0-configure-only-once.patch20
-rw-r--r--sci-geosciences/mapnik/files/mapnik-2.2.0-dont-run-ldconfig.patch11
-rw-r--r--sci-geosciences/mapnik/files/mapnik-3.0.18-icu-61.patch54
-rw-r--r--sci-geosciences/mapnik/files/mapnik-3.0.18-scons.patch39
-rw-r--r--sci-geosciences/mapnik/files/mapnik-3.0.9-harbuzz_sharper-upstream.patch25
-rw-r--r--sci-geosciences/mapnik/files/mapnik-3.0.9-unicode-upstream.patch11
-rw-r--r--sci-geosciences/mapnik/mapnik-3.0.18.ebuild118
-rw-r--r--sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild106
-rw-r--r--sci-geosciences/mapnik/metadata.xml19
10 files changed, 0 insertions, 414 deletions
diff --git a/sci-geosciences/mapnik/Manifest b/sci-geosciences/mapnik/Manifest
deleted file mode 100644
index fa57c739930c..000000000000
--- a/sci-geosciences/mapnik/Manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-AUX mapnik-2.2.0-configure-only-once.patch 737 BLAKE2B 66233c05272cf12c62c04bd87b5c3ab74894ed2887e6d33f5fe82217344a341ade76c3c9df138baa31629a75bc7c65083baf0470e705fbbd48ae830e36402b0c SHA512 30f044c8501536599d625646dc8930d3cdcd14fc1ef6c3ee64c8226fe03a6d0f3cbc5d175f6aff7bc7dc0575206dcd23288828cb6edad264aed3b2b4d9e7874b
-AUX mapnik-2.2.0-dont-run-ldconfig.patch 243 BLAKE2B 8dffa522b7f8cc7a080ebeb3175c953a7a8f457d5c9288a7857aebc1f76cc8b032c11bd46678e2bd50f59ee0e19e7f7172766658640b4a06530ad0163f600e33 SHA512 dd42f09654de246ff6be4cf68fc2b08bb5ec2ae6515e722e89337081ff4b89c8b269fa70d3393f3c6156a539d7a9b1d1f516e9d6ff7f35639669fcfcd20a26ff
-AUX mapnik-3.0.18-icu-61.patch 2148 BLAKE2B 3dfc1a8fe598c13317576a31bd758bd28cf24140b02fd46eaf97e9bbb9cc10c56ad5f2b68ebde4e3ccd12f2275469f556edeee21c6f3b7d92e426a6f0b147730 SHA512 32ff973dde413c85fb03769d7b07dc3e1dcdf9fd2e398fb9a77e618a461a8613056cf978d2e1ff4679738e1122af563c6dd5238dcc1d434a19b70b314ea1faa1
-AUX mapnik-3.0.18-scons.patch 1939 BLAKE2B ece0bf49df2959a33af5f58842a59fe59a2e232f41a6e9542e747f24ebcc99d550370cc742e28ba50f10272ac5f2d31cb4c503559fd55ae4323d9ecdcbab1571 SHA512 e17363609928d6654a9949f944dc8d1745336028019f65d7fd12190c8c88de65cc40dae272dab71626ab9fb69009ebc26f0ae2e569dd9d5e8fd84aa2de0370ac
-AUX mapnik-3.0.9-harbuzz_sharper-upstream.patch 746 BLAKE2B 73ad3bcb237e30447336657b541bd794e9e7786b23961d6a7ee94c1c5c7646e9337ea5a8002a68e15a9a9cae05a21f06e5517a07f4dbd65815a06f88c3a76d12 SHA512 08815cf001db531cec2660d53f8afdc83df0bb9e59cb792487a05fb5dff64aa66fa79e8283b7b2b8aca031e90205ab0dcd0097d8129953fed33432e93e34a2e2
-AUX mapnik-3.0.9-unicode-upstream.patch 264 BLAKE2B 9b2b8a062a861c58bfbe3681d7edc1d115ae85955dd1c1b73e37b9d1f1e690a97037144d957b318cc0921071525eaae4b3a94403842bdebf503d0f8bd195a3e6 SHA512 1f1f58477f5d54408320190b369a3039c70147f6d4c8498a318969661c258a6c7b5e2f26c111e8d543409512c7a98ddb31ece12ac75b5256a06105177e303c9d
-DIST mapnik-3.0.18.tar.bz2 10103474 BLAKE2B de914ffe31940b74114cdf07a9ff13f36c7210d27b84cecd16fda7c429f0c4be7ffb9e677cf1bc8d156298b5f10ed2a41adcbf4f7727bbf85d2f0099950f5c4f SHA512 7af04b9437c83cddedf2b43f7da0622e44178b4ecce80c0349bacf551bf747698d9ec9e4d6eee68c0265feeae5833281215a759de5a1394abbdfdd39eef39661
-DIST mapnik-3.0.9.tar.gz 13434729 BLAKE2B 49cf90089b34cfc706f85950d090609d5f9a5a6e9cfb56f6e1f1a6279f864b35f3f8d456caa2365787261affc4acb85ad93621d6471efed85f560c808dc0535a SHA512 ad45ecbb2661e860b7057e0a235542a390ae5790f401ef2c04f1517b6487e83cdb8e307072681847cb72a3abc242e0114bc15d48f504dec1f92df970dd1556e1
-EBUILD mapnik-3.0.18.ebuild 2808 BLAKE2B 5a466e43f7fa857efd616581e75ace5b667bd5cd7a17fdca76f6167a4e824fc3e7be0f70423f9e13c3643794aa9e658b48d6da29132b1814f6c5ecbd622324a8 SHA512 a0b08534ee7ec46a420a8573eb0f7fd2cce22cdaa91c46604354b1331a61d24b3a88bfca33d6ed377afda579d8991fd3786b839b4622f4e33e41651dadb96a73
-EBUILD mapnik-3.0.9-r1.ebuild 2577 BLAKE2B e3041bb3a183e05a1b76b51cd87293c2f47589ad4fd0cfc3f13a6590c0fb12bb8dd3fe0dc7fd5cac9fd9daf6a38756fe43ebe179c0d8d0b46f61b37903c709ac SHA512 5e01f9e9de2de21a5b7d31df3b70af7961b3548f486f910a731eafbe4ea1893be7c1448ecf57313c6384c19d7bebb82e7e1897c1a62d52d2161ce31b910f8774
-MISC metadata.xml 754 BLAKE2B f28f0847b5c78c667dc69f9d7e0ca75b196926ad8b6f98cbc1c529470943b0ecc64bd05fdc1ed3ef289dc60bf54d4f594800fcea44ef20d5e3dd5ba4ad1cfeb7 SHA512 84138433b879b8d48422f7f9d587966b69a28d89effac6cfbf7bd925010c3d118f4296c08de787dbf6649af549acf4fd671a4702acc9d203c3829caca30fc5d1
diff --git a/sci-geosciences/mapnik/files/mapnik-2.2.0-configure-only-once.patch b/sci-geosciences/mapnik/files/mapnik-2.2.0-configure-only-once.patch
deleted file mode 100644
index 89541cb85ed7..000000000000
--- a/sci-geosciences/mapnik/files/mapnik-2.2.0-configure-only-once.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/SConstruct
-+++ b/SConstruct
-@@ -503,16 +503,7 @@ for opt in pickle_store:
- #print 'missing opt', opt
- preconfigured = False
-
--# if custom arguments are supplied make sure to accept them
--if opts.args:
-- # since we have custom arguments update environment with all opts to
-- # make sure to absorb the custom ones
-- opts.Update(env)
-- # now since we've got custom arguments we'll disregard any
-- # pickled environment and force another configuration
-- preconfigured = False
--
--elif preconfigured:
-+if preconfigured:
- if not HELP_REQUESTED:
- color_print(4,'Using previous successful configuration...')
- color_print(4,'Re-configure by running "python scons/scons.py configure".')
diff --git a/sci-geosciences/mapnik/files/mapnik-2.2.0-dont-run-ldconfig.patch b/sci-geosciences/mapnik/files/mapnik-2.2.0-dont-run-ldconfig.patch
deleted file mode 100644
index c92c0e9a02a7..000000000000
--- a/sci-geosciences/mapnik/files/mapnik-2.2.0-dont-run-ldconfig.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/build.py
-+++ b/src/build.py
-@@ -38,7 +38,7 @@ def call(cmd, silent=True):
- print stderr
-
- def ldconfig(*args,**kwargs):
-- call('ldconfig')
-+ pass
-
- if env['LINKING'] == 'static':
- lib_env.Append(CXXFLAGS="-fPIC")
diff --git a/sci-geosciences/mapnik/files/mapnik-3.0.18-icu-61.patch b/sci-geosciences/mapnik/files/mapnik-3.0.18-icu-61.patch
deleted file mode 100644
index 1330fe6c0fb2..000000000000
--- a/sci-geosciences/mapnik/files/mapnik-3.0.18-icu-61.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 1ddfe6c315487a802f2ea38119255a203a25913c Mon Sep 17 00:00:00 2001
-From: Raul Marin <git@rmr.ninja>
-Date: Tue, 3 Apr 2018 13:18:03 +0200
-Subject: [PATCH] Qualify ICU types explicitly
-
-ICU 61 has dropped the global `using namespace icu;`
-http://site.icu-project.org/download/61#TOC-Migration-Issues
----
- include/mapnik/text/scrptrun.hpp | 2 +-
- src/text/text_layout.cpp | 4 +++-
- 2 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/include/mapnik/text/scrptrun.hpp b/include/mapnik/text/scrptrun.hpp
-index 2161c510d9..c219a2a0d3 100644
---- a/include/mapnik/text/scrptrun.hpp
-+++ b/include/mapnik/text/scrptrun.hpp
-@@ -37,7 +37,7 @@ struct ParenStackEntry
- UScriptCode scriptCode = USCRIPT_INVALID_CODE;
- };
-
--class ScriptRun : public UObject {
-+class ScriptRun : public icu::UObject {
- public:
- ScriptRun();
-
-diff --git a/src/text/text_layout.cpp b/src/text/text_layout.cpp
-index 663cbe11aa..ecf02ab8e3 100644
---- a/src/text/text_layout.cpp
-+++ b/src/text/text_layout.cpp
-@@ -207,6 +207,7 @@ void text_layout::layout()
- // At the end everything that is left over is added as the final line.
- void text_layout::break_line_icu(std::pair<unsigned, unsigned> && line_limits)
- {
-+ using BreakIterator = icu::BreakIterator;
- text_line line(line_limits.first, line_limits.second);
- shape_text(line);
-
-@@ -228,7 +229,7 @@ void text_layout::break_line_icu(std::pair<unsigned, unsigned> && line_limits)
- }
-
- mapnik::value_unicode_string const& text = itemizer_.text();
-- Locale locale; // TODO: Is the default constructor correct?
-+ icu::Locale locale; // TODO: Is the default constructor correct?
- UErrorCode status = U_ZERO_ERROR;
- std::unique_ptr<BreakIterator> breakitr(BreakIterator::createLineInstance(locale, status));
-
-@@ -336,6 +337,7 @@ inline int adjust_last_break_position (int pos, bool repeat_wrap_char)
-
- void text_layout::break_line(std::pair<unsigned, unsigned> && line_limits)
- {
-+ using BreakIterator = icu::BreakIterator;
- text_line line(line_limits.first, line_limits.second);
- shape_text(line);
- double scaled_wrap_width = wrap_width_ * scale_factor_;
diff --git a/sci-geosciences/mapnik/files/mapnik-3.0.18-scons.patch b/sci-geosciences/mapnik/files/mapnik-3.0.18-scons.patch
deleted file mode 100644
index 2414bf95fedd..000000000000
--- a/sci-geosciences/mapnik/files/mapnik-3.0.18-scons.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- a/SConstruct
-+++ b/SConstruct
-@@ -317,7 +317,7 @@
- ('LINK_PRIORITY','Priority list in which to sort library and include paths (default order is internal, other, frameworks, user, then system - see source of `sort_paths` function for more detail)',','.join(DEFAULT_LINK_PRIORITY)),
-
- # Install Variables
-- ('PREFIX', 'The install path "prefix"', '/usr/local'),
-+ ('PREFIX', 'The install path "prefix"', '/usr'),
- ('LIBDIR_SCHEMA', 'The library sub-directory appended to the "prefix", sometimes lib64 on 64bit linux systems', LIBDIR_SCHEMA_DEFAULT),
- ('DESTDIR', 'The root directory to install into. Useful mainly for binary package building', '/'),
- ('PATH', 'A custom path (or multiple paths divided by ":") to append to the $PATH env to prioritize usage of command line programs (if multiple are present on the system)', ''),
-@@ -1222,6 +1222,8 @@
-
- color_print(4,'Configuring build environment...')
-
-+ OPTIONAL_LIBSHEADERS = []
-+
- if not env['FAST']:
- SetCacheMode('force')
-
-@@ -1410,7 +1412,8 @@
- # https://github.com/mapnik/mapnik/issues/913
- if env.get('XMLPARSER') and env['XMLPARSER'] == 'libxml2':
- if env.get('XML2_LIBS') or env.get('XML2_INCLUDES'):
-- OPTIONAL_LIBSHEADERS.insert(0,['libxml2','libxml/parser.h',True,'C'])
-+ # code doesn't actually use HAVE_XMML2 but set just to have a fifth value
-+ OPTIONAL_LIBSHEADERS.append(['libxml2','libxml/parser.h',True,'C','-DHAVE_XML2'])
- if env.get('XML2_INCLUDES'):
- inc_path = env['XML2_INCLUDES']
- env.AppendUnique(CPPPATH = fix_path(inc_path))
-@@ -1428,8 +1431,6 @@
- else:
- env['SKIPPED_DEPS'].extend(['dlfcn'])
-
-- OPTIONAL_LIBSHEADERS = []
--
- if env['JPEG']:
- OPTIONAL_LIBSHEADERS.append(['jpeg', ['stdio.h', 'jpeglib.h'], False,'C','-DHAVE_JPEG'])
- inc_path = env['%s_INCLUDES' % 'JPEG']
diff --git a/sci-geosciences/mapnik/files/mapnik-3.0.9-harbuzz_sharper-upstream.patch b/sci-geosciences/mapnik/files/mapnik-3.0.9-harbuzz_sharper-upstream.patch
deleted file mode 100644
index cb81f526568c..000000000000
--- a/sci-geosciences/mapnik/files/mapnik-3.0.9-harbuzz_sharper-upstream.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- a/include/mapnik/text/harfbuzz_shaper.hpp 2017-10-31 17:45:30.737250086 +0100
-+++ b/include/mapnik/text/harfbuzz_shaper.hpp 2017-10-31 17:46:56.002247847 +0100
-@@ -39,10 +39,11 @@
- // harfbuzz
- #include <harfbuzz/hb.h>
- #include <harfbuzz/hb-ft.h>
--
-+#include <unicode/uvernum.h>
- // icu
- #include <unicode/uscript.h>
-
-+
- namespace mapnik
- {
-
-@@ -55,7 +56,8 @@
- static inline const uint16_t * uchar_to_utf16(const UChar* src)
- {
- static_assert(sizeof(UChar) == sizeof(uint16_t),"UChar is eq size to uint16_t");
--#if defined(_MSC_VER)
-+#if defined(_MSC_VER) || (U_ICU_VERSION_MAJOR_NUM >= 59)
-+ // ^^ http://site.icu-project.org/download/59#TOC-ICU4C-char16_t1
- return reinterpret_cast<const uint16_t *>(src);
- #else
- return src;
diff --git a/sci-geosciences/mapnik/files/mapnik-3.0.9-unicode-upstream.patch b/sci-geosciences/mapnik/files/mapnik-3.0.9-unicode-upstream.patch
deleted file mode 100644
index 0233eb4e3fdd..000000000000
--- a/sci-geosciences/mapnik/files/mapnik-3.0.9-unicode-upstream.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/include/mapnik/unicode.hpp 2017-10-31 17:53:23.507237672 +0100
-+++ b/include/mapnik/unicode.hpp 2017-10-31 17:53:47.096237053 +0100
-@@ -31,6 +31,8 @@
- // std
- #include <cstdint>
- #include <string>
-+// icu
-+#include <unicode/unistr.h>
-
- struct UConverter;
-
diff --git a/sci-geosciences/mapnik/mapnik-3.0.18.ebuild b/sci-geosciences/mapnik/mapnik-3.0.18.ebuild
deleted file mode 100644
index 91778820d459..000000000000
--- a/sci-geosciences/mapnik/mapnik-3.0.18.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils scons-utils toolchain-funcs
-
-DESCRIPTION="A Free Toolkit for developing mapping applications"
-HOMEPAGE="http://www.mapnik.org/"
-SRC_URI="https://github.com/mapnik/mapnik/releases/download/v${PV}/mapnik-v${PV}.tar.bz2 -> ${P}.tar.bz2"
-S="${WORKDIR}/mapnik-v${PV}"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cairo debug doc gdal osmfonts postgres sqlite"
-
-RDEPEND="
- >=dev-libs/boost-1.48:=[threads]
- dev-libs/icu:=
- sys-libs/zlib
- media-libs/freetype
- media-libs/harfbuzz
- dev-libs/libxml2
- media-libs/libpng:0=
- media-libs/tiff:0=
- virtual/jpeg:0=
- media-libs/libwebp:=
- sci-libs/proj
- media-fonts/dejavu
- x11-libs/agg[truetype]
- cairo? (
- x11-libs/cairo
- dev-cpp/cairomm
- )
- osmfonts? (
- media-fonts/dejavu
- media-fonts/noto
- media-fonts/noto-cjk
- media-fonts/unifont
- )
- postgres? ( >=dev-db/postgresql-8.3:* )
- gdal? ( sci-libs/gdal )
- sqlite? ( dev-db/sqlite:3 )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.2.0-configure-only-once.patch"
- "${FILESDIR}/${PN}-2.2.0-dont-run-ldconfig.patch"
- "${FILESDIR}/${PN}-3.0.18-scons.patch"
- "${FILESDIR}/${PN}-3.0.18-icu-61.patch"
-)
-
-src_prepare() {
- default
-
- # do not version epidoc data
- sed -i \
- -e 's:-`mapnik-config --version`::g' \
- utils/epydoc_config/build_epydoc.sh || die
-
- # force user flags, optimization level
- sed -i -e "s:\-O%s:%s:" \
- -i -e "s:env\['OPTIMIZATION'\]:'${CXXFLAGS}':" \
- SConstruct || die
-}
-
-src_configure() {
-# local PYTHONCMD="$(which python2.7)"
- local PLUGINS=shape,csv,raster,geojson
- use gdal && PLUGINS+=,gdal,ogr
- use postgres && PLUGINS+=,postgis
- use sqlite && PLUGINS+=,sqlite
-
- MYSCONS=(
- "CC=$(tc-getCC)"
- "CXX=$(tc-getCXX)"
- "INPUT_PLUGINS=${PLUGINS}"
- "PREFIX=/usr"
- "DESTDIR=${D}"
- "XMLPARSER=libxml2"
- "LINKING=shared"
- "RUNTIME_LINK=shared"
- "PROJ_INCLUDES=/usr/include"
- "PROJ_LIBS=/usr/$(get_libdir)"
- "LIBDIR_SCHEMA=$(get_libdir)"
- "FREETYPE_INCLUDES=/usr/include/freetype2"
- "FREETYPE_LIBS=/usr/$(get_libdir)"
- "XML2_INCLUDES=/usr/include/libxml2"
- "XML2_LIBS=/usr/$(get_libdir)"
- "SYSTEM_FONTS=/usr/share/fonts"
- CAIRO="$(usex cairo 1 0)"
- DEBUG="$(usex debug 1 0)"
- XML_DEBUG="$(usex debug 1 0)"
- DEMO="$(usex doc 1 0)"
- SAMPLE_INPUT_PLUGINS="$(usex doc 1 0)"
- "CUSTOM_LDFLAGS=${LDFLAGS}"
- "CUSTOM_LDFLAGS+=-L${ED}/usr/$(get_libdir)"
- )
- escons "${MYSCONS[@]}" configure
-}
-
-src_compile() {
- escons "${MYSCONS[@]}"
-}
-
-src_install() {
- escons "${MYSCONS[@]}" DESTDIR="${D}" install
-
- dodoc AUTHORS.md README.md CHANGELOG.md
-}
-
-pkg_postinst() {
- elog ""
- elog "See the home page or wiki (https://github.com/mapnik/mapnik/wiki) for more info"
- elog "or the installed examples for the default mapnik ogcserver config."
- elog ""
-}
diff --git a/sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild b/sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild
deleted file mode 100644
index 2e1d27bf19dd..000000000000
--- a/sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils scons-utils toolchain-funcs
-
-DESCRIPTION="A Free Toolkit for developing mapping applications"
-HOMEPAGE="http://www.mapnik.org/"
-SRC_URI="https://github.com/mapnik/mapnik/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cairo debug doc gdal postgres sqlite"
-
-RDEPEND="
- >=dev-libs/boost-1.48:=[threads]
- dev-libs/icu:=
- sys-libs/zlib
- media-libs/freetype
- media-libs/harfbuzz
- dev-libs/libxml2
- media-libs/libpng:0=
- media-libs/tiff:0=
- virtual/jpeg:0=
- media-libs/libwebp:=
- sci-libs/proj
- media-fonts/dejavu
- x11-libs/agg[truetype]
- cairo? (
- x11-libs/cairo
- dev-cpp/cairomm
- )
- postgres? ( >=dev-db/postgresql-8.3:* )
- gdal? ( sci-libs/gdal )
- sqlite? ( dev-db/sqlite:3 )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.2.0-configure-only-once.patch"
- "${FILESDIR}/${PN}-2.2.0-dont-run-ldconfig.patch"
- "${FILESDIR}/${P}-harbuzz_sharper-upstream.patch" # upstream patches ported from
- "${FILESDIR}/${P}-unicode-upstream.patch" # https://github.com/mapnik/mapnik/commit/9e58c890430db6f0b6f1f7a1690877c9d913d92a
-)
-
-src_prepare() {
- default
-
- # do not version epidoc data
- sed -i \
- -e 's:-`mapnik-config --version`::g' \
- utils/epydoc_config/build_epydoc.sh || die
-
- # force user flags, optimization level
- sed -i -e "s:\-O%s:%s:" \
- -i -e "s:env\['OPTIMIZATION'\]:'${CXXFLAGS}':" \
- SConstruct || die
-}
-
-src_configure() {
- local PLUGINS=shape,csv,raster,geojson
- use gdal && PLUGINS+=,gdal,ogr
- use postgres && PLUGINS+=,postgis
- use sqlite && PLUGINS+=,sqlite
-
- MYSCONS=(
- "CC=$(tc-getCC)"
- "CXX=$(tc-getCXX)"
- "INPUT_PLUGINS=${PLUGINS}"
- "PREFIX=/usr"
- "DESTDIR=${D}"
- "XMLPARSER=libxml2"
- "LINKING=shared"
- "RUNTIME_LINK=shared"
- "PROJ_INCLUDES=/usr/include"
- "PROJ_LIBS=/usr/$(get_libdir)"
- "LIBDIR_SCHEMA=$(get_libdir)"
- "SYSTEM_FONTS=/usr/share/fonts"
- CAIRO="$(usex cairo 1 0)"
- DEBUG="$(usex debug 1 0)"
- XML_DEBUG="$(usex debug 1 0)"
- DEMO="$(usex doc 1 0)"
- SAMPLE_INPUT_PLUGINS="$(usex doc 1 0)"
- "CUSTOM_LDFLAGS=${LDFLAGS}"
- "CUSTOM_LDFLAGS+=-L${ED}/usr/$(get_libdir)"
- )
- escons "${MYSCONS[@]}" configure
-}
-
-src_compile() {
- escons "${MYSCONS[@]}"
-}
-
-src_install() {
- escons "${MYSCONS[@]}" DESTDIR="${D}" install
-
- dodoc AUTHORS.md README.md CHANGELOG.md
-}
-
-pkg_postinst() {
- elog ""
- elog "See the home page or wiki (https://github.com/mapnik/mapnik/wiki) for more info"
- elog "or the installed examples for the default mapnik ogcserver config."
- elog ""
-}
diff --git a/sci-geosciences/mapnik/metadata.xml b/sci-geosciences/mapnik/metadata.xml
deleted file mode 100644
index 7f8d2fd981b3..000000000000
--- a/sci-geosciences/mapnik/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-geosciences@gentoo.org</email>
- <name>Gentoo Geosciences Project</name>
- </maintainer>
- <longdescription>Mapnik is a toolkit for developing both web and desktop
- mapping applications. The core libraries are written in C++, with
- optional Python bindings.
- </longdescription>
- <use>
- <flag name="gdal">Enable <pkg>sci-libs/gdal</pkg> library support</flag>
- <flag name="osmfonts">Enable openstreetmaps font styles</flag>
- </use>
- <upstream>
- <remote-id type="github">downloads/mapnik</remote-id>
- </upstream>
-</pkgmetadata>