Skip to content

Update mesa demos from 8.3.0 to 8.4.0 #855

Merged
merged 2 commits into from
Aug 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 19 additions & 6 deletions mesa-demos.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION mesa-demos-8.3.0-0
# BEE_VERSION mesa-demos-8.4.0-0

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)
Expand All @@ -9,7 +9,7 @@
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="https://mesa.freedesktop.org/archive/demos/${PKGVERSION}/mesa-demos-${PKGVERSION}.tar.bz2"
SRCURL[0]="https://mesa.freedesktop.org/archive/demos/mesa-demos-${PKGVERSION}.tar.bz2"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
Expand Down Expand Up @@ -61,10 +61,23 @@ SRCURL[0]="https://mesa.freedesktop.org/archive/demos/${PKGVERSION}/mesa-demos-$
# bee_build
#}

#mee_install() {
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'
# Install all the demos (including the pointless ones) at first, in a
# temporary location:
mee_install() {
start_cmd make install DESTDIR=${D}/cruft
}

# Install gears and glinfo, as well as a few other demos:
mee_install_post() {
mkdir -p ${D}/usr/bin
for demo in gears glinfo glthreads glxcontexts glxdemo glxgears \
glxgears_fbconfig glxheads glxinfo glxpbdemo glxpixmap ; do
mv --verbose ${D}/cruft/usr/bin/$demo ${D}/usr/bin
done
# Remove cruft:
rm -rf ${D}/cruft
}


###############################################################################
##
Expand Down