4 pkgdesc="A modern display server."
6 url="http://wayland.freedesktop.org"
8 depends=('libxkbcommon-git' 'wayland-git' 'mesa-full-wayland' 'cairo-gl-git' 'poppler-glib')
11 _gitroot="git://anongit.freedesktop.org/wayland/weston"
15 msg "Connecting to git.freedesktop.org GIT server...."
17 if [ -d "$srcdir/$_gitname" ] ; then
18 cd $_gitname && git pull origin
19 msg "The local files are updated."
24 msg "GIT checkout done or server timeout"
25 msg "Starting make..."
27 rm -rf "${srcdir}/$_gitname-build"
28 cp -r "${srcdir}/$_gitname" "${srcdir}/$_gitname-build"
29 cd "${srcdir}/$_gitname-build"
31 ./autogen.sh --prefix=/usr
36 cd ${srcdir}/$_gitname-build
37 make DESTDIR="${pkgdir}" install
38 install -m 755 -D src/weston "${pkgdir}/usr/bin/weston"
39 install -m 755 -D clients/dnd "${pkgdir}/usr/bin/weston-dnd"
40 install -m 755 -D clients/eventdemo "${pkgdir}/usr/bin/weston-eventdemo"
41 install -m 755 -D clients/flower "${pkgdir}/usr/bin/weston-flower"
42 install -m 755 -D clients/gears "${pkgdir}/usr/bin/weston-gears"
43 install -m 755 -D clients/image "${pkgdir}/usr/bin/weston-image"
44 install -m 755 -D clients/resizor "${pkgdir}/usr/bin/weston-resizor"
45 install -m 755 -D clients/screenshot "${pkgdir}/usr/bin/weston-screnshot"
46 install -m 755 -D clients/simple-egl "${pkgdir}/usr/bin/weston-simple-egl"
47 install -m 755 -D clients/simple-shm "${pkgdir}/usr/bin/weston-simple-shm"
48 install -m 755 -D clients/simple-touch "${pkgdir}/usr/bin/weston-simple-touch"
49 install -m 755 -D clients/smoke "${pkgdir}/usr/bin/weston-smoke"
50 install -m 755 -D clients/terminal "${pkgdir}/usr/bin/weston-terminal"
51 install -m 755 -D clients/view "${pkgdir}/usr/bin/weston-view"
52 install -m 755 -D clients/weston-desktop-shell "${pkgdir}/usr/bin/weston-desktop-shell"
53 install -m 755 -D clients/weston-tablet-shell "${pkgdir}/usr/bin/weston-tablet-shell"
54 install -m 755 -D clients/wscreensaver "${pkgdir}/usr/bin/weston-wscreensaver"