From 8245443c70618df7230237537377bd6eea6d6a88 Mon Sep 17 00:00:00 2001 From: tibequadorian Date: Fri, 25 Nov 2022 10:50:17 +0100 Subject: [PATCH 1/2] New package: Imath-3.1.6 --- common/shlibs | 1 + srcpkgs/Imath-devel | 1 + srcpkgs/Imath/template | 31 +++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 120000 srcpkgs/Imath-devel create mode 100644 srcpkgs/Imath/template diff --git a/common/shlibs b/common/shlibs index 61f21bc3b94e..63698adcbe0f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1699,6 +1699,7 @@ libIex-2_4.so.24 ilmbase-2.4.0_1 libIexMath-2_4.so.24 ilmbase-2.4.0_1 libImath-2_4.so.24 ilmbase-2.4.0_1 libIlmThread-2_4.so.24 ilmbase-2.4.0_1 +libImath-3_1.so.29 Imath-3.1.6_1 libIlmImf-2_4.so.24 libopenexr-2.4.0_1 libIlmImfUtil-2_4.so.24 libopenexr-2.4.0_1 libGraphicsMagick.so.3 libgraphicsmagick-1.3.19_1 diff --git a/srcpkgs/Imath-devel b/srcpkgs/Imath-devel new file mode 120000 index 000000000000..5f0c79e78775 --- /dev/null +++ b/srcpkgs/Imath-devel @@ -0,0 +1 @@ +Imath \ No newline at end of file diff --git a/srcpkgs/Imath/template b/srcpkgs/Imath/template new file mode 100644 index 000000000000..ab5968b3817f --- /dev/null +++ b/srcpkgs/Imath/template @@ -0,0 +1,31 @@ +# Template file for 'Imath' +pkgname=Imath +version=3.1.6 +revision=1 +build_style=cmake +short_desc="Library of vector, matrix, and math operations for computer graphics" +maintainer="tibequadorian " +license="BSD-3-Clause" +homepage="https://github.com/AcademySoftwareFoundation/Imath" +distfiles="https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v${version}.tar.gz" +checksum=ea5592230f5ab917bea3ceab266cf38eb4aa4a523078d46eac0f5a89c52304db + +if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then + # https://github.com/AcademySoftwareFoundation/Imath/issues/151 + make_check=no +fi + +post_install() { + vlicense LICENSE.md +} + +Imath-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +} From 8b73084574b16adea68fc5b140882c50ba4d2852 Mon Sep 17 00:00:00 2001 From: tibequadorian Date: Fri, 25 Nov 2022 11:03:46 +0100 Subject: [PATCH 2/2] New package: openexr3-3.1.5 --- common/shlibs | 5 +++++ srcpkgs/openexr3-devel | 1 + srcpkgs/openexr3-tools | 1 + srcpkgs/openexr3/template | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 120000 srcpkgs/openexr3-devel create mode 120000 srcpkgs/openexr3-tools create mode 100644 srcpkgs/openexr3/template diff --git a/common/shlibs b/common/shlibs index 63698adcbe0f..b031846870a4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1702,6 +1702,11 @@ libIlmThread-2_4.so.24 ilmbase-2.4.0_1 libImath-3_1.so.29 Imath-3.1.6_1 libIlmImf-2_4.so.24 libopenexr-2.4.0_1 libIlmImfUtil-2_4.so.24 libopenexr-2.4.0_1 +libOpenEXRUtil-3_1.so.30 libopenexr3-3.1.5_1 +libOpenEXRCore-3_1.so.30 libopenexr3-3.1.5_1 +libOpenEXR-3_1.so.30 libopenexr3-3.1.5_1 +libIlmThread-3_1.so.30 libopenexr3-3.1.5_1 +libIex-3_1.so.30 libopenexr3-3.1.5_1 libGraphicsMagick.so.3 libgraphicsmagick-1.3.19_1 libGraphicsMagick++.so.12 libgraphicsmagick-1.3.22_1 libGraphicsMagickWand.so.2 libgraphicsmagick-1.3.19_1 diff --git a/srcpkgs/openexr3-devel b/srcpkgs/openexr3-devel new file mode 120000 index 000000000000..eb731147eee8 --- /dev/null +++ b/srcpkgs/openexr3-devel @@ -0,0 +1 @@ +openexr3 \ No newline at end of file diff --git a/srcpkgs/openexr3-tools b/srcpkgs/openexr3-tools new file mode 120000 index 000000000000..eb731147eee8 --- /dev/null +++ b/srcpkgs/openexr3-tools @@ -0,0 +1 @@ +openexr3 \ No newline at end of file diff --git a/srcpkgs/openexr3/template b/srcpkgs/openexr3/template new file mode 100644 index 000000000000..61c70fc97080 --- /dev/null +++ b/srcpkgs/openexr3/template @@ -0,0 +1,36 @@ +# Template file for 'openexr3' +pkgname=openexr3 +version=3.1.5 +revision=1 +build_style=cmake +makedepends="zlib-devel Imath-devel" +short_desc="Reference implementation of the EXR file format" +maintainer="tibequadorian " +license="BSD-3-Clause" +homepage="https://github.com/AcademySoftwareFoundation/openexr" +distfiles="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${version}.tar.gz" +checksum=93925805c1fc4f8162b35f0ae109c4a75344e6decae5a240afdfce25f8a433ec + +post_install() { + vlicense LICENSE.md +} + +openexr3-tools_package() { + short_desc+=" - tools" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/bin + } +} + +openexr3-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision} $makedepends" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove usr/share/doc + } +}