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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Wildan Mubarok
cookbook
Commits
aeca42f1
Verified
Commit
aeca42f1
authored
1 year ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
gdk-pixbuf: Support all architectures
parent
93cdc8e0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes/gdk-pixbuf/recipe.sh
+50
-50
50 additions, 50 deletions
recipes/gdk-pixbuf/recipe.sh
with
50 additions
and
50 deletions
recipes/gdk-pixbuf/recipe.sh
+
50
−
50
View file @
aeca42f1
...
@@ -3,68 +3,68 @@ TAR="https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${VERSION%.*}/gdk-pixbuf
...
@@ -3,68 +3,68 @@ TAR="https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${VERSION%.*}/gdk-pixbuf
BUILD_DEPENDS
=(
gettext glib libffi libiconv libjpeg libpng pcre shared-mime-info zlib
)
BUILD_DEPENDS
=(
gettext glib libffi libiconv libjpeg libpng pcre shared-mime-info zlib
)
function
recipe_version
{
function
recipe_version
{
echo
"
$VERSION
"
echo
"
$VERSION
"
skip
=
1
skip
=
1
}
}
function
recipe_build
{
function
recipe_build
{
sysroot
=
"
$(
realpath
../sysroot
)
"
sysroot
=
"
$(
realpath
../sysroot
)
"
export
LDFLAGS
=
"-static"
export
LDFLAGS
=
"-static"
# TODO: Fix this annoying shite
# TODO: Fix this annoying shite
echo
"[binaries]"
>
cross_file.txt
echo
"[binaries]"
>
cross_file.txt
echo
"c = '
${
CC
}
'"
>>
cross_file.txt
echo
"c = '
${
CC
}
'"
>>
cross_file.txt
echo
"cpp = '
${
CXX
}
'"
>>
cross_file.txt
echo
"cpp = '
${
CXX
}
'"
>>
cross_file.txt
echo
"ar = '
${
AR
}
'"
>>
cross_file.txt
echo
"ar = '
${
AR
}
'"
>>
cross_file.txt
echo
"strip = '
${
STRIP
}
'"
>>
cross_file.txt
echo
"strip = '
${
STRIP
}
'"
>>
cross_file.txt
echo
"pkgconfig = '
${
PKG_CONFIG
}
'"
>>
cross_file.txt
echo
"pkgconfig = '
${
PKG_CONFIG
}
'"
>>
cross_file.txt
echo
"[host_machine]"
>>
cross_file.txt
echo
"[host_machine]"
>>
cross_file.txt
echo
"system = 'redox'"
>>
cross_file.txt
echo
"system = 'redox'"
>>
cross_file.txt
echo
"cpu_family = '
x86_64
'"
>>
cross_file.txt
echo
"cpu_family = '
$(
echo
"
${
TARGET
}
"
|
cut
-d
-
-f1
)
'"
>>
cross_file.txt
echo
"cpu = '
x86_64
'"
>>
cross_file.txt
echo
"cpu = '
$(
echo
"
${
TARGET
}
"
|
cut
-d
-
-f1
)
'"
>>
cross_file.txt
echo
"endian = 'little'"
>>
cross_file.txt
echo
"endian = 'little'"
>>
cross_file.txt
echo
"[paths]"
>>
cross_file.txt
echo
"[paths]"
>>
cross_file.txt
echo
"prefix = '
${
sysroot
}
'"
>>
cross_file.txt
echo
"prefix = '
${
sysroot
}
'"
>>
cross_file.txt
echo
"libdir = 'lib'"
>>
cross_file.txt
echo
"libdir = 'lib'"
>>
cross_file.txt
echo
"bindir = 'bin'"
>>
cross_file.txt
echo
"bindir = 'bin'"
>>
cross_file.txt
unset
AR
unset
AR
unset
AS
unset
AS
unset
CC
unset
CC
unset
CXX
unset
CXX
unset
LD
unset
LD
unset
NM
unset
NM
unset
OBJCOPY
unset
OBJCOPY
unset
OBJDUMP
unset
OBJDUMP
unset
PKG_CONFIG
unset
PKG_CONFIG
unset
RANLIB
unset
RANLIB
unset
READELF
unset
READELF
unset
STRIP
unset
STRIP
meson
.
_build
\
meson
.
_build
\
--cross-file
cross_file.txt
\
--cross-file
cross_file.txt
\
--buildtype
release
\
--buildtype
release
\
--strip
\
--strip
\
-Ddefault_library
=
static
\
-Ddefault_library
=
static
\
-Dprefix
=
/
\
-Dprefix
=
/
\
-Dlibdir
=
lib
\
-Dlibdir
=
lib
\
-Dbuiltin_loaders
=
all
\
-Dbuiltin_loaders
=
all
\
-Dgir
=
false
\
-Dgir
=
false
\
-Dx11
=
false
-Dx11
=
false
ninja
-C
_build
-v
ninja
-C
_build
-v
skip
=
1
skip
=
1
}
}
function
recipe_clean
{
function
recipe_clean
{
"
$REDOX_MAKE
"
clean
"
$REDOX_MAKE
"
clean
skip
=
1
skip
=
1
}
}
function
recipe_stage
{
function
recipe_stage
{
dest
=
"
$(
realpath
$1
)
"
dest
=
"
$(
realpath
$1
)
"
DESTDIR
=
"
$dest
"
ninja
-C
_build
-v
install
DESTDIR
=
"
$dest
"
ninja
-C
_build
-v
install
rm
-f
"
$dest
/lib/"
*
.la
rm
-f
"
$dest
/lib/"
*
.la
skip
=
1
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