-
-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
buildconfig/manylinux-build/docker_base/libdecor/build-libdecor.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
set -e -x | ||
|
||
cd $(dirname `readlink -f "$0"`) | ||
|
||
LIBDECOR_VER=0.2.2 | ||
LIBDECOR="libdecor-$LIBDECOR_VER" | ||
|
||
curl -sL --retry 10 https://gitlab.freedesktop.org/libdecor/libdecor/-/releases/${LIBDECOR_VER}/downloads/${LIBDECOR}.tar.xz > ${LIBDECOR}.tar.xz | ||
sha512sum -c libdecor.sha512sum | ||
|
||
tar xf $LIBDECOR.tar.xz | ||
cd $LIBDECOR | ||
|
||
# This is a hack because I'm lazy :) | ||
# libdecor depends on cairo which is a kinda heavy dependency and need more | ||
# scripting work. But libdecor shared lib is not actually present in the | ||
# manylinux wheel and is dynamically loaded by SDL at runtime (if available on | ||
# users system) | ||
# So we override the plugin builds to skip cairo (and only build dummy plugin) | ||
echo "plugin_include_path = include_directories('.')" > src/plugins/meson.build | ||
echo "subdir('dummy')" > src/plugins/meson.build | ||
|
||
meson build/ $PG_BASE_MESON_FLAGS -Ddemo=false | ||
ninja -C build/ install |
1 change: 1 addition & 0 deletions
1
buildconfig/manylinux-build/docker_base/libdecor/libdecor.sha512sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ed1dfb86c28f0c84950ea5653e1ae6a83bf274e5ea51c0977ea134481536dffd31e65146c0a0aa8b67a6cad4fb8bc551b4266b04c93493547d43131dc04ea380 libdecor-0.2.2.tar.xz |