Update package version to 1.4.329
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: vulkan-headers
|
name: vulkan-headers
|
||||||
description: Vulkan header files
|
description: Vulkan header files
|
||||||
version: 1.4.328
|
version: 1.4.329
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://www.khronos.org/vulkan/
|
url: https://www.khronos.org/vulkan/
|
||||||
license: Apache2 or MIT
|
license: Apache2 or MIT
|
||||||
@@ -9,9 +9,8 @@ output_architecture: any
|
|||||||
type: source
|
type: source
|
||||||
make_depends:
|
make_depends:
|
||||||
- cmake
|
- cmake
|
||||||
- ninja
|
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/v${BPM_PKG_VERSION}/Vulkan-Headers-${BPM_PKG_VERSION}.tar.gz
|
- url: https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/v${BPM_PKG_VERSION}/Vulkan-Headers-${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: 3ad56d387179b47dd632432ccf989bbb69773e1d732692b7bbad9c4d36aa1304
|
checksum: 7ea67aabccdecc6ef616b4c243f563ac9bca945a63d4f4cca21f1bbcd828b18e
|
||||||
|
|||||||
@@ -5,18 +5,15 @@
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
mkdir build
|
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
cd build
|
cmake --build build
|
||||||
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -G Ninja ..
|
|
||||||
ninja
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
cd build
|
DESTDIR="$BPM_OUTPUT" cmake --install build
|
||||||
DESTDIR="$BPM_OUTPUT" ninja install
|
|
||||||
|
|
||||||
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/LICENSES/MIT.txt "$BPM_OUTPUT"/usr/share/licenses/vulkan-headers/MIT.txt
|
install -Dm644 "$BPM_SOURCE"/LICENSES/MIT.txt "$BPM_OUTPUT"/usr/share/licenses/vulkan-headers/MIT.txt
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user