2007-09-13 21:45:08 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pixman
|
2016-02-10 13:49:21 +01:00
|
|
|
PORTVERSION= 0.34.0
|
2007-09-13 21:45:08 +02:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
|
|
COMMENT= Low-level pixel manipulation library
|
|
|
|
|
2015-05-08 03:21:47 +02:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2015-10-20 15:35:01 +02:00
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
|
2015-05-08 03:21:47 +02:00
|
|
|
USES= cpe perl5
|
2013-09-29 19:01:41 +02:00
|
|
|
USE_PERL5= build
|
2007-09-13 21:45:08 +02:00
|
|
|
XORG_CAT= lib
|
2012-02-03 17:25:16 +01:00
|
|
|
CONFIGURE_ARGS= --disable-gtk
|
The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:
NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE
This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.
This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.
Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.
Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.
Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.
Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics
Thanks to: all testers, bdrewery and the FreeBSD x11@ team
exp-run by: bdrewery [1]
PR: ports/187602 [1]
Approved by: portmgr (bdrewery), core (jhb)
2014-04-16 20:28:47 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2009-09-19 22:25:01 +02:00
|
|
|
|
2015-10-20 20:49:47 +02:00
|
|
|
# Build the library exclusively, thus disabling the demos and the tests (which
|
|
|
|
# do not get installed anyway). This is to workaround a problem in powerpc64
|
|
|
|
# where the build of the tests crashes ld; see PR bin/202284.
|
|
|
|
MAKE_ARGS= SUBDIRS=pixman
|
|
|
|
|
2016-04-21 16:01:05 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
x11/pixman: unbreak on armv7
<instantiation>:1:1: error: unknown directive
.func fname
^
<instantiation>:4:1: note: while in macro instantiation
pixman_asm_function fname
^
pixman-arm-simd-asm-scaled.S:152:1: note: while in macro instantiation
generate_nearest_scanline_func pixman_scaled_nearest_scanline_0565_0565_SRC_asm_armv6, 1, h, 80, 32
^
<instantiation>:39:29: error: invalid immediate shift value
and TMP1, VXMASK, VX, asr #(16 - bpp_shift)
^
pixman-arm-simd-asm-scaled.S:152:1: note: while in macro instantiation
generate_nearest_scanline_func pixman_scaled_nearest_scanline_0565_0565_SRC_asm_armv6, 1, h, 80, 32
^
2017-10-08 20:57:09 +02:00
|
|
|
.if ${ARCH} == "armv6" || ${ARCH} == "armv7"
|
2017-09-05 16:04:10 +02:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
|
|
|
|
CONFIGURE_ENV+= CCASFLAGS="${CFLAGS} -no-integrated-as"
|
|
|
|
.endif
|
|
|
|
|
2016-04-21 16:01:05 +02:00
|
|
|
.if ${ARCH} == "powerpc64" || ${ARCH} == "powerpc"
|
|
|
|
CONFIGURE_ARGS+= --disable-vmx
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|