diff --git a/common/shlibs b/common/shlibs index 05810966465882..287efa04835568 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4125,6 +4125,8 @@ librttopo.so.1 librttopo-1.1.0_1 libspatialite.so.7 libspatialite-5.0.1_1 mod_spatialite.so.7 libspatialite-5.0.1_1 libSvtAv1Enc.so.1 libsvt-av1-1.0.0_1 +libreadosm.so.1 readosm-1.1.0a_1 +libSvtAv1Enc.so.0 libsvt-av1-0.9.0_1 libSvtAv1Dec.so.0 libsvt-av1-0.9.0_1 librz_bp.so.0.3.4 rizin-0.3.4_1 librz_reg.so.0.3.4 rizin-0.3.4_1 diff --git a/srcpkgs/readosm-devel b/srcpkgs/readosm-devel new file mode 120000 index 00000000000000..d00e67c9449d68 --- /dev/null +++ b/srcpkgs/readosm-devel @@ -0,0 +1 @@ +readosm \ No newline at end of file diff --git a/srcpkgs/readosm/template b/srcpkgs/readosm/template new file mode 100644 index 00000000000000..e28e6f5d3d3259 --- /dev/null +++ b/srcpkgs/readosm/template @@ -0,0 +1,24 @@ +# Template file for 'readosm' +pkgname=readosm +version=1.1.0a +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="zlib-devel expat-devel" +short_desc="ReadOSM library for extracting valid data from OpenStreetMap input" +maintainer="Arjan Mossel " +license="MPL-1.1, GPL-2.0-or-later, LGPL-2.1-or-later" +homepage="https://www.gaia-gis.it/fossil/readosm/index" +distfiles="https://www.gaia-gis.it/gaia-sins/readosm-$version.tar.gz" +checksum=db7c051d256cec7ecd4c3775ab9bc820da5a4bf72ffd4e9f40b911d79770f145 + +readosm-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + } +} diff --git a/srcpkgs/spatialite-tools/patches/spatialite-tools_lxml2.patch b/srcpkgs/spatialite-tools/patches/spatialite-tools_lxml2.patch new file mode 100644 index 00000000000000..b57913813b3302 --- /dev/null +++ b/srcpkgs/spatialite-tools/patches/spatialite-tools_lxml2.patch @@ -0,0 +1,22 @@ +https://src.fedoraproject.org/rpms/spatialite-tools/blob/rawhide/f/spatialite-tools_lxml2.patch + +--- a/Makefile.am 2021-02-07 17:34:04.000000000 +0100 ++++ b/Makefile.am 2021-12-14 15:45:19.962324159 +0100 +@@ -49,6 +49,7 @@ shp_doctor_SOURCES = shp_doctor.c + shp_sanitize_SOURCES = shp_sanitize.c + exif_loader_SOURCES = exif_loader.c + spatialite_xml_validator_SOURCES = spatialite_xml_validator.c ++spatialite_xml_validator_LIBADD = @LIBXML2_LIBS@ + spatialite_xml_load_SOURCES = spatialite_xml_load.c + spatialite_xml2utf8_SOURCES = spatialite_xml2utf8.c + spatialite_xml_collapse_SOURCES = spatialite_xml_collapse.c +--- a/Makefile.in 2021-02-07 17:34:04.000000000 +0100 ++++ b/Makefile.in 2021-12-14 15:45:42.976287325 +0100 +@@ -492,6 +492,7 @@ shp_doctor_SOURCES = shp_doctor.c + shp_sanitize_SOURCES = shp_sanitize.c + exif_loader_SOURCES = exif_loader.c + spatialite_xml_validator_SOURCES = spatialite_xml_validator.c ++spatialite_xml_validator_LDADD = @LIBXML2_LIBS@ + spatialite_xml_load_SOURCES = spatialite_xml_load.c + spatialite_xml2utf8_SOURCES = spatialite_xml2utf8.c + spatialite_xml_collapse_SOURCES = spatialite_xml_collapse.c diff --git a/srcpkgs/spatialite-tools/template b/srcpkgs/spatialite-tools/template new file mode 100644 index 00000000000000..0a98c151df3680 --- /dev/null +++ b/srcpkgs/spatialite-tools/template @@ -0,0 +1,16 @@ +# Template file for 'spatialite-tools' +pkgname=spatialite-tools +version=5.0.0 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config geos-devel libspatialite-devel" +makedepends="sqlite-devel zlib-devel proj-devel freexl-devel + geos-devel librttopo-devel libxml2-devel minizip-devel + libspatialite-devel expat-devel readline-devel readosm-devel" +depends="libspatialite" +short_desc="CLI tools supporting SpatiaLite" +maintainer="Arjan Mossel " +license="GPL-3.0-or-later" +homepage="https://www.gaia-gis.it/fossil/spatialite-tools/index" +distfiles="https://www.gaia-gis.it/gaia-sins/spatialite-tools-$version.tar.gz" +checksum=ad092d90ccb2c480f372d1e24b1e6ad9aa8a4bb750e094efdcc6c37edb6b6d32