diff options
Diffstat (limited to 'media-libs/kquickimageeditor')
4 files changed, 75 insertions, 0 deletions
diff --git a/media-libs/kquickimageeditor/Manifest b/media-libs/kquickimageeditor/Manifest new file mode 100644 index 000000000000..eda201abafd2 --- /dev/null +++ b/media-libs/kquickimageeditor/Manifest @@ -0,0 +1,4 @@ +AUX kquickimageeditor-0.1.2-no-werror.patch 836 BLAKE2B 516bbcb7e2a89d4728756694f0684bc3b5c14aa3b7d0ca9f83c507cfa6f797aeb74099257514eca9ed6cbf959b307b2f352e7252d5f5c68414525a32a0dc631a SHA512 490daac974083f9ddffc57f01b6752b2965ce2e7ca5ef45a9242846ebbf035a1913df18b27afdbfd7b713c0270c154702893d3b8403e29e2b41bf427b13948f2 +DIST kquickimageeditor-0.1.2.tar.xz 3281984 BLAKE2B bf6467dd48c6f64a9b8b8752949af3776d766e8e7076d114c7a8522616f4e36ef47b470c382906764cf56b45f40163ee658f5ba295ae33ab1e379483d4181565 SHA512 b8ffbd2b1c331203bf5e81004b5da729658ea49e6d8c49a3d65b0f397a2b3095408479e9828bc15fbbf1ad69374a7c2cf8dc728c3fe44d28d30137657e3c759c +EBUILD kquickimageeditor-0.1.2.ebuild 666 BLAKE2B 3c4ff41fe966fe89754c18e5c202e082528d877278eac7f33ce84720a3992c8ca134cac6d834adb611aacec0d11ccd7024ccc0f86279f84a4456119356d70f4b SHA512 020995d86b214f2eef6470ca428a380440a51fc25a7f93cb59f3a7880dd237dab98cb47212708cdea79cb33efae2808e3e913072afa8ee219d5dd4da69f5f4b3 +MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/media-libs/kquickimageeditor/files/kquickimageeditor-0.1.2-no-werror.patch b/media-libs/kquickimageeditor/files/kquickimageeditor-0.1.2-no-werror.patch new file mode 100644 index 000000000000..69448ea2e705 --- /dev/null +++ b/media-libs/kquickimageeditor/files/kquickimageeditor-0.1.2-no-werror.patch @@ -0,0 +1,34 @@ +From c79657496326c10f81cf80a8c9a0e55bc2ba2798 Mon Sep 17 00:00:00 2001 +From: Nicolas Fella <nicolas.fella@gmx.de> +Date: Mon, 7 Dec 2020 14:34:09 +0100 +Subject: [PATCH] Remove -Werror + +It's doing more harm than good. + +It makes it a pain to update anything (compiler, dependencies etc) that +may introduce new warnings. It also makes it hard to use a compiler that +produces a lot of warnings, e.g. clazy +--- + src/CMakeLists.txt | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 301c05e..99b0a87 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -33,12 +33,6 @@ add_library( + ${sources} ${pluginData} + ) + +-target_compile_options( +- kquickimageeditorplugin +- PRIVATE +- -Werror +-) +- + target_link_libraries( + kquickimageeditorplugin + PRIVATE +-- +2.30.0 + diff --git a/media-libs/kquickimageeditor/kquickimageeditor-0.1.2.ebuild b/media-libs/kquickimageeditor/kquickimageeditor-0.1.2.ebuild new file mode 100644 index 000000000000..eb897f7b47c6 --- /dev/null +++ b/media-libs/kquickimageeditor/kquickimageeditor-0.1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KFMIN=5.74.0 +QTMIN=5.15.1 +inherit ecm kde.org + +DESCRIPTION="QtQuick components providing basic image editing capabilities" +HOMEPAGE="https://invent.kde.org/libraries/kquickimageeditor +https://api.kde.org/kquickimageeditor/html/index.html" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/$(ver_cut 1-2)/${P}.tar.xz" + KEYWORDS="~amd64" +fi + +LICENSE="LGPL-2.1+" +SLOT="5" + +PATCHES=( "${FILESDIR}"/${P}-no-werror.patch ) + +DEPEND=" + >=dev-qt/qtdeclarative-${QTMIN}:5 +" +RDEPEND="${DEPEND} + >=kde-frameworks/kirigami-${KFMIN}:5 +" diff --git a/media-libs/kquickimageeditor/metadata.xml b/media-libs/kquickimageeditor/metadata.xml new file mode 100644 index 000000000000..2fdbf33d963d --- /dev/null +++ b/media-libs/kquickimageeditor/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> +</pkgmetadata> |