From 7a15728e18d4ea00dba81899d45cc4e470e44891 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 7 May 2020 21:38:05 +0200 Subject: [PATCH 1/2] matio: add to common/shlibs --- common/shlibs | 1 + 1 file changed, 1 insertion(+) diff --git a/common/shlibs b/common/shlibs index 4bdc03e8b23..ea935040eae 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3875,3 +3875,4 @@ libhidrd_opt.so.0 hidrd-0.2.0_1 libhidrd_strm.so.0 hidrd-0.2.0_1 libhidrd_fmt.so.0 hidrd-0.2.0_1 libjcat.so.1 libjcat-0.1.2_1 +libmatio.so.9 matio-1.5.17_2 From 2655165ccab74694ee4c6a48f205319f4dc05cf2 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 7 May 2020 21:40:36 +0200 Subject: [PATCH 2/2] New package: libvips-8.9.2 --- common/shlibs | 2 ++ srcpkgs/libvips-devel | 1 + srcpkgs/libvips-doc | 1 + srcpkgs/libvips-tools | 1 + srcpkgs/libvips/template | 64 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 69 insertions(+) create mode 120000 srcpkgs/libvips-devel create mode 120000 srcpkgs/libvips-doc create mode 120000 srcpkgs/libvips-tools create mode 100644 srcpkgs/libvips/template diff --git a/common/shlibs b/common/shlibs index ea935040eae..58f456cca54 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3876,3 +3876,5 @@ libhidrd_strm.so.0 hidrd-0.2.0_1 libhidrd_fmt.so.0 hidrd-0.2.0_1 libjcat.so.1 libjcat-0.1.2_1 libmatio.so.9 matio-1.5.17_2 +libvips.so.42 libvips-8.9.2_1 +libvips-cpp.so.42 libvips-8.9.2_1 diff --git a/srcpkgs/libvips-devel b/srcpkgs/libvips-devel new file mode 120000 index 00000000000..73561db1f19 --- /dev/null +++ b/srcpkgs/libvips-devel @@ -0,0 +1 @@ +libvips \ No newline at end of file diff --git a/srcpkgs/libvips-doc b/srcpkgs/libvips-doc new file mode 120000 index 00000000000..73561db1f19 --- /dev/null +++ b/srcpkgs/libvips-doc @@ -0,0 +1 @@ +libvips \ No newline at end of file diff --git a/srcpkgs/libvips-tools b/srcpkgs/libvips-tools new file mode 120000 index 00000000000..73561db1f19 --- /dev/null +++ b/srcpkgs/libvips-tools @@ -0,0 +1 @@ +libvips \ No newline at end of file diff --git a/srcpkgs/libvips/template b/srcpkgs/libvips/template new file mode 100644 index 00000000000..a1ecf26c9f1 --- /dev/null +++ b/srcpkgs/libvips/template @@ -0,0 +1,64 @@ +# Template file for 'libvips' +pkgname=libvips +version=8.9.2 +revision=1 +archs="x86_64" +wrksrc=vips-${version} +build_style=gnu-configure +hostmakedepends="pkgconf" +makedepends=" +cfitsio-devel +expat-devel +fftw-devel +giflib-devel +glib-devel +hdf5-devel +lcms2-devel +libexif-devel +libgsf-devel +libheif-devel +libimagequant-devel +libjpeg-turbo-devel +libopenexr-devel +libpng-devel +librsvg-devel +libwebp-devel +matio-devel +orc-devel +poppler-glib-devel +tiff-devel +" +short_desc="Fast image processing library with low memory needs" +maintainer="Isaac Freund " +license="LGPL-2.1-or-later" +homepage="https://libvips.github.io/libvips/" +distfiles="https://github.com/libvips/libvips/releases/download/v${version}/vips-${version}.tar.gz" +checksum=ae8491b1156cd2eb9cbbaa2fd6caa1dc9ed3ded0b70443d28cd7fea798ab2a27 +python_version=3 + +libvips-devel_package() { + depends="${makedepends} ${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} + +libvips-doc_package() { + archs=noarch + short_desc+=" - documentation" + pkg_install() { + vmove usr/share/gtk-doc + } +} + +libvips-tools_package() { + short_desc+=" - bundled tools" + pkg_install() { + vmove usr/bin + vmove usr/share/man + } +}