Add recipes

This commit is contained in:
Ribbon 2025-11-13 10:47:46 -03:00
parent 995b9ea327
commit 5fa446577d
7 changed files with 118 additions and 5 deletions

View File

@ -0,0 +1,11 @@
#TODO not compiled or tested
[source]
git = "https://github.com/naelstrof/slop"
rev = "v7.7"
[build]
template = "cmake"
dependencies = [
"libxext",
"glew",
"libglm",
]

View File

@ -0,0 +1,17 @@
#TODO determine build instructions: https://repo.palemoon.org/Basilisk-Dev/Basilisk/src/branch/master/build-scripts/linux/build_basilisk_subscripts/run_inside_docker.sh
# dependencies: https://basilisk-browser.org/requirements.html
[source]
tar = "https://dl.basilisk-browser.org/basilisk-2025.10.10-source.tar.xz"
[build]
template = "custom"
dependencies = [
"gtk3",
"glib",
"pango",
"dbus",
"libalsa",
"libxt",
"openssl3",
"sqlite3",
"libpulse",
]

View File

@ -1,8 +1,6 @@
#TODO finish the script with cross-compilaiton variables, see https://firefox-source-docs.mozilla.org/setup/linux_build.html
#TODO make all dependencies work
# some libraries are bundled, maybe some need to use the redox recipes
# dependencies - https://packages.gentoo.org/packages/www-client/firefox/dependencies
# feature flags reference - https://wiki.gentoo.org/wiki/Firefox#USE_flags
#TODO missing script for mach: https://firefox-source-docs.mozilla.org/setup/linux_build.html
# dependencies: https://packages.gentoo.org/packages/www-client/firefox/dependencies
# feature flags: https://wiki.gentoo.org/wiki/Firefox#USE_flags
[source]
tar = "https://ftp.mozilla.org/pub/firefox/releases/115.13.0esr/source/firefox-115.13.0esr.source.tar.xz"
[build]

View File

@ -0,0 +1,3 @@
ac_add_options --disable-tests
ac_add_options --target="{TARGET}"
ac_add_options --enable-bootstrap

View File

@ -0,0 +1,31 @@
#TODO missing script for mach: https://codeberg.org/librewolf/source#librewolf-build-instructions
# dependencies: https://packages.gentoo.org/packages/www-client/firefox/dependencies
# feature flags: https://wiki.gentoo.org/wiki/Firefox#USE_flags
[source]
tar = "https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/144.0.2-1/librewolf-144.0.2-1.source.tar.gz"
[build]
template = "custom"
dependencies = [
"fontconfig",
"atk",
"cairo",
"dbus",
"libffi",
"freetype2",
"gdk-pixbuf",
"glib",
"gtk3",
"pango",
"sqlite3",
"nss-nspr",
"startup-notification",
"zlib",
"ffmpeg6",
"expat",
"libepoxy",
"pipewire",
]
script = """
DYNAMIC_INIT
export MOZCONFIG="${COOKBOOK_RECIPE}/mozconfig"
"""

View File

@ -0,0 +1,35 @@
# Clear this if not a 64bit build
_BUILD_64=1
# Set GTK Version to 2 or 3
_GTK_VERSION=3
# Standard build options for Pale Moon
ac_add_options --enable-application=palemoon
ac_add_options --enable-optimize="-O2 -w"
ac_add_options --enable-default-toolkit=cairo-gtk$_GTK_VERSION
ac_add_options --enable-jemalloc
ac_add_options --enable-strip
ac_add_options --enable-devtools
ac_add_options --enable-av1
ac_add_options --enable-jxl
ac_add_options --disable-webrtc
ac_add_options --disable-gamepad
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-necko-wifi
ac_add_options --disable-updater
ac_add_options --with-pthreads
# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
ac_add_options --enable-official-branding
export MOZILLA_OFFICIAL=1
# Processor architecture specific build options
if [ -n "$_BUILD_64" ]; then
ac_add_options --x-libraries=/usr/lib64
else
ac_add_options --x-libraries=/usr/lib
fi
export MOZ_PKG_SPECIAL=gtk$_GTK_VERSION

View File

@ -0,0 +1,18 @@
#TODO missing script for mach: https://developer.palemoon.org/build/linux/
[source]
tar = "https://repo.palemoon.org/MoonchildProductions/Pale-Moon/archive/33.9.1_Release.tar.gz"
[build]
template = "custom"
dependencies = [
"gtk3",
"glib",
"pango",
"dbus",
"mesa",
"libxt",
"openssl1",
"sqlite3",
"libpulse",
"libalsa",
"libx11",
]