Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Imported buildfiles from cross-freedesktop
- Loading branch information
Showing
15 changed files
with
402 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Description: GL Demos | ||
# URL: ftp://ftp.freedesktop.org/pub/mesa/glu | ||
|
||
name=glu | ||
version=9.0.0 | ||
release=1 | ||
source=ftp://ftp.freedesktop.org/pub/mesa/$name/$name-$version.tar.bz2 | ||
depends=(mesa) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --prefix=/usr \ | ||
--build=$BUILD \ | ||
--host=$HOST | ||
|
||
make -j$JOBS | ||
make DESTDIR=$PKG install | ||
|
||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Description: HarfBuzz is an OpenType text shaping engine. | ||
# URL: http://www.freedesktop.org/wiki/Software/HarfBuzz | ||
|
||
name=harfbuzz | ||
version=1.2.7 | ||
release=1 | ||
source=(http://www.freedesktop.org/software/$name/release/$name-$version.tar.bz2) | ||
depends=(freetype glib icu) | ||
|
||
build () { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr | ||
|
||
make -j $JOBS | ||
make DESTDIR=$PKG install | ||
|
||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Description: Direct Rendering Manager library | ||
# URL: http://dri.freedesktop.org/libdrm/ | ||
|
||
name=libdrm | ||
version=2.4.68 | ||
release=1 | ||
source=(http://dri.freedesktop.org/libdrm/$name-$version.tar.gz) | ||
depends=(libpthread-stubs systemd libpciaccess) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr \ | ||
--enable-udev \ | ||
--enable-omap-experimental-api \ | ||
--enable-intel \ | ||
--enable-nouveau \ | ||
--enable-radeon \ | ||
--disable-valgrind | ||
|
||
make -j $JOBS | ||
make DESTDIR=$PKG install | ||
|
||
# Fix libtool files | ||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Description: Library for handling evdev devices | ||
# URL: http://www.freedesktop.org/wiki/Software/libevdev | ||
|
||
name=libevdev | ||
version=1.5.1 | ||
release=1 | ||
source=(http://www.freedesktop.org/software/$name/$name-$version.tar.xz) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr \ | ||
--disable-static | ||
|
||
make -j $JOBS | ||
make DESTDIR=$PKG install | ||
|
||
# Fix libtool files | ||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Description: Library for handling input devices | ||
# URL: http://www.freedesktop.org/wiki/Software/libinput | ||
|
||
name=libinput | ||
version=1.3.1 | ||
release=1 | ||
source=(http://www.freedesktop.org/software/$name/$name-$version.tar.xz) | ||
depends=(mtdev systemd libevdev) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr \ | ||
--disable-static \ | ||
--disable-event-gui \ | ||
--disable-tests \ | ||
--disable-libwacom | ||
|
||
|
||
make -j $JOBS | ||
make DESTDIR=$PKG install | ||
|
||
# Fix libtool files | ||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Description: Generic PCI access library | ||
# URL: http://xorg.freedesktop.org | ||
|
||
name=libpciaccess | ||
version=0.13.4 | ||
release=1 | ||
source=(http://xorg.freedesktop.org/releases/individual/lib/$name-$version.tar.bz2) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr | ||
|
||
make -j $JOBS | ||
make DESTDIR=$PKG install | ||
|
||
# Fix libtool files | ||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Description: Pthread dummy library | ||
# URL: http://xcb.freedesktop.org/dist | ||
|
||
name=libpthread-stubs | ||
version=0.3 | ||
release=1 | ||
source=(http://xcb.freedesktop.org/dist/$name-$version.tar.bz2) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr | ||
|
||
make -j $JOBS | ||
make DESTDIR=$PKG install | ||
|
||
# Fix libtool files | ||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Description: Intel driver for libva | ||
# URL: http://freedesktop.org/wiki/Software/vaapi | ||
|
||
name=libva-intel-driver | ||
version=1.7.0 | ||
release=1 | ||
source=(http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver/$name-$version.tar.bz2) | ||
depends=(libva wayland) | ||
|
||
build() { | ||
|
||
cd $name-$version | ||
|
||
./configure --prefix=/usr \ | ||
--host=$HOST \ | ||
--build=$BUILD \ | ||
--enable-drm \ | ||
--enable-wayland \ | ||
--disable-x11 | ||
|
||
make -j$JOBS | ||
make DESTDIR=$PKG install | ||
|
||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Description: libva is an implementation of VA-API for Linux | ||
# URL: http://freedesktop.org/wiki/Software/vaapi | ||
|
||
name=libva | ||
version=1.7.0 | ||
release=1 | ||
source=(http://www.freedesktop.org/software/vaapi/releases/$name/$name-$version.tar.bz2) | ||
depends=(libdrm) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --prefix=/usr \ | ||
--host=$HOST \ | ||
--build=$BUILD | ||
|
||
make -j$JOBS | ||
make DESTDIR=$PKG install | ||
|
||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Description: The Mesa 3D Graphics Library | ||
# URL: http://www.mesa3d.org | ||
# License: Mesa MIT Khronos | ||
|
||
name=mesa | ||
version=11.2.2 | ||
release=1 | ||
source=(ftp://ftp.freedesktop.org/pub/$name/$version/$name-$version.tar.gz) | ||
depends=(libdrm) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr \ | ||
--enable-gles1 \ | ||
--enable-gles2 \ | ||
--enable-egl \ | ||
--enable-gallium-egl \ | ||
--enable-dri \ | ||
--disable-dri3 \ | ||
--disable-glx \ | ||
--with-gallium-drivers=swrast \ | ||
--with-egl-platforms=drm | ||
|
||
make -j $JOBS | ||
make DESTDIR=$PKG install | ||
|
||
# Fix libtool files | ||
fix_la_files $PKG | ||
} | ||
|
||
check() { | ||
check_tool makedepend "Available in Ubuntu package xutils-dev" | ||
check_tool python2 | ||
check_tool autoreconf | ||
check_tool automake | ||
check_tool aclocal | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Description: Pixel manipulation library | ||
# URL: http://xorg.freedesktop.org | ||
|
||
name=pixman | ||
version=0.34.0 | ||
release=1 | ||
source=(http://xorg.freedesktop.org/releases/individual/lib/$name-$version.tar.bz2) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr \ | ||
--disable-static | ||
|
||
make -j $JOBS | ||
make DESTDIR=$PKG install | ||
|
||
# Fix libtool files | ||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Description: Wayland Protocols Library | ||
# URL: http://wayland.freedesktop.org | ||
|
||
name=wayland-protocols | ||
version=1.4 | ||
release=1 | ||
source=(http://wayland.freedesktop.org/releases/$name-$version.tar.xz) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr | ||
|
||
make -j $JOBS | ||
make DESTDIR=$PKG install | ||
|
||
# Fix libtool files | ||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Description: Wayland Protocol Library | ||
# URL: http://wayland.freedesktop.org | ||
|
||
name=wayland | ||
version=1.11.0 | ||
release=1 | ||
source=(http://wayland.freedesktop.org/releases/$name-$version.tar.xz) | ||
depends=(libffi expat libxml2 native/wayland) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr \ | ||
--disable-static \ | ||
--disable-documentation \ | ||
--with-host-scanner | ||
|
||
make -j $JOBS | ||
make DESTDIR=$PKG install | ||
|
||
# Fix libtool files | ||
fix_la_files $PKG | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Description: A reference wayland compositor | ||
# URL: http://wayland.freedesktop.org | ||
|
||
name=weston | ||
version=1.11.0 | ||
release=1 | ||
source=(http://wayland.freedesktop.org/releases/$name-$version.tar.xz) | ||
depends=(wayland pixman libxkbcommon libinput libpng libjpeg cairo linux-pam libunwind dbus wayland-protocols) | ||
|
||
build() { | ||
cd $name-$version | ||
|
||
./configure --build=$BUILD \ | ||
--host=$HOST \ | ||
--prefix=/usr \ | ||
--disable-static \ | ||
--disable-egl \ | ||
--enable-xkbcommon \ | ||
--enable-setuid-install \ | ||
--disable-xwayland \ | ||
--disable-xwayland-test \ | ||
--disable-x11-compositor \ | ||
--disable-drm-compositor \ | ||
--disable-wayland-compositor \ | ||
--disable-headless-compositor \ | ||
--disable-rpi-compositor \ | ||
--disable-rdp-compositor \ | ||
--disable-colord \ | ||
--enable-fbdev-compositor \ | ||
--enable-screen-sharing \ | ||
--disable-vaapi-recorder \ | ||
--disable-simple-egl-clients \ | ||
--with-cairo=image \ | ||
--without-cairo-glesv2 \ | ||
--enable-resize-optimization \ | ||
--enable-weston-launch \ | ||
--enable-clients \ | ||
--enable-simple-clients \ | ||
--enable-fullscreen-shell \ | ||
--enable-dbus \ | ||
--enable-wcap-tools \ | ||
--enable-libunwind \ | ||
--enable-demo-clients-install \ | ||
WESTON_NATIVE_BACKEND="fbdev-backend.so" | ||
make -j $JOBS WAYLAND_PROTOCOLS_DATADIR=$SYSROOT/usr/share/wayland-protocols | ||
make DESTDIR=$PKG install | ||
|
||
# Add weston runtime directory | ||
install -d $PKG/etc/tmpfiles.d | ||
echo 'd /run/weston 0700 root root' > $PKG/etc/tmpfiles.d/weston.conf | ||
|
||
# Add weston runtime environment | ||
install -d $PKG/etc/profile.d | ||
echo 'export XDG_RUNTIME_DIR=/run/weston' > $PKG/etc/profile.d/weston | ||
|
||
# Fix libtool files | ||
fix_la_files $PKG | ||
} |
Oops, something went wrong.