Skip to content

Commit

Permalink
Merge pull request #855 from mariux64/update-mesa-demos-from-8.3.0-to…
Browse files Browse the repository at this point in the history
…-8.4.0

Update mesa demos from 8.3.0 to 8.4.0
  • Loading branch information
pmenzel authored Aug 1, 2018
2 parents 37df569 + 407291d commit 9d61116
Showing 1 changed file with 19 additions and 6 deletions.
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

0 comments on commit 9d61116

Please sign in to comment.