blob: bea65b46d4ce59df818bd6022e8ac13a53f0dbe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/qimageblitz/qimageblitz-0.0.4.ebuild,v 1.1 2008/01/18 02:55:13 ingmar Exp $
EAPI="1"
inherit cmake-utils eutils
DESCRIPTION="Qimageblitz is an interim image effect library that people can use until KDE 4.1"
HOMEPAGE="http://websvn.kde.org/trunk/kdesupport/qimageblitz/"
LICENSE="GPL-2 LGPL-2"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="3dnow altivec debug mmx sse sse2"
DEPEND=">=x11-libs/qt-4.2.0:4"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/qimageblitz-9999-exec-stack.patch
}
src_compile() {
mycmakeargs="${mycmakeargs}
$(cmake-utils_has 3dnow 3DNOW)
$(cmake-utils_has altivec ALTIVEC)
$(cmake-utils_has mmx MMX)
$(cmake-utils_has sse SSE)
$(cmake-utils_has sse2 SSE2)"
cmake-utils_src_compile
}
|