diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/qimageblitz |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/qimageblitz')
8 files changed, 161 insertions, 0 deletions
diff --git a/media-libs/qimageblitz/Manifest b/media-libs/qimageblitz/Manifest new file mode 100644 index 000000000000..173224c36663 --- /dev/null +++ b/media-libs/qimageblitz/Manifest @@ -0,0 +1,11 @@ +AUX qimageblitz-0.0.6-cmake.patch 422 SHA256 829a8d7fff3145356718b79aee053985f214ac99240835a08af122b552b9e2c9 SHA512 ca05b91e5c7b40b425cab5a4e2b33b11dc6d2cfde0c142d1985e700de8bc558e4bb4a8d81fb2d727e7700e314965f5451cc6983abeab9f4214473a5659933f49 WHIRLPOOL 48cb40905b2f655d0c400e158898ce2c3f4dca70aadb4d72ffb6ae53af54601123b2f2487941b5b1212c4765e37d5377daf27f2b45907c6183868cf006cee2de +AUX qimageblitz-0.0.6-exec-stack.patch 319 SHA256 8aa232c80398d2a48650bb254c47eb3e8f3ce2fd743bc301482d1f8d0622b144 SHA512 51d61c9ae203216b932eaf80f4668b3d172d9f2133f76c8814d6d5de2c4660479d6d80efcd60f5dad2e2d526fb3f7fc39223399eacf400e4c3f7e197a79d43fb WHIRLPOOL 00c4c5547eb6eb6a615127edb17a88a4fd73c4159ece8c14bbfbe1576f2165ae4249c32bdf473121105e7de9dbbd55465239da326a784510f0c087c20bbaa700 +AUX qimageblitz-0.0.6-gcc.patch 670 SHA256 be175c25b890c293ec8927dd3c5495b50106035b4ed94c71541ea5059f86647a SHA512 7158c4680c76e176c193e0b8c67066689d06939456636c5699772180af6508398d2a33bd56d43f20c94da16748f64311f06bddc6faa1e51cbfd13c22096dd89f WHIRLPOOL 7a683ac77ba78c6793ead1d8ddfde1183715bc2358aba6b53d4c9119c65e004534c1561f67654f291074bbbf093fb432affbf5d7f5cd29d9dace2df3634e210d +AUX qimageblitz-0.0.6_p20131029-gcc.patch 693 SHA256 0673a2625f4f80bcc91a0219f4a551baca384ee9236c15abed752f9607cd8ddf SHA512 a189c0e44d09fb0b0fbd4c46e7fd4fb98a2af485174af2a8bbd176ccd4d4abd55f364236b6113b6ef32681d30131ff4c698b098f3c13fcac2544ef1a123f641e WHIRLPOOL a30aeeceb5b3bd735b8d594b7bc991c4259680c2eb28b3f98201abaff2701b4996984a5da5ef696bcf3396d470c4d8cdc1587014b4f5b89515e64b800a6384db +DIST qimageblitz-0.0.6.tar.bz2 57617 SHA256 9f102269dec50641440e23a449df215a0db9efef9a3969939d618c5e78a5010f SHA512 dbd506c01622824efdec69640eb95e737d7848fa15d33351084a6499ca2321d7bc08e080d1e443f8ab9015cd2967c10d9b5aa2f3c6eaa7558153821c46133af9 WHIRLPOOL e13f5c11e2094296af558de4e9054d3c5a162be5e40a0418c5a505e222fe749c8dac319defc25bc2a2b6a5238e5d1fefb966fd64198d43b6b8af99d608362b45 +DIST qimageblitz-0.0.6_p20131029.tar.xz 43428 SHA256 256e7b4d7cfb6f061c6957ebdc6066e3a7fbf1d62b9ced35dc9c5467e5551622 SHA512 2a32105aed52ea33fbd46702a2b7cdd9671efef9bb52209ede534abc95ac40dd9ae2bd22cf09b30a309337653c4a754c50ef3fe4ad0aad7d4ffd0b5994a85981 WHIRLPOOL fd1593c7f77a334be4189bc6c3bdf365dd54363023318f3e25b0dd1aa53231b8d915582352ca29da35dd8a0d30958d120dd67cd4aaf2c81af79eb0e8388776cd +EBUILD qimageblitz-0.0.6-r2.ebuild 1126 SHA256 3f36f20e7ac2db48994613711564375130232d01a65059b6aed6805e2e8c35e5 SHA512 20d0ff8efa5e3880956b56d3cf535fffb15e5a3584faf60d4e68c85cd159b288da323b325cc176e275e9e54e55c130684469a32875a6f0c50ef665dd47e88965 WHIRLPOOL eaa99798e7e36df3da7a15348d9367bdadf0626baa37f8f59f0d47bb0538a35c1eb8299e89921431d65fa26d2baf15952509923f5223ed4f21e2e143960cc7cc +EBUILD qimageblitz-0.0.6_p20131029.ebuild 1078 SHA256 b24e6e346dc5961ab17777a59310ccb1e619715d70a99280935dfaf474c025d9 SHA512 99c3f2c70e4ff5ca60cfa33233b13d3fe8e935b115d14aa4d949cbed87b7cb79d60a2e502ee6846be81c7a200d0e2d69989f50b35b3067f5cdab5f1f91e1673c WHIRLPOOL 2c5f1d2535150f0662b6042df809419ccb855744680aade68d08c485a41a7c1ede35f5c38fc683eb01f46ea4be7f37b3b156c04b1cba97044c21b8b1c6e09d16 +MISC ChangeLog 3313 SHA256 9f1dd20fed0929f6610518a22b613a783c7fd7e5342db6db88c0f4b1ed7f51a5 SHA512 260038f12cd8c04eb072a551b23df1ba5829d32097f866e3997f18b3e5e0b2f82688dab3c2fef2653ec63fc89c2e0a9af0f36ac9c63f9f7b9473a5977972ec49 WHIRLPOOL bdae5b57aadd898c36b74ff303eb6c41d5cea75438c833c1beaafd343a4038ab6764950ecf21dca997b9aad7c5f64465632265338047e6ebde959addca7a1424 +MISC ChangeLog-2015 4758 SHA256 7689e4592264ddf8704c4b8b9940b07930cdfddf306bde9b6731d623ca6a9bc0 SHA512 1e871de11f9bb60ec65faaa52a1c50813c535d0959b09882a0fb75264530b110cb20eb9d9ebc8cd9803750ebc2ca50a452564a6d569d7f396364217e393870a8 WHIRLPOOL 4fc74365c3b96d79813cde50b0e968f53b192d5b4196363ac526da62887dcac4e8422a04e0b76f1e0276bea4ba5aabd563cfc601181ec1cbc29e6a371e67fac6 +MISC metadata.xml 245 SHA256 ae3610b0005f668b7174e8c49c0170e7642e895c8e13e7e2fedcfefee6940e1a SHA512 90bcfe500baf163912aaffc9958c9724c4a97cfca294cae6c2eea938f4ca7668c84b132b6dce55767efa47a28b9e87bb75e79634b59079ab8ef3eff3ea95968e WHIRLPOOL 7abb1ad699d5aa3a0a0ebb0e8704df297ad9a662698cb59d1b48700aeb787e6208540e1e84f583a46bdd9975e27a75f04f7463585790b4e7865d0edfdb1e13ae diff --git a/media-libs/qimageblitz/files/qimageblitz-0.0.6-cmake.patch b/media-libs/qimageblitz/files/qimageblitz-0.0.6-cmake.patch new file mode 100644 index 000000000000..adb183de8f75 --- /dev/null +++ b/media-libs/qimageblitz/files/qimageblitz-0.0.6-cmake.patch @@ -0,0 +1,12 @@ +Index: CMakeLists.txt +=================================================================== +--- a/CMakeLists.txt (revision 1209280) ++++ b/CMakeLists.txt (revision 1209281) +@@ -1,5 +1,7 @@ + project(blitz) + ++cmake_minimum_required(VERSION 2.6.4) ++ + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ) + find_package(Qt4 REQUIRED) + # properly set up compile flags (QT_DEBUG/QT_NO_DEBUG, ...) diff --git a/media-libs/qimageblitz/files/qimageblitz-0.0.6-exec-stack.patch b/media-libs/qimageblitz/files/qimageblitz-0.0.6-exec-stack.patch new file mode 100644 index 000000000000..170bd709aa11 --- /dev/null +++ b/media-libs/qimageblitz/files/qimageblitz-0.0.6-exec-stack.patch @@ -0,0 +1,9 @@ +Index: blitz/asm_scale.S +=================================================================== +--- a/blitz/asm_scale.S (revision 1204247) ++++ b/blitz/asm_scale.S (revision 1204248) +@@ -1,3 +1,4 @@ ++.section .note.GNU-stack,"",%progbits + + #if defined(__EMX__) + /* Due to strange behaviour of as.exe we use this macros */ diff --git a/media-libs/qimageblitz/files/qimageblitz-0.0.6-gcc.patch b/media-libs/qimageblitz/files/qimageblitz-0.0.6-gcc.patch new file mode 100644 index 000000000000..b956d2dfd595 --- /dev/null +++ b/media-libs/qimageblitz/files/qimageblitz-0.0.6-gcc.patch @@ -0,0 +1,16 @@ +--- a/blitz/CMakeLists.txt ++++ b/blitz/CMakeLists.txt +@@ -31,12 +31,8 @@ + + if(HAVE_MMX) + if(NOT APPLE AND NOT WIN32) ++ enable_language(ASM) + set( blitz_LIB_SRCS ${blitz_LIB_SRCS} asm_scale.S ) +- add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/asm_scale.o +- COMMAND gcc -c ${CMAKE_CURRENT_SOURCE_DIR}/asm_scale.S +- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/asm_scale.S ) +- set( blitz_LIB_EXTRA_SRCS ${CMAKE_CURRENT_BINARY_DIR}/asm_scale.o ) +- set(HAVE_EXTERNAL_ASM TRUE) + endif(NOT APPLE AND NOT WIN32) + endif(HAVE_MMX) + configure_file (config-processor.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-processor.h ) diff --git a/media-libs/qimageblitz/files/qimageblitz-0.0.6_p20131029-gcc.patch b/media-libs/qimageblitz/files/qimageblitz-0.0.6_p20131029-gcc.patch new file mode 100644 index 000000000000..922a26298351 --- /dev/null +++ b/media-libs/qimageblitz/files/qimageblitz-0.0.6_p20131029-gcc.patch @@ -0,0 +1,16 @@ +--- a/blitz/CMakeLists.txt ++++ b/blitz/CMakeLists.txt +@@ -31,12 +31,8 @@ + + if(HAVE_MMX) + if(NOT APPLE AND NOT WIN32) ++ enable_language(ASM) + set( blitz_LIB_SRCS ${blitz_LIB_SRCS} asm_scale.S ) +- add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/asm_scale.o +- COMMAND ${CMAKE_C_COMPILER} -c ${CMAKE_CURRENT_SOURCE_DIR}/asm_scale.S +- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/asm_scale.S ) +- set( blitz_LIB_EXTRA_SRCS ${CMAKE_CURRENT_BINARY_DIR}/asm_scale.o ) +- set(HAVE_EXTERNAL_ASM TRUE) + endif(NOT APPLE AND NOT WIN32) + endif(HAVE_MMX) + configure_file (config-processor.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-processor.h ) diff --git a/media-libs/qimageblitz/metadata.xml b/media-libs/qimageblitz/metadata.xml new file mode 100644 index 000000000000..0cf59224b009 --- /dev/null +++ b/media-libs/qimageblitz/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> diff --git a/media-libs/qimageblitz/qimageblitz-0.0.6-r2.ebuild b/media-libs/qimageblitz/qimageblitz-0.0.6-r2.ebuild new file mode 100644 index 000000000000..6351794a4d11 --- /dev/null +++ b/media-libs/qimageblitz/qimageblitz-0.0.6-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Graphical effect and filter library by KDE" +HOMEPAGE="https://websvn.kde.org/trunk/kdesupport/qimageblitz/" +SRC_URI="mirror://kde/stable/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +KEYWORDS="amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +SLOT="0" +IUSE="cpu_flags_x86_3dnow altivec debug cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2" + +DEPEND=" + dev-qt/qtcore:4 + dev-qt/qtgui:4 +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-exec-stack.patch" + "${FILESDIR}/${P}-gcc.patch" + "${FILESDIR}/${P}-cmake.patch" +) + +src_prepare() { + cmake-utils_src_prepare + + # bug 581824: use system find module for Qt4 + rm -f cmake/modules/FindQt4.cmake || die +} + +src_configure() { + local mycmakeargs=( + -DHAVE_ALTIVEC=$(usex altivec) + -DHAVE_3DNOW=$(usex cpu_flags_x86_3dnow) + -DHAVE_MMX=$(usex cpu_flags_x86_mmx) + -DHAVE_SSE=$(usex cpu_flags_x86_sse) + -DHAVE_SSE2=$(usex cpu_flags_x86_sse2) + ) + + cmake-utils_src_configure +} diff --git a/media-libs/qimageblitz/qimageblitz-0.0.6_p20131029.ebuild b/media-libs/qimageblitz/qimageblitz-0.0.6_p20131029.ebuild new file mode 100644 index 000000000000..77f2455adfc0 --- /dev/null +++ b/media-libs/qimageblitz/qimageblitz-0.0.6_p20131029.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Graphical effect and filter library by KDE" +HOMEPAGE="https://websvn.kde.org/trunk/kdesupport/qimageblitz/" +SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz" + +LICENSE="GPL-2 LGPL-2" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +SLOT="0" +IUSE="altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 debug qt5" + +DEPEND=" + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) + !qt5? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + ) +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-gcc.patch" ) + +src_configure() { + local mycmakeargs=( + -DQT4_BUILD=$(usex !qt5) + -DHAVE_3DNOW=$(usex cpu_flags_x86_3dnow) + -DHAVE_MMX=$(usex cpu_flags_x86_mmx) + -DHAVE_SSE=$(usex cpu_flags_x86_sse) + -DHAVE_SSE2=$(usex cpu_flags_x86_sse2) + ) + use ppc && mycmakeargs+=( -DHAVE_ALTIVEC=$(usex altivec) ) + + cmake-utils_src_configure +} |