| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/pixman-0.26.0.ebuild,v 1.9 2013/01/31 05:52:41 mattst88 Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit xorg-2 toolchain-funcs versionator
|
| 7 |
|
| 8 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/pixman"
|
| 9 |
DESCRIPTION="Low-level pixel manipulation routines"
|
| 10 |
|
| 11 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
| 12 |
IUSE="altivec iwmmxt mmx neon sse2 test"
|
| 13 |
|
| 14 |
PATCHES=( "${FILESDIR}"/${P}-add-missing-_mm_empty-calls.patch )
|
| 15 |
|
| 16 |
pkg_setup() {
|
| 17 |
xorg-2_pkg_setup
|
| 18 |
|
| 19 |
XORG_CONFIGURE_OPTIONS=(
|
| 20 |
$(use_enable mmx)
|
| 21 |
$(use_enable sse2)
|
| 22 |
$(use_enable altivec vmx)
|
| 23 |
$(use_enable neon arm-neon)
|
| 24 |
$(use_enable iwmmxt arm-iwmmxt)
|
| 25 |
--disable-gtk
|
| 26 |
--disable-libpng
|
| 27 |
)
|
| 28 |
}
|