Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
de09a8e0
Commit
de09a8e0
authored
5 years ago
by
Nagy Tibor
Browse files
Options
Downloads
Patches
Plain Diff
Add vvvvvv recipe
parent
c52f8595
No related branches found
No related tags found
1 merge request
!234
Add VVVVVV recipe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes/vvvvvv/recipe.sh
+38
-0
38 additions, 0 deletions
recipes/vvvvvv/recipe.sh
with
38 additions
and
0 deletions
recipes/vvvvvv/recipe.sh
0 → 100644
+
38
−
0
View file @
de09a8e0
VERSION
=
2.0
GIT
=
https://github.com/xTibor/VVVVVV
BRANCH
=
redox
GIT_UPSTREAM
=
https://github.com/TerryCavanagh/VVVVVV
BUILD_DEPENDS
=(
sdl2_image sdl2_mixer sdl2 liborbital mesa mesa_glu zlib llvm libogg libvorbis
)
function
recipe_version
{
printf
"1.0.0"
skip
=
1
}
function
recipe_build
{
sysroot
=
"
$(
realpath
../sysroot
)
"
cd
desktop_version
cmake
\
-DCMAKE_INSTALL_PREFIX
:PATH
=
/
\
-DBUILD_STATIC
=
ON
\
-DBUILD_SHARED
=
OFF
\
-DSDL2_INCLUDE_DIRS
=
"
$sysroot
/include/SDL2"
\
-DSDL2_LIBRARIES
=
"-static -lSDL2main -lSDL2_mixer -lSDL2
$(
"
${
PKG_CONFIG
}
"
--libs
glu
)
-lglapi -lorbital -lz -lvorbisfile -lvorbis -logg"
\
.
make
-j
"
$(
nproc
)
"
skip
=
1
}
function
recipe_clean
{
echo
"skipping clean"
skip
=
1
}
function
recipe_stage
{
dest
=
"
$(
realpath
$1
)
"
mkdir
-pv
"
$1
/games/vvvvvv"
cp
./desktop_version/VVVVVV
"
$1
/games/vvvvvv"
skip
=
1
}
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