Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit 9a481bc

Browse files
Compile Meson/CMake Packages as Release by Default, Add Mesa Turnip 25.0.0 and 24.3.0 Stable
1 parent 95f0c33 commit 9a481bc

13 files changed

+178
-7
lines changed

build-all.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ setupPackage()
214214
echo "make -j $(nproc) install" >> build.sh
215215
fi
216216
elif [ -e "./CMakeLists.txt" ] && [ -n "$CMAKE_ARGS" ]; then
217-
echo "cmake -DCMAKE_INSTALL_PREFIX=$PREFIX_DIR -DCMAKE_INSTALL_LIBDIR=$PREFIX_DIR/lib $CMAKE_ARGS .." >> build.sh
217+
echo "cmake -DCMAKE_INSTALL_PREFIX=$PREFIX_DIR -DCMAKE_INSTALL_LIBDIR=$PREFIX_DIR/lib -DCMAKE_BUILD_TYPE=Release $CMAKE_ARGS .." >> build.sh
218218
echo "make -j $(nproc)" >> build.sh
219219

220220
if [ -e "$INIT_DIR/packages/$package/custom-make-install.sh" ]; then
@@ -223,7 +223,7 @@ setupPackage()
223223
echo "make -j $(nproc) install" >> build.sh
224224
fi
225225
elif [ -e "./meson.build" ] && [ -n "$MESON_ARGS" ]; then
226-
echo "meson setup --cross-file=$INIT_DIR/meson-cross-file-$ARCHITECTURE -Dprefix=$PREFIX_DIR $MESON_ARGS .." >> build.sh
226+
echo "meson setup --cross-file=$INIT_DIR/meson-cross-file-$ARCHITECTURE -Dprefix=$PREFIX_DIR -Dbuildtype=release $MESON_ARGS .." >> build.sh
227227

228228
if [ -e "$INIT_DIR/packages/$package/post-configure.sh" ]; then
229229
echo "$INIT_DIR/packages/$package/post-configure.sh" >> build.sh

packages/box64/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ PKG_PRETTY_NAME="Box64"
44

55
GIT_URL=https://github.com/ptitSeb/box64
66
GIT_COMMIT=8bb53e10018e7ebee785afc8ad571f1cee5f9bef
7-
CMAKE_ARGS="-DANDROID=1 -DBAD_SIGNAL=1 -DARM_DYNAREC=1"
7+
CMAKE_ARGS="-DCMAKE_BUILD_TYPE=RelWithDebInfo -DANDROID=1 -DBAD_SIGNAL=1 -DARM_DYNAREC=1"
88
BLACKLIST_ARCHITECTURE=x86_64

packages/index

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ libxml2
5454
zstd
5555
libarchive
5656
android-shmem
57-
mesa-vulkan-freedreno
57+
mesa-vulkan-freedreno-24.3.0
58+
mesa-vulkan-freedreno-25.0.0
5859
mesa-vulkan-radeon
5960
mesa-vulkan-wrapper-rev8
6061
mesa-vulkan-wrapper-rev9
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
PKG_VER=25.0.0-devel-[gss]
1+
PKG_VER=24.3.0
22
PKG_CATEGORY="VulkanDriver"
33
PKG_PRETTY_NAME="Mesa Turnip Driver"
44
VK_DRIVER_LIB="libvulkan_freedreno.so"
55

66
BLACKLIST_ARCHITECTURE=x86_64
77

8-
GIT_URL=https://gitlab.freedesktop.org/mesa/mesa
9-
GIT_COMMIT=365cd04375baeb8c607c1a49e85e9a364e193a08
8+
SRC_URL=https://archive.mesa3d.org/mesa-$PKG_VER.tar.xz
109
LDFLAGS="-L$PREFIX/lib -landroid-shmem"
1110
CPPFLAGS="-D__USE_GNU"
1211
MESON_ARGS="-Dgallium-drivers= -Dvulkan-drivers=freedreno -Dfreedreno-kmds=msm,kgsl -Dglvnd=disabled -Dplatforms=x11 -Dxmlconfig=disabled -Dllvm=disabled -Dopengl=false -Degl=disabled -Dzstd=enabled"

packages/mesa-vulkan-freedreno/disable-memfd-create-getrandom.patch renamed to packages/mesa-vulkan-freedreno-24.3.0/disable-memfd-create-getrandom.patch

File renamed without changes.

packages/mesa-vulkan-freedreno/force-linux-like-build.patch renamed to packages/mesa-vulkan-freedreno-24.3.0/force-linux-like-build.patch

File renamed without changes.

packages/mesa-vulkan-freedreno/install-drivers-without-hardlinks.patch renamed to packages/mesa-vulkan-freedreno-24.3.0/install-drivers-without-hardlinks.patch

File renamed without changes.

packages/mesa-vulkan-freedreno/wsi-common-no-pthread-cancel.patch renamed to packages/mesa-vulkan-freedreno-24.3.0/wsi-common-no-pthread-cancel.patch

File renamed without changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
PKG_VER=25.0.0
2+
PKG_CATEGORY="VulkanDriver"
3+
PKG_PRETTY_NAME="Mesa Turnip Driver"
4+
VK_DRIVER_LIB="libvulkan_freedreno.so"
5+
6+
BLACKLIST_ARCHITECTURE=x86_64
7+
8+
SRC_URL=https://archive.mesa3d.org/mesa-$PKG_VER.tar.xz
9+
LDFLAGS="-L$PREFIX/lib -landroid-shmem"
10+
CPPFLAGS="-D__USE_GNU"
11+
MESON_ARGS="-Dgallium-drivers= -Dvulkan-drivers=freedreno -Dfreedreno-kmds=msm,kgsl -Dglvnd=disabled -Dplatforms=x11 -Dxmlconfig=disabled -Dllvm=disabled -Dopengl=false -Degl=disabled -Dzstd=enabled"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
diff --git a/meson.build b/meson.build
2+
index 66e14c211d2..7e73daf221a 100644
3+
--- a/meson.build
4+
+++ b/meson.build
5+
@@ -1354,7 +1354,7 @@ if not ['linux'].contains(host_machine.system())
6+
endif
7+
endif
8+
9+
-foreach h : ['xlocale.h', 'linux/futex.h', 'endian.h', 'dlfcn.h', 'sys/shm.h',
10+
+foreach h : ['linux/futex.h', 'endian.h', 'dlfcn.h', 'sys/shm.h',
11+
'cet.h', 'pthread_np.h', 'sys/inotify.h', 'linux/udmabuf.h']
12+
if cc.check_header(h)
13+
pre_args += '-DHAVE_@0@'.format(h.to_upper().underscorify())
14+
@@ -1364,11 +1364,9 @@ endforeach
15+
functions_to_detect = {
16+
'strtof': '',
17+
'mkostemp': '',
18+
- 'memfd_create': '',
19+
'random_r': '',
20+
'flock': '',
21+
'strtok_r': '',
22+
- 'getrandom': '',
23+
'qsort_s': '',
24+
'posix_fallocate': '',
25+
'secure_getenv': '',

0 commit comments

Comments
 (0)