Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
533a67e4
Commit
533a67e4
authored
Oct 19, 2020
by
Ed Reel
Committed by
GitHub
Oct 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add compatibility 'all' to vulkan_icd_loader (#4468)
parent
bcb89f31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
20 deletions
+17
-20
packages/vulkan_icd_loader.rb
packages/vulkan_icd_loader.rb
+17
-20
No files found.
packages/vulkan_icd_loader.rb
View file @
533a67e4
# Adapted from Arch Linux vulkan-icd-loader PKGBUILD at:
# https://github.com/archlinux/svntogit-packages/raw/packages/vulkan-icd-loader/trunk/PKGBUILD
require
"package"
require
'package'
class
Vulkan_icd_loader
<
Package
description
"Vulkan Installable Client Driver ICD Loader"
version
"1.2.153-2"
source_url
"https://github.com/KhronosGroup/Vulkan-Loader/archive/v1.2.153.tar.gz"
source_sha256
"5fb906b2dc968f2256f2d09b093ec8cc7f19812d656c649de8ed709a6da63d4a"
description
'Vulkan Installable Client Driver ICD Loader'
version
'1.2.153-2'
compatibility
'all'
source_url
'https://github.com/KhronosGroup/Vulkan-Loader/archive/v1.2.153.tar.gz'
source_sha256
'5fb906b2dc968f2256f2d09b093ec8cc7f19812d656c649de8ed709a6da63d4a'
depends_on
"cmake"
depends_on
"libx11"
depends_on
"libxrandr"
depends_on
"vulkan_headers"
depends_on
"git"
depends_on
"cmake"
=>
":build"
depends_on
"libx11"
=>
":build"
depends_on
"libxrandr"
=>
":build"
depends_on
"wayland"
=>
":build"
depends_on
"vulkan_headers"
=>
":build"
depends_on
"git"
=>
":build"
depends_on
"llvm"
=>
":build"
depends_on
'libx11'
depends_on
'libxrandr'
depends_on
'vulkan_headers'
depends_on
'libx11'
=>
':build'
depends_on
'libxrandr'
=>
':build'
depends_on
'wayland'
=>
':build'
depends_on
'vulkan_headers'
=>
':build'
depends_on
'llvm'
=>
':build'
def
self
.
build
ENV
[
'CC'
]
=
'clang'
ENV
[
'CXX'
]
=
'clang'
system
'mkdir build'
Dir
.
chdir
(
"build"
)
do
Dir
.
chdir
(
'build'
)
do
system
"cmake -DCMAKE_INSTALL_PREFIX=
#{
CREW_PREFIX
}
\
-DVULKAN_HEADERS_INSTALL_DIR=
#{
CREW_PREFIX
}
\
-DCMAKE_INSTALL_LIBDIR=
#{
CREW_LIB_PREFIX
}
\
...
...
@@ -41,9 +38,9 @@ class Vulkan_icd_loader < Package
.. && make"
end
end
def
self
.
install
Dir
.
chdir
(
"build"
)
do
Dir
.
chdir
(
'build'
)
do
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment