From fa7ca28fc91bf9f7dab4495901afd3ed36d80892 Mon Sep 17 00:00:00 2001 From: Vassilios Grigoriadis Date: Thu, 22 Apr 2021 00:07:27 +0300 Subject: [PATCH 1/3] New package: dcw-gmt-2.0.0 --- srcpkgs/dcw-gmt/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/dcw-gmt/template diff --git a/srcpkgs/dcw-gmt/template b/srcpkgs/dcw-gmt/template new file mode 100644 index 000000000000..58a8271006ab --- /dev/null +++ b/srcpkgs/dcw-gmt/template @@ -0,0 +1,22 @@ +# Template file for 'dcw-gmt' +pkgname=dcw-gmt +version=2.0.0 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="DCW-GMT: The Digital Chart of the World for GMT" +maintainer="Vassilios Grigoriadis " +license="LGPL-3.0-or-later" +homepage="https://github.com/GenericMappingTools/dcw-gmt" +distfiles="https://github.com/GenericMappingTools/dcw-gmt/releases/download/${version}/dcw-gmt-${version}.tar.gz" +checksum=d71d209c837a805fed0773c03fadbb26e8c90eb6b68e496ac4a1298c3246cc7a + +do_install() { + tar -xf "dcw-gmt-${version}.tar.gz" + rm "dcw-gmt-${version}.tar.gz" + vmkdir usr/share/dcw-gmt + vcopy "dcw-gmt-${version}/*.nc" usr/share/dcw-gmt + vcopy "dcw-gmt-${version}/*.txt" usr/share/dcw-gmt + vcopy "dcw-gmt-${version}/README.md" usr/share/dcw-gmt + vcopy "dcw-gmt-${version}/ChangeLog" usr/share/dcw-gmt +} From b5030af5de1686e8e6bb23aae192f1c132fc4a8a Mon Sep 17 00:00:00 2001 From: Vassilios Grigoriadis Date: Thu, 22 Apr 2021 00:08:37 +0300 Subject: [PATCH 2/3] New package: gshhg-gmt-2.3.7 --- srcpkgs/gshhg-gmt/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/gshhg-gmt/template diff --git a/srcpkgs/gshhg-gmt/template b/srcpkgs/gshhg-gmt/template new file mode 100644 index 000000000000..c4619c3f12f8 --- /dev/null +++ b/srcpkgs/gshhg-gmt/template @@ -0,0 +1,20 @@ +# Template file for 'gshhg-gmt' +pkgname=gshhg-gmt +version=2.3.7 +revision=1 +build_style=fetch +hostmakedepends="tar" +short_desc="Global Self-consistent Hierarchical High-resolution Geography for GMT" +maintainer="Vassilios Grigoriadis " +license="LGPL-3.0-or-later" +homepage="https://github.com/GenericMappingTools/gshhg-gmt" +distfiles="https://github.com/GenericMappingTools/gshhg-gmt/releases/download/${version}/gshhg-gmt-$version.tar.gz" +checksum=9bb1a956fca0718c083bef842e625797535a00ce81f175df08b042c2a92cfe7f + +do_install() { + tar -xf "gshhg-gmt-${version}.tar.gz" + rm "gshhg-gmt-${version}.tar.gz" + vmkdir usr/share/gshhg-gmt + vcopy "gshhg-gmt-${version}/*.nc" usr/share/gshhg-gmt + vcopy "gshhg-gmt-${version}/README.TXT" usr/share/gshhg-gmt +} From 473eaa8d9a1b6396ac5928f82c2b1fcff305df9e Mon Sep 17 00:00:00 2001 From: Vassilios Grigoriadis Date: Thu, 22 Apr 2021 00:10:28 +0300 Subject: [PATCH 3/3] New package: gmt-6.1.1 --- common/shlibs | 2 ++ srcpkgs/gmt-devel | 1 + srcpkgs/gmt/template | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 120000 srcpkgs/gmt-devel create mode 100644 srcpkgs/gmt/template diff --git a/common/shlibs b/common/shlibs index 966f665424f3..59aa1e431d62 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3978,3 +3978,5 @@ libldacBT_enc.so.2 ldacBT-2.0.2.3_1 libgumbo.so.1 gumbo-parser-0.10.1_2 libmariadb.so.3 libmariadbclient-10.5.9_1 libmariadbd.so.19 libmariadbclient-10.5.9_1 +libpostscriptlight.so.6 gmt-6.1.1_1 +libgmt.so.6 gmt-6.1.1_1 diff --git a/srcpkgs/gmt-devel b/srcpkgs/gmt-devel new file mode 120000 index 000000000000..08f7b8d70c77 --- /dev/null +++ b/srcpkgs/gmt-devel @@ -0,0 +1 @@ +gmt \ No newline at end of file diff --git a/srcpkgs/gmt/template b/srcpkgs/gmt/template new file mode 100644 index 000000000000..687b4d78945a --- /dev/null +++ b/srcpkgs/gmt/template @@ -0,0 +1,32 @@ +# Template file for 'gmt' +pkgname=gmt +version=6.1.1 +revision=1 +build_style=cmake +# Enforcing LGPL conformance during build time to avoid +# building components that have a proprietary non-permissive license. +configure_args="-DGSHHG_ROOT=usr/share/gshhg-gmt + -DDCW_ROOT=usr/share/dcw-gmt + -DGMT_DATADIR=usr/share/gmt + -DGMT_DOCDIR=usr/share/doc/gmt + -DLICENSE_RESTRICTED=LGPL" +makedepends="git ghostscript-devel netcdf-devel libcurl-devel + libgdal-devel pcre2-devel fftw-devel lapack-devel + blas-devel dcw-gmt gshhg-gmt" +depends="ghostscript netcdf libcurl libgdal dcw-gmt gshhg-gmt pcre2 + libfftw lapack blas" +short_desc="Generic Mapping Tools" +maintainer="Vassilios Grigoriadis " +license="LGPL-3.0-or-later" +homepage="https://www.generic-mapping-tools.org/" +distfiles=https://github.com/GenericMappingTools/gmt/releases/download/${version}/gmt-${version}-src.tar.gz +checksum="9706ffa858a98bb1b97162e3887aa03c6c746017a274951e94a6341a59efad12" +nocross=yes + +gmt-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + } +}