Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adélie Linux
Adélie Package Tree
Commits
7b65efe8
Verified
Commit
7b65efe8
authored
6 months ago
by
Síle Ekaterin Liszka
Committed by
Anna Wilcox
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
user/spirv-headers: new package
parent
43ab2041
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!778
Improve Wayland situation somewhat
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
user/spirv-headers/APKBUILD
+40
-0
40 additions, 0 deletions
user/spirv-headers/APKBUILD
with
40 additions
and
0 deletions
user/spirv-headers/APKBUILD
0 → 100644
+
40
−
0
View file @
7b65efe8
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname
=
spirv-headers
pkgver
=
1.3.290.0
pkgrel
=
0
pkgdesc
=
"Headers for translation between SPIR-V and LLVM IR"
url
=
"https://github.com/KhronosGroup/SPIRV-Headers"
arch
=
"noarch"
license
=
"MIT"
depends
=
""
makedepends
=
"cmake"
subpackages
=
""
source
=
"spirv-headers-
$pkgver
.tar.gz::https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/SPIRV-Headers-vulkan-sdk-
$pkgver
"
build
()
{
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
CMAKE_CROSSOPTS
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DBUILD_SHARED_LIBS
=
True
\
-DCMAKE_BUILD_TYPE
=
RelWithDebugInfo
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
\
${
CMAKE_CROSSOPTS
}
\
.
make
}
check
()
{
CTEST_OUTPUT_ON_FAILURE
=
TRUE ctest
}
package
()
{
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"d3328cd4ddf87d075afacfb7ada01dbd16a3ff39b831e9ebe4ce3c32af0ff0c8822811b0e0d273a54b4acaba29b63b099efcf0150424bd9074d24d04a9974d89 spirv-headers-1.3.290.0.tar.gz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment