You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/qimageblitz/qimageblitz-0.0.6.ebuild

38 lines
1000 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/qimageblitz/qimageblitz-0.0.6.ebuild,v 1.2 2010/09/12 23:56:31 abcd Exp $
EAPI="2"
inherit cmake-utils eutils
DESCRIPTION="A graphical effect and filter library for KDE4"
HOMEPAGE="http://websvn.kde.org/trunk/kdesupport/qimageblitz/"
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
SLOT="0"
IUSE="3dnow altivec debug mmx sse sse2"
DEPEND="
x11-libs/qt-core:4
x11-libs/qt-gui:4
"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/qimageblitz-9999-exec-stack.patch
}
src_configure() {
mycmakeargs=(
$(cmake-utils_use_has 3dnow)
$(cmake-utils_use_has altivec)
$(cmake-utils_use_has mmx)
$(cmake-utils_use_has sse)
$(cmake-utils_use_has sse2)
)
cmake-utils_src_configure
}