commit:     dbd8c1a98b8e4a217a90a4390fe67bd2d1953f3b
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 22 11:16:42 2022 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 11:50:05 2022 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=dbd8c1a9

dev-qt/qtimageformats: add versions 6.*

Bug: https://bugs.gentoo.org/872026
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 dev-qt/qtimageformats/Manifest                     |  1 +
 dev-qt/qtimageformats/qtimageformats-6.3.2.ebuild  | 35 ++++++++++++++++++++++
 .../qtimageformats/qtimageformats-6.3.9999.ebuild  | 35 ++++++++++++++++++++++
 .../qtimageformats/qtimageformats-6.4.9999.ebuild  | 35 ++++++++++++++++++++++
 dev-qt/qtimageformats/qtimageformats-6.9999.ebuild | 35 ++++++++++++++++++++++
 5 files changed, 141 insertions(+)

diff --git a/dev-qt/qtimageformats/Manifest b/dev-qt/qtimageformats/Manifest
new file mode 100644
index 00000000..0f2cbfa7
--- /dev/null
+++ b/dev-qt/qtimageformats/Manifest
@@ -0,0 +1 @@
+DIST qtimageformats-everywhere-src-6.3.2.tar.xz 1859996 BLAKE2B 
e6254fc0e60b445aaa89f25a12c0060e807ba2c825a384a79a7deb56cb46415b82a973c520e866c53db19263ac23039aa36e8c7ffd46390d7a64b7e44b85e67e
 SHA512 
5964c1f0e5fc4032495641268881f2288f90f361cb5a7e4953e05005ea907033ef634192ef26e1b0343e09c1a0306f83bef88ad4a5dba4665387001290dccc77

diff --git a/dev-qt/qtimageformats/qtimageformats-6.3.2.ebuild 
b/dev-qt/qtimageformats/qtimageformats-6.3.2.ebuild
new file mode 100644
index 00000000..f1a8354e
--- /dev/null
+++ b/dev-qt/qtimageformats/qtimageformats-6.3.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Additional format plugins for the Qt image I/O system"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+       KEYWORDS="~amd64"
+fi
+
+IUSE="mng"
+
+DEPEND="
+       =dev-qt/qtbase-${PV}*[gui]
+       media-libs/libwebp:=
+       media-libs/tiff
+       mng? ( media-libs/libmng:= )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DQT_FEATURE_jasper=OFF
+               $(qt_feature mng)
+               -DQT_FEATURE_tiff=ON
+               -DQT_FEATURE_webp=ON
+               -DQT_FEATURE_system-tiff=ON
+               -DQT_FEATURE_system-webp=ON
+       )
+
+       qt6-build_src_configure
+}

diff --git a/dev-qt/qtimageformats/qtimageformats-6.3.9999.ebuild 
b/dev-qt/qtimageformats/qtimageformats-6.3.9999.ebuild
new file mode 100644
index 00000000..f1a8354e
--- /dev/null
+++ b/dev-qt/qtimageformats/qtimageformats-6.3.9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Additional format plugins for the Qt image I/O system"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+       KEYWORDS="~amd64"
+fi
+
+IUSE="mng"
+
+DEPEND="
+       =dev-qt/qtbase-${PV}*[gui]
+       media-libs/libwebp:=
+       media-libs/tiff
+       mng? ( media-libs/libmng:= )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DQT_FEATURE_jasper=OFF
+               $(qt_feature mng)
+               -DQT_FEATURE_tiff=ON
+               -DQT_FEATURE_webp=ON
+               -DQT_FEATURE_system-tiff=ON
+               -DQT_FEATURE_system-webp=ON
+       )
+
+       qt6-build_src_configure
+}

diff --git a/dev-qt/qtimageformats/qtimageformats-6.4.9999.ebuild 
b/dev-qt/qtimageformats/qtimageformats-6.4.9999.ebuild
new file mode 100644
index 00000000..f1a8354e
--- /dev/null
+++ b/dev-qt/qtimageformats/qtimageformats-6.4.9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Additional format plugins for the Qt image I/O system"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+       KEYWORDS="~amd64"
+fi
+
+IUSE="mng"
+
+DEPEND="
+       =dev-qt/qtbase-${PV}*[gui]
+       media-libs/libwebp:=
+       media-libs/tiff
+       mng? ( media-libs/libmng:= )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DQT_FEATURE_jasper=OFF
+               $(qt_feature mng)
+               -DQT_FEATURE_tiff=ON
+               -DQT_FEATURE_webp=ON
+               -DQT_FEATURE_system-tiff=ON
+               -DQT_FEATURE_system-webp=ON
+       )
+
+       qt6-build_src_configure
+}

diff --git a/dev-qt/qtimageformats/qtimageformats-6.9999.ebuild 
b/dev-qt/qtimageformats/qtimageformats-6.9999.ebuild
new file mode 100644
index 00000000..f1a8354e
--- /dev/null
+++ b/dev-qt/qtimageformats/qtimageformats-6.9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Additional format plugins for the Qt image I/O system"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+       KEYWORDS="~amd64"
+fi
+
+IUSE="mng"
+
+DEPEND="
+       =dev-qt/qtbase-${PV}*[gui]
+       media-libs/libwebp:=
+       media-libs/tiff
+       mng? ( media-libs/libmng:= )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DQT_FEATURE_jasper=OFF
+               $(qt_feature mng)
+               -DQT_FEATURE_tiff=ON
+               -DQT_FEATURE_webp=ON
+               -DQT_FEATURE_system-tiff=ON
+               -DQT_FEATURE_system-webp=ON
+       )
+
+       qt6-build_src_configure
+}

Reply via email to