diff options
Diffstat (limited to 'media-libs/qimageblitz/qimageblitz-0.0.6-r2.ebuild')
-rw-r--r-- | media-libs/qimageblitz/qimageblitz-0.0.6-r2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
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..c57aa1c4b62c --- /dev/null +++ b/media-libs/qimageblitz/qimageblitz-0.0.6-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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_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 +} |