CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
mesa-demos: updated to 8.5.0
authorVictor Martinez <pitillo@ono.com>
Sun, 5 Jun 2022 17:17:32 +0000 (19:17 +0200)
committerVictor Martinez <pitillo@ono.com>
Sun, 5 Jun 2022 17:17:32 +0000 (19:17 +0200)
mesa-demos/.signature
mesa-demos/Pkgfile

index bdf0763681bd04dd7f10d27ec62f3da9a82c8d5b..c4ed6ad7ae17181c910ca7a5a9cf99c8ce66a3b3 100644 (file)
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/xorg-arm.pub
-RWSYHFoJug2wQqSX1vGuQd5TjF3AF8q1iXBzx3lpyRJvHz3sDaf5vJX184vUZXWYQeH4QFHSXqJbpX84puOlpHyh4R60TDUJLwE=
-SHA256 (Pkgfile) = 06ef0fc354df4ff2b1f1cad9ee70fee96c5f775abb29fe33b058a8392713cc62
+RWSYHFoJug2wQlpzMDbbFwpKF79Z+4++JakvHbm8T90Emv4JibmPd4evjMdrDwbGSNhlWImlo6T5gNmTQQnkQSft2/C3lTn33As=
+SHA256 (Pkgfile) = 9df9d5622e2f4bd1c6706d05e8c61e29e064a80d50e5c22343facb239271eaa6
 SHA256 (.footprint) = fda645d337a2cff02aabade85f5831069418b59e0e74de0e2bc9cd5fe562e314
-SHA256 (mesa-demos-8.4.0.tar.bz2) = 01e99c94a0184e63e796728af89bfac559795fb2a0d6f506fa900455ca5fff7d
+SHA256 (mesa-demos-8.5.0.tar.bz2) = cea2df0a80f09a30f635c4eb1a672bf90c5ddee0b8e77f4d70041668ef71aac1
index 730a6368e8d64aca78c4b7909f6912e429840f52..f5a94f0a03c2cc186f5d05595c4983bf345a9307 100644 (file)
@@ -5,19 +5,21 @@
 # Depends on: glew glu
 
 name=mesa-demos
-version=8.4.0
+version=8.5.0
 release=1
-source=(https://mesa.freedesktop.org/archive/demos/$name-$version.tar.bz2)
+source=(https://archive.mesa3d.org/demos/$version/$name-$version.tar.bz2)
 
 build() {
-  cd $name-$version
-
-  ./configure --prefix=/usr
-
-  make -C src/xdemos/ glxinfo glxgears
-  make -C src/egl/eglut/
-  make -C src/egl/opengles2/ es2_info es2gears_x11
-
+  meson setup build $name-$version \
+    --prefix=/usr \
+    --buildtype=plain \
+    --wrap-mode nodownload \
+    -D b_lto=true \
+    -D b_pie=true \
+    -D osmesa=disabled
+  meson compile -C build -j ${JOBS:-1}
   install -d $PKG/usr/bin
-  install -m 0755 -t $PKG/usr/bin src/{egl/opengles2/{es2_info,es2gears_x11},xdemos/glx{gears,info}}
+#  install -m 0755 -t $PKG/usr/bin src/{egl/opengles2/{es2_info,es2gears_x11},xdemos/glx{gears,info}}
+install -m 0755 -t $PKG/usr/bin build/src/xdemos/glx{gears,info}
+install -m 0755 -t $PKG/usr/bin build/src/{egl/opengles2/{es2_info,es2gears_x11},xdemos/glx{gears,info}}
 }