source: rtems-source-builder/source-builder/config/pixman-0-1.cfg @ f3b5490

4.104.114.95
Last change on this file since f3b5490 was f3b5490, checked in by Chris Johns <chrisj@…>, on 04/08/14 at 05:11:00

config,sb: Qemu build updates for FreeBSD and the start of MinG32.

Hack round the FreeBSD iconv support in Freebsd 10. In 10 libc now
supports iconv however iconv.h is present under /usr/local.

Start to add support to build qemu for MinGW via a Cxc. This is a
work in progress and contains lots of hidden traps.

In config.py separate out of the canadian build status.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1#
2# Pixman 0.x.x Version 1.
3#
4# This configuration file configure's, make's and install's Pixman.
5#
6
7%if %{release} == %{nil}
8%define release 1
9%endif
10
11Name:      pixman-%{pixman_version}-%{_host}-%{release}
12Summary:   Pixman is a low-level software library for pixel manipulation,
13           providing features such as image compositing and trapezoid
14           rasterization.
15Version:   %{pixman_version}
16Release:   %{release}
17URL:       http://www.pixman.org/
18BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
19
20#
21# Source
22#
23Source0: http://cairographics.org/releases/pixman-%{pixman_version}.tar.gz
24
25#
26# Prepare the source code.
27#
28%prep
29  build_top=$(pwd)
30
31  source_dir_0="pixman-%{pixman_version}"
32  %setup -q -n pixman-%{pixman_version}
33  %{?patch0:%patch0 %{?patch0_opts:%{patch0_opts}}%{!?patch0_opts:-p1}}
34  %{?patch1:%patch1 %{?patch1_opts:%{patch1_opts}}%{!?patch1_opts:-p1}}
35  %{?patch2:%patch2 %{?patch2_opts:%{patch2_opts}}%{!?patch2_opts:-p1}}
36  %{?patch3:%patch3 %{?patch3_opts:%{patch3_opts}}%{!?patch3_opts:-p1}}
37  %{?patch4:%patch4 %{?patch4_opts:%{patch4_opts}}%{!?patch4_opts:-p1}}
38  %{?patch5:%patch5 %{?patch5_opts:%{patch5_opts}}%{!?patch5_opts:-p1}}
39  %{?patch6:%patch6 %{?patch6_opts:%{patch6_opts}}%{!?patch6_opts:-p1}}
40  %{?patch7:%patch7 %{?patch7_opts:%{patch7_opts}}%{!?patch7_opts:-p1}}
41  %{?patch8:%patch8 %{?patch8_opts:%{patch8_opts}}%{!?patch8_opts:-p1}}
42  %{?patch9:%patch9 %{?patch9_opts:%{patch9_opts}}%{!?patch9_opts:-p1}}
43
44  cd ${build_top}
45
46%build
47  build_top=$(pwd)
48
49  %{build_directory}
50
51  mkdir -p ${build_dir}
52  cd ${build_dir}
53
54  %{host_build_flags}
55
56  ../${source_dir_0}/configure \
57    --prefix=%{_prefix} \
58    --bindir=%{_bindir} \
59    --exec_prefix=%{_exec_prefix} \
60    --includedir=%{_includedir} \
61    --libdir=%{_libdir} \
62    --libexecdir=%{_libexecdir} \
63    --mandir=%{_mandir} \
64    --infodir=%{_infodir} \
65    --datadir=%{_datadir} \
66    --build=%{_build} --host=%{_host} \
67    --disable-gtk \
68    --disable-libpng
69
70  %{__make} %{?_smp_mflags} all
71
72  cd ${build_top}
73
74%install
75  build_top=$(pwd)
76
77  %{__rmdir} $SB_BUILD_ROOT
78
79  cd ${build_dir}
80  %{__make} DESTDIR=$SB_BUILD_ROOT install
81  cd ${build_top}
Note: See TracBrowser for help on using the repository browser.