50b731f1b7
Derivative of Redox OS (https://www.redox-os.org) adding: - AMD GPU driver (amdgpu) via LinuxKPI compat layer - ext4 filesystem support (ext4d scheme daemon) - ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG) - Custom branding (hostname, os-release, boot identity) Build system is full upstream Redox with RBOS overlay in local/. Patches for kernel, base, and relibc are symlinked from local/patches/ and protected from make clean/distclean. Custom recipes live in local/recipes/ with symlinks into the recipes/ search path. Build: make all CONFIG_NAME=redbear-full Sync: ./local/scripts/sync-upstream.sh
27 lines
854 B
TOML
Executable File
27 lines
854 B
TOML
Executable File
# This does not build update-mime-database to avoid bringing in C code to Redox
|
|
[source]
|
|
tar = "https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/2.4/shared-mime-info-2.4.tar.gz"
|
|
blake3 = "ad130f2f923ab3d5455c643e6257abf3598339fdd134ad0fac4e5dbbbf070eb9"
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
mkdir -p "${COOKBOOK_STAGE}/usr/share/mime/packages"
|
|
msgfmt --xml \
|
|
--template="${COOKBOOK_SOURCE}/data/freedesktop.org.xml.in" \
|
|
-d "${COOKBOOK_SOURCE}/po" \
|
|
-o "${COOKBOOK_STAGE}/usr/share/mime/packages/freedesktop.org.xml"
|
|
update-mime-database -V "${COOKBOOK_STAGE}/usr/share/mime"
|
|
mkdir -p "${COOKBOOK_STAGE}/usr/share/pkgconfig"
|
|
cat > "${COOKBOOK_STAGE}/usr/share/pkgconfig/shared-mime-info.pc" <<EOF
|
|
prefix=/usr
|
|
|
|
Name: shared-mime-info
|
|
Description: Freedesktop common MIME database
|
|
Version: 2.4
|
|
Requires:
|
|
Libs:
|
|
Cflags:
|
|
EOF
|
|
"""
|