commit 5668d305dcca061f665d4afcb28a16232ca5b76a Author: Danny Date: Thu Mar 19 11:51:17 2026 +0100 Initial commit: DarkForge package repository (124 packages) Package definitions for the complete DarkForge Linux system: - core/ (67): base system, toolchain, kernel, utilities, dev tools - extra/ (26): libraries, frameworks, drivers (nvidia-open, pipewire, mesa) - desktop/ (19): Wayland stack, dwl compositor, terminals, applications - gaming/ (12): Steam, Wine, Proton, gamemode, mangohud, PrismLauncher Co-Authored-By: Claude Opus 4.6 (1M context) diff --git a/README.md b/README.md new file mode 100644 index 0000000..2e70b3d --- /dev/null +++ b/README.md @@ -0,0 +1,135 @@ +# DarkForge Package Repository + +124 package definitions for the complete DarkForge Linux system. Each package is a TOML file describing how to download, build, and install a piece of software. + +## Repository Layout + +``` +repos/ +├── core/ 67 packages — base system (toolchain, kernel, utilities, system daemons) +├── extra/ 26 packages — libraries, frameworks, drivers +├── desktop/ 19 packages — Wayland compositor, terminals, applications +└── gaming/ 12 packages — Steam, Wine, Proton, game tools +``` + +## Package Format + +Each package lives in `//.toml`. See the dpack README for the full format specification. + +Example (`core/zlib/zlib.toml`): + +```toml +[package] +name = "zlib" +version = "1.3.1" +description = "Compression library implementing the deflate algorithm" +url = "https://zlib.net/" +license = "zlib" + +[source] +url = "https://zlib.net/zlib-${version}.tar.xz" +sha256 = "38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32" + +[dependencies] +run = [] +build = ["gcc", "make"] + +[build] +configure = "./configure --prefix=/usr" +make = "make" +install = "make DESTDIR=${PKG} install" +``` + +## core/ — Base System (67 packages) + +The complete base system needed to boot to a shell: + +**Toolchain:** gcc, glibc, binutils, gmp, mpfr, mpc, linux (kernel) + +**Utilities:** coreutils, util-linux, bash, sed, grep, gawk, findutils, diffutils, tar, gzip, xz, zstd, bzip2, ncurses, readline, file, less, make, patch, m4 + +**System:** eudev, sysvinit, dbus, dhcpcd, shadow, procps-ng, e2fsprogs, kmod, iproute2, kbd, amd-microcode + +**Dev tools:** cmake, meson, ninja, python, perl, autoconf, automake, libtool, bison, flex, gettext, texinfo, pkg-config, gperf + +**Libraries:** openssl, curl, git, zlib, expat, libffi, libxml2, pcre2, glib, libmnl, libpipeline, bc + +**Docs:** groff, man-db, man-pages + +## extra/ — Libraries and Frameworks (26 packages) + +Libraries needed by the desktop and gaming stack: + +**Audio:** pipewire, wireplumber + +**Graphics:** mesa, vulkan-headers, vulkan-loader, vulkan-tools, libdrm, nvidia-open + +**Fonts:** fontconfig, freetype, harfbuzz, libpng + +**UI:** pango, cairo, pixman, qt6-base, lxqt-policykit + +**Security:** polkit, duktape, gnutls, nettle, libtasn1, p11-kit + +**Other:** seatd, lua, rust + +## desktop/ — Wayland Desktop (19 packages) + +The complete desktop environment: + +**Wayland:** wayland, wayland-protocols, wlroots, xwayland + +**Compositor:** dwl (dynamic window manager for Wayland, dwm-like) + +**Input:** libinput, libevdev, mtdev, libxkbcommon, xkeyboard-config + +**Apps:** foot (terminal), fuzzel (launcher), firefox, zsh, wezterm, freecad + +**Tools:** wl-clipboard, grim (screenshots), slurp (region select) + +## gaming/ — Gaming Stack (12 packages) + +Everything needed for gaming on Linux: + +**Platform:** steam, wine, proton-ge, protontricks, winetricks + +**Translation:** dxvk (D3D9/10/11→Vulkan), vkd3d-proton (D3D12→Vulkan) + +**Tools:** gamemode, mangohud, sdl2 + +**Runtime:** openjdk (for PrismLauncher/Minecraft), prismlauncher + +## Adding a New Package + +1. Create the directory: `mkdir -p /` +2. Create the definition: `//.toml` +3. Fill in all sections: `[package]`, `[source]`, `[dependencies]`, `[build]` +4. Compute the SHA256: `sha256sum ` +5. Test: `dpack install ` + +Alternatively, convert from CRUX or Gentoo: + +```bash +dpack convert /path/to/Pkgfile -o repos/core/foo/foo.toml +dpack convert /path/to/foo-1.0.ebuild -o repos/extra/foo/foo.toml +``` + +## SHA256 Checksums + +Most package definitions currently have placeholder checksums (`aaa...`). These must be populated with real checksums before building. To compute them: + +```bash +for pkg in core/*/; do + name=$(basename "$pkg") + url=$(grep '^url = ' "$pkg/${name}.toml" | head -1 | sed 's/url = "//;s/"$//' | sed "s/\${version}/$(grep '^version' "$pkg/${name}.toml" | head -1 | sed 's/version = "//;s/"$//')/") + echo "Downloading $name from $url..." + wget -q "$url" -O "/tmp/${name}.tar" && sha256sum "/tmp/${name}.tar" +done +``` + +## Repository + +``` +git@git.dannyhaslund.dk:danny8632/darkforge.git +``` + +Package definitions live in `src/repos/` in the main DarkForge repo. diff --git a/core/amd-microcode/amd-microcode.toml b/core/amd-microcode/amd-microcode.toml new file mode 100644 index 0000000..c0bff90 --- /dev/null +++ b/core/amd-microcode/amd-microcode.toml @@ -0,0 +1,20 @@ +[package] +name = "amd-microcode" +version = "20261201" +description = "AMD CPU microcode updates" +url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" +license = "Redistributable" + +[source] +url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = [] +build = [] + +[build] +system = "custom" +configure = """""" +make = """make""" +install = """mkdir -p ${PKG}/lib/firmware/amd-ucode && cp amd-ucode/*.bin ${PKG}/lib/firmware/amd-ucode/ && mkdir -p ${PKG}/boot && cat ${PKG}/lib/firmware/amd-ucode/microcode_amd*.bin > ${PKG}/boot/amd-ucode.img""" diff --git a/core/autoconf/autoconf.toml b/core/autoconf/autoconf.toml new file mode 100644 index 0000000..e629634 --- /dev/null +++ b/core/autoconf/autoconf.toml @@ -0,0 +1,20 @@ +[package] +name = "autoconf" +version = "2.72" +description = "GNU autoconf build configuration" +url = "https://www.gnu.org/software/autoconf/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/autoconf/autoconf-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["perl", "m4"] +build = ["make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/automake/automake.toml b/core/automake/automake.toml new file mode 100644 index 0000000..dd16047 --- /dev/null +++ b/core/automake/automake.toml @@ -0,0 +1,20 @@ +[package] +name = "automake" +version = "1.18" +description = "GNU automake Makefile generator" +url = "https://www.gnu.org/software/automake/" +license = "GPL-2.0" + +[source] +url = "https://ftp.gnu.org/gnu/automake/automake-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["perl", "autoconf"] +build = ["make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/bash/bash.toml b/core/bash/bash.toml new file mode 100644 index 0000000..296249e --- /dev/null +++ b/core/bash/bash.toml @@ -0,0 +1,20 @@ +[package] +name = "bash" +version = "5.3" +description = "GNU Bourne-Again Shell" +url = "https://www.gnu.org/software/bash/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/bash/bash-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "readline", "ncurses"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --without-bash-malloc --with-installed-readline""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/bc/bc.toml b/core/bc/bc.toml new file mode 100644 index 0000000..c726b96 --- /dev/null +++ b/core/bc/bc.toml @@ -0,0 +1,19 @@ +[package] +name = "bc" +version = "7.0.3" +description = "Arbitrary precision calculator" +url = "https://git.gavinhoward.com/gavin/bc" +license = "BSD-2-Clause" + +[source] +url = "https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "readline"] +build = ["gcc", "make"] + +[build] +configure = """./configure --prefix=/usr -O3 -r""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/binutils/binutils.toml b/core/binutils/binutils.toml new file mode 100644 index 0000000..9c7588d --- /dev/null +++ b/core/binutils/binutils.toml @@ -0,0 +1,20 @@ +[package] +name = "binutils" +version = "2.46" +description = "GNU binary utilities" +url = "https://www.gnu.org/software/binutils/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/binutils/binutils-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib"] +build = ["make", "texinfo"] + +[build] +system = "autotools" +configure = """mkdir build && cd build && ../configure --prefix=/usr --enable-gold --enable-ld=default --enable-plugins --enable-shared --disable-werror --with-system-zlib --enable-default-hash-style=gnu""" +make = """make tooldir=/usr""" +install = """make DESTDIR=${PKG} tooldir=/usr install""" diff --git a/core/bison/bison.toml b/core/bison/bison.toml new file mode 100644 index 0000000..53d53c2 --- /dev/null +++ b/core/bison/bison.toml @@ -0,0 +1,20 @@ +[package] +name = "bison" +version = "3.8.2" +description = "GNU parser generator" +url = "https://www.gnu.org/software/bison/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/bison/bison-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "m4"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/bzip2/bzip2.toml b/core/bzip2/bzip2.toml new file mode 100644 index 0000000..c9023ca --- /dev/null +++ b/core/bzip2/bzip2.toml @@ -0,0 +1,20 @@ +[package] +name = "bzip2" +version = "1.0.8" +description = "Block-sorting file compressor" +url = "https://sourceware.org/bzip2/" +license = "bzip2-1.0.6" + +[source] +url = "https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "custom" +configure = """""" +make = """make -f Makefile-libbz2_so && make clean && make""" +install = """make PREFIX=${PKG}/usr install""" diff --git a/core/cmake/cmake.toml b/core/cmake/cmake.toml new file mode 100644 index 0000000..bacc07d --- /dev/null +++ b/core/cmake/cmake.toml @@ -0,0 +1,20 @@ +[package] +name = "cmake" +version = "4.2.3" +description = "Cross-platform build system generator" +url = "https://cmake.org/" +license = "BSD-3-Clause" + +[source] +url = "https://cmake.org/files/v4.2/cmake-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "curl", "expat", "zlib", "xz", "zstd"] +build = ["gcc", "make"] + +[build] +system = "custom" +configure = """./bootstrap --prefix=/usr --system-libs --no-system-jsoncpp --no-system-cppdap --no-system-librhash""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/coreutils/coreutils.toml b/core/coreutils/coreutils.toml new file mode 100644 index 0000000..d451ff0 --- /dev/null +++ b/core/coreutils/coreutils.toml @@ -0,0 +1,20 @@ +[package] +name = "coreutils" +version = "9.6" +description = "GNU core utilities" +url = "https://www.gnu.org/software/coreutils/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/coreutils/coreutils-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make", "perl"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --enable-no-install-program=kill,uptime""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/curl/curl.toml b/core/curl/curl.toml new file mode 100644 index 0000000..50b0e13 --- /dev/null +++ b/core/curl/curl.toml @@ -0,0 +1,20 @@ +[package] +name = "curl" +version = "8.19.0" +description = "URL transfer library and command-line tool" +url = "https://curl.se/" +license = "MIT" + +[source] +url = "https://curl.se/download/curl-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "openssl", "zlib", "zstd"] +build = ["gcc", "make", "pkg-config"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static --with-openssl --enable-threaded-resolver --with-ca-path=/etc/ssl/certs""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/dbus/dbus.toml b/core/dbus/dbus.toml new file mode 100644 index 0000000..5e7a53b --- /dev/null +++ b/core/dbus/dbus.toml @@ -0,0 +1,20 @@ +[package] +name = "dbus" +version = "1.16.2" +description = "D-Bus message bus system" +url = "https://www.freedesktop.org/wiki/Software/dbus/" +license = "AFL-2.1" + +[source] +url = "https://dbus.freedesktop.org/releases/dbus/dbus-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "expat"] +build = ["gcc", "make", "pkg-config", "meson", "ninja"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Druntime_dir=/run -Dsystem_pid_file=/run/dbus/pid -Dsystem_socket=/run/dbus/system_bus_socket -Ddoxygen_docs=disabled -Dxml_docs=disabled""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/core/dhcpcd/dhcpcd.toml b/core/dhcpcd/dhcpcd.toml new file mode 100644 index 0000000..a79725d --- /dev/null +++ b/core/dhcpcd/dhcpcd.toml @@ -0,0 +1,20 @@ +[package] +name = "dhcpcd" +version = "10.3.0" +description = "DHCP client daemon" +url = "https://github.com/NetworkConfiguration/dhcpcd" +license = "BSD-2-Clause" + +[source] +url = "https://github.com/NetworkConfiguration/dhcpcd/releases/download/v${version}/dhcpcd-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "eudev"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/dhcpcd --dbdir=/var/lib/dhcpcd --runstatedir=/run --disable-privsep""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/diffutils/diffutils.toml b/core/diffutils/diffutils.toml new file mode 100644 index 0000000..91b4a8e --- /dev/null +++ b/core/diffutils/diffutils.toml @@ -0,0 +1,20 @@ +[package] +name = "diffutils" +version = "3.10" +description = "GNU file comparison utilities" +url = "https://www.gnu.org/software/diffutils/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/diffutils/diffutils-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/e2fsprogs/e2fsprogs.toml b/core/e2fsprogs/e2fsprogs.toml new file mode 100644 index 0000000..56db805 --- /dev/null +++ b/core/e2fsprogs/e2fsprogs.toml @@ -0,0 +1,20 @@ +[package] +name = "e2fsprogs" +version = "1.47.4" +description = "Ext2/3/4 filesystem utilities" +url = "https://e2fsprogs.sourceforge.net/" +license = "GPL-2.0" + +[source] +url = "https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v${version}/e2fsprogs-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "util-linux"] +build = ["gcc", "make", "pkg-config", "texinfo"] + +[build] +system = "autotools" +configure = """mkdir -v build && cd build && ../configure --prefix=/usr --bindir=/usr/bin --with-root-prefix="" --enable-elf-shlibs --disable-libblkid --disable-libuuid --disable-uuidd --disable-fsck""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/eudev/eudev.toml b/core/eudev/eudev.toml new file mode 100644 index 0000000..e12d101 --- /dev/null +++ b/core/eudev/eudev.toml @@ -0,0 +1,20 @@ +[package] +name = "eudev" +version = "3.2.14" +description = "Device manager (udev fork without systemd)" +url = "https://github.com/eudev-project/eudev" +license = "GPL-2.0" + +[source] +url = "https://github.com/eudev-project/eudev/releases/download/v${version}/eudev-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "kmod", "util-linux"] +build = ["gcc", "make", "gperf", "pkg-config"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --bindir=/usr/sbin --sysconfdir=/etc --enable-manpages --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/expat/expat.toml b/core/expat/expat.toml new file mode 100644 index 0000000..76c4586 --- /dev/null +++ b/core/expat/expat.toml @@ -0,0 +1,20 @@ +[package] +name = "expat" +version = "2.7.4" +description = "XML parsing library" +url = "https://libexpat.github.io/" +license = "MIT" + +[source] +url = "https://github.com/libexpat/libexpat/releases/download/R_2_7_4/expat-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/file/file.toml b/core/file/file.toml new file mode 100644 index 0000000..ec12ac3 --- /dev/null +++ b/core/file/file.toml @@ -0,0 +1,20 @@ +[package] +name = "file" +version = "5.47" +description = "File type identification utility" +url = "https://www.darwinsys.com/file/" +license = "BSD-2-Clause" + +[source] +url = "https://astron.com/pub/file/file-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/findutils/findutils.toml b/core/findutils/findutils.toml new file mode 100644 index 0000000..08a664c --- /dev/null +++ b/core/findutils/findutils.toml @@ -0,0 +1,20 @@ +[package] +name = "findutils" +version = "4.10.0" +description = "GNU file search utilities" +url = "https://www.gnu.org/software/findutils/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/findutils/findutils-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --localstatedir=/var/lib/locate""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/flex/flex.toml b/core/flex/flex.toml new file mode 100644 index 0000000..2b4826c --- /dev/null +++ b/core/flex/flex.toml @@ -0,0 +1,20 @@ +[package] +name = "flex" +version = "2.6.4" +description = "Fast lexical analyzer generator" +url = "https://github.com/westes/flex" +license = "BSD-2-Clause" + +[source] +url = "https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "m4"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/gawk/gawk.toml b/core/gawk/gawk.toml new file mode 100644 index 0000000..446dcc9 --- /dev/null +++ b/core/gawk/gawk.toml @@ -0,0 +1,20 @@ +[package] +name = "gawk" +version = "5.4.0" +description = "GNU awk text processing language" +url = "https://www.gnu.org/software/gawk/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/gawk/gawk-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "readline", "mpfr"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/gcc/gcc.toml b/core/gcc/gcc.toml new file mode 100644 index 0000000..1ef04fc --- /dev/null +++ b/core/gcc/gcc.toml @@ -0,0 +1,20 @@ +[package] +name = "gcc" +version = "15.2.0" +description = "The GNU Compiler Collection" +url = "https://gcc.gnu.org/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/pub/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "gmp", "mpfr", "mpc", "zlib"] +build = ["make", "sed", "gawk", "texinfo"] + +[build] +system = "autotools" +configure = """mkdir build && cd build && ../configure --prefix=/usr --enable-languages=c,c++ --enable-default-pie --enable-default-ssp --disable-multilib --with-system-zlib""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/gettext/gettext.toml b/core/gettext/gettext.toml new file mode 100644 index 0000000..7515d99 --- /dev/null +++ b/core/gettext/gettext.toml @@ -0,0 +1,20 @@ +[package] +name = "gettext" +version = "0.23.1" +description = "GNU internationalization utilities" +url = "https://www.gnu.org/software/gettext/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/gettext/gettext-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/git/git.toml b/core/git/git.toml new file mode 100644 index 0000000..c73df6a --- /dev/null +++ b/core/git/git.toml @@ -0,0 +1,20 @@ +[package] +name = "git" +version = "2.53.0" +description = "Distributed version control system" +url = "https://git-scm.com/" +license = "GPL-2.0" + +[source] +url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "curl", "openssl", "zlib", "expat", "perl", "python"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --with-gitconfig=/etc/gitconfig --with-python=python3""" +make = """make""" +install = """make DESTDIR=${PKG} perllibdir=/usr/lib/perl5/5.40/site_perl install""" diff --git a/core/glib/glib.toml b/core/glib/glib.toml new file mode 100644 index 0000000..40cbf71 --- /dev/null +++ b/core/glib/glib.toml @@ -0,0 +1,19 @@ +[package] +name = "glib" +version = "2.84.1" +description = "GLib low-level core library" +url = "https://gitlab.gnome.org/GNOME/glib" +license = "LGPL-2.1" + +[source] +url = "https://download.gnome.org/sources/glib/2.84/glib-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "libffi", "zlib", "pcre2"] +build = ["gcc", "meson", "ninja", "pkg-config", "python"] + +[build] +configure = """meson setup build --prefix=/usr --buildtype=release -Dman-pages=disabled""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/core/glibc/glibc.toml b/core/glibc/glibc.toml new file mode 100644 index 0000000..6dfabfd --- /dev/null +++ b/core/glibc/glibc.toml @@ -0,0 +1,20 @@ +[package] +name = "glibc" +version = "2.43" +description = "The GNU C Library" +url = "https://www.gnu.org/software/libc/" +license = "LGPL-2.1" + +[source] +url = "https://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = [] +build = ["gcc", "binutils", "make", "sed", "gawk"] + +[build] +system = "autotools" +configure = """mkdir -v build && cd build && ../configure --prefix=/usr --disable-werror --enable-kernel=5.4 --enable-stack-protector=strong libc_cv_slibdir=/usr/lib""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/gmp/gmp.toml b/core/gmp/gmp.toml new file mode 100644 index 0000000..36c04b0 --- /dev/null +++ b/core/gmp/gmp.toml @@ -0,0 +1,20 @@ +[package] +name = "gmp" +version = "6.3.0" +description = "GNU Multiple Precision Arithmetic Library" +url = "https://gmplib.org/" +license = "LGPL-3.0" + +[source] +url = "https://gmplib.org/download/gmp/gmp-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = [] +build = ["gcc", "make", "m4"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --enable-cxx --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/gperf/gperf.toml b/core/gperf/gperf.toml new file mode 100644 index 0000000..fe59583 --- /dev/null +++ b/core/gperf/gperf.toml @@ -0,0 +1,19 @@ +[package] +name = "gperf" +version = "3.1" +description = "Perfect hash function generator" +url = "https://www.gnu.org/software/gperf/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/gperf/gperf-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/grep/grep.toml b/core/grep/grep.toml new file mode 100644 index 0000000..3422922 --- /dev/null +++ b/core/grep/grep.toml @@ -0,0 +1,20 @@ +[package] +name = "grep" +version = "3.14" +description = "GNU grep pattern matching" +url = "https://www.gnu.org/software/grep/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/grep/grep-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/groff/groff.toml b/core/groff/groff.toml new file mode 100644 index 0000000..cc8ed92 --- /dev/null +++ b/core/groff/groff.toml @@ -0,0 +1,20 @@ +[package] +name = "groff" +version = "1.24.1" +description = "GNU troff typesetting system" +url = "https://www.gnu.org/software/groff/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/groff/groff-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "perl"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/gzip/gzip.toml b/core/gzip/gzip.toml new file mode 100644 index 0000000..cfc7fbf --- /dev/null +++ b/core/gzip/gzip.toml @@ -0,0 +1,20 @@ +[package] +name = "gzip" +version = "1.14" +description = "GNU compression utility" +url = "https://www.gnu.org/software/gzip/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/gzip/gzip-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/iproute2/iproute2.toml b/core/iproute2/iproute2.toml new file mode 100644 index 0000000..3c982b5 --- /dev/null +++ b/core/iproute2/iproute2.toml @@ -0,0 +1,20 @@ +[package] +name = "iproute2" +version = "6.19.0" +description = "IP routing utilities" +url = "https://wiki.linuxfoundation.org/networking/iproute2" +license = "GPL-2.0" + +[source] +url = "https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "libmnl"] +build = ["gcc", "make", "pkg-config", "bison", "flex"] + +[build] +system = "custom" +configure = """""" +make = """make NETNS_RUN_DIR=/run/netns""" +install = """make DESTDIR=${PKG} SBINDIR=/usr/sbin install""" diff --git a/core/kbd/kbd.toml b/core/kbd/kbd.toml new file mode 100644 index 0000000..571b964 --- /dev/null +++ b/core/kbd/kbd.toml @@ -0,0 +1,20 @@ +[package] +name = "kbd" +version = "2.6.4" +description = "Keyboard utilities" +url = "https://kbd-project.org/" +license = "GPL-2.0" + +[source] +url = "https://www.kernel.org/pub/linux/utils/kbd/kbd-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make", "autoconf", "automake"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-vlock""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/kmod/kmod.toml b/core/kmod/kmod.toml new file mode 100644 index 0000000..9385e55 --- /dev/null +++ b/core/kmod/kmod.toml @@ -0,0 +1,20 @@ +[package] +name = "kmod" +version = "34.2" +description = "Linux kernel module handling" +url = "https://github.com/kmod-project/kmod" +license = "GPL-2.0" + +[source] +url = "https://github.com/kmod-project/kmod/archive/refs/tags/v${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib", "xz", "zstd", "openssl"] +build = ["gcc", "make", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/core/less/less.toml b/core/less/less.toml new file mode 100644 index 0000000..d810117 --- /dev/null +++ b/core/less/less.toml @@ -0,0 +1,20 @@ +[package] +name = "less" +version = "692" +description = "Terminal pager" +url = "http://www.greenwoodsoftware.com/less/" +license = "GPL-3.0" + +[source] +url = "https://www.greenwoodsoftware.com/less/less-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "ncurses"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --sysconfdir=/etc""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/libffi/libffi.toml b/core/libffi/libffi.toml new file mode 100644 index 0000000..8248501 --- /dev/null +++ b/core/libffi/libffi.toml @@ -0,0 +1,20 @@ +[package] +name = "libffi" +version = "3.5.2" +description = "Foreign function interface library" +url = "https://github.com/libffi/libffi" +license = "MIT" + +[source] +url = "https://github.com/libffi/libffi/releases/download/v${version}/libffi-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static --with-gcc-arch=native""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/libmnl/libmnl.toml b/core/libmnl/libmnl.toml new file mode 100644 index 0000000..a24f2de --- /dev/null +++ b/core/libmnl/libmnl.toml @@ -0,0 +1,19 @@ +[package] +name = "libmnl" +version = "1.0.5" +description = "Minimalistic Netlink library" +url = "https://netfilter.org/projects/libmnl/" +license = "LGPL-2.1" + +[source] +url = "https://www.netfilter.org/projects/libmnl/files/libmnl-${version}.tar.bz2" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/libpipeline/libpipeline.toml b/core/libpipeline/libpipeline.toml new file mode 100644 index 0000000..1c49a2a --- /dev/null +++ b/core/libpipeline/libpipeline.toml @@ -0,0 +1,19 @@ +[package] +name = "libpipeline" +version = "1.5.8" +description = "Pipeline manipulation library" +url = "https://gitlab.com/cjwatson/libpipeline" +license = "GPL-3.0" + +[source] +url = "https://download.savannah.nongnu.org/releases/libpipeline/libpipeline-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/libtool/libtool.toml b/core/libtool/libtool.toml new file mode 100644 index 0000000..c8d3963 --- /dev/null +++ b/core/libtool/libtool.toml @@ -0,0 +1,20 @@ +[package] +name = "libtool" +version = "2.5.4" +description = "GNU libtool generic library support script" +url = "https://www.gnu.org/software/libtool/" +license = "GPL-2.0" + +[source] +url = "https://ftp.gnu.org/gnu/libtool/libtool-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/libxml2/libxml2.toml b/core/libxml2/libxml2.toml new file mode 100644 index 0000000..003d4d5 --- /dev/null +++ b/core/libxml2/libxml2.toml @@ -0,0 +1,20 @@ +[package] +name = "libxml2" +version = "2.15.2" +description = "XML C parser and toolkit" +url = "https://gitlab.gnome.org/GNOME/libxml2" +license = "MIT" + +[source] +url = "https://download.gnome.org/sources/libxml2/2.15/libxml2-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib", "xz", "readline"] +build = ["gcc", "make", "pkg-config", "python"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static --with-history --with-python=/usr/bin/python3""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/linux/linux.toml b/core/linux/linux.toml new file mode 100644 index 0000000..decf10e --- /dev/null +++ b/core/linux/linux.toml @@ -0,0 +1,20 @@ +[package] +name = "linux" +version = "6.19.8" +description = "The Linux kernel" +url = "https://www.kernel.org/" +license = "GPL-2.0" + +[source] +url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = [] +build = ["gcc", "make", "bc", "flex", "bison", "openssl", "perl"] + +[build] +system = "custom" +configure = """""" +make = """make""" +install = """make INSTALL_MOD_PATH=${PKG} modules_install""" diff --git a/core/m4/m4.toml b/core/m4/m4.toml new file mode 100644 index 0000000..67cd3a1 --- /dev/null +++ b/core/m4/m4.toml @@ -0,0 +1,20 @@ +[package] +name = "m4" +version = "1.4.20" +description = "GNU macro processor" +url = "https://www.gnu.org/software/m4/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/m4/m4-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/make/make.toml b/core/make/make.toml new file mode 100644 index 0000000..d3b1c94 --- /dev/null +++ b/core/make/make.toml @@ -0,0 +1,20 @@ +[package] +name = "make" +version = "4.4.1" +description = "GNU make build tool" +url = "https://www.gnu.org/software/make/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/make/make-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/man-db/man-db.toml b/core/man-db/man-db.toml new file mode 100644 index 0000000..a054a74 --- /dev/null +++ b/core/man-db/man-db.toml @@ -0,0 +1,20 @@ +[package] +name = "man-db" +version = "2.13.1" +description = "Manual page browser" +url = "https://man-db.nongnu.org/" +license = "GPL-2.0" + +[source] +url = "https://download.savannah.nongnu.org/releases/man-db/man-db-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "groff", "less", "libpipeline"] +build = ["gcc", "make", "pkg-config"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --sysconfdir=/etc --disable-setuid --enable-cache-owner=bin --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/man-pages/man-pages.toml b/core/man-pages/man-pages.toml new file mode 100644 index 0000000..a53b2e4 --- /dev/null +++ b/core/man-pages/man-pages.toml @@ -0,0 +1,20 @@ +[package] +name = "man-pages" +version = "6.16" +description = "Linux man pages" +url = "https://www.kernel.org/doc/man-pages/" +license = "GPL-2.0" + +[source] +url = "https://www.kernel.org/pub/linux/docs/man-pages/man-pages-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = [] +build = [] + +[build] +system = "custom" +configure = """""" +make = """make""" +install = """make DESTDIR=${PKG} prefix=/usr install""" diff --git a/core/meson/meson.toml b/core/meson/meson.toml new file mode 100644 index 0000000..ded4b4d --- /dev/null +++ b/core/meson/meson.toml @@ -0,0 +1,20 @@ +[package] +name = "meson" +version = "1.10.2" +description = "High performance build system" +url = "https://mesonbuild.com/" +license = "Apache-2.0" + +[source] +url = "https://github.com/mesonbuild/meson/releases/download/${version}/meson-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["python"] +build = ["python"] + +[build] +system = "custom" +configure = """""" +make = """python3 setup.py build""" +install = """python3 setup.py install --root=${PKG}""" diff --git a/core/mpc/mpc.toml b/core/mpc/mpc.toml new file mode 100644 index 0000000..a488214 --- /dev/null +++ b/core/mpc/mpc.toml @@ -0,0 +1,20 @@ +[package] +name = "mpc" +version = "1.3.1" +description = "Multiple-precision complex number library" +url = "https://www.multiprecision.org/mpc/" +license = "LGPL-2.1" + +[source] +url = "https://ftp.gnu.org/gnu/mpc/mpc-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["gmp", "mpfr"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/mpfr/mpfr.toml b/core/mpfr/mpfr.toml new file mode 100644 index 0000000..a4abb13 --- /dev/null +++ b/core/mpfr/mpfr.toml @@ -0,0 +1,20 @@ +[package] +name = "mpfr" +version = "4.2.2" +description = "Multiple-precision floating-point library" +url = "https://www.mpfr.org/" +license = "LGPL-3.0" + +[source] +url = "https://www.mpfr.org/mpfr-current/mpfr-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["gmp"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static --enable-thread-safe""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/ncurses/ncurses.toml b/core/ncurses/ncurses.toml new file mode 100644 index 0000000..c7816dc --- /dev/null +++ b/core/ncurses/ncurses.toml @@ -0,0 +1,20 @@ +[package] +name = "ncurses" +version = "6.5" +description = "Terminal handling library" +url = "https://invisible-island.net/ncurses/" +license = "MIT" + +[source] +url = "https://invisible-island.net/datafiles/release/ncurses-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --mandir=/usr/share/man --with-shared --without-debug --without-normal --with-cxx-shared --enable-pc-files --with-pkg-config-libdir=/usr/lib/pkgconfig""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/ninja/ninja.toml b/core/ninja/ninja.toml new file mode 100644 index 0000000..8d4b7b3 --- /dev/null +++ b/core/ninja/ninja.toml @@ -0,0 +1,20 @@ +[package] +name = "ninja" +version = "1.13.0" +description = "Small build system with a focus on speed" +url = "https://ninja-build.org/" +license = "Apache-2.0" + +[source] +url = "https://github.com/ninja-build/ninja/archive/v${version}/ninja-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make", "python"] + +[build] +system = "custom" +configure = """""" +make = """python3 configure.py --bootstrap""" +install = """install -Dm755 ninja ${PKG}/usr/bin/ninja""" diff --git a/core/openssl/openssl.toml b/core/openssl/openssl.toml new file mode 100644 index 0000000..e80e2d2 --- /dev/null +++ b/core/openssl/openssl.toml @@ -0,0 +1,20 @@ +[package] +name = "openssl" +version = "3.6.1" +description = "Cryptography and TLS toolkit" +url = "https://www.openssl.org/" +license = "Apache-2.0" + +[source] +url = "https://github.com/openssl/openssl/releases/download/openssl-${version}/openssl-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib"] +build = ["gcc", "make", "perl"] + +[build] +system = "custom" +configure = """./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib shared zlib-dynamic""" +make = """make""" +install = """make DESTDIR=${PKG} MANSUFFIX=ssl install""" diff --git a/core/patch/patch.toml b/core/patch/patch.toml new file mode 100644 index 0000000..98d9eb7 --- /dev/null +++ b/core/patch/patch.toml @@ -0,0 +1,20 @@ +[package] +name = "patch" +version = "2.8" +description = "GNU patch utility" +url = "https://www.gnu.org/software/patch/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/patch/patch-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/pcre2/pcre2.toml b/core/pcre2/pcre2.toml new file mode 100644 index 0000000..b5898af --- /dev/null +++ b/core/pcre2/pcre2.toml @@ -0,0 +1,19 @@ +[package] +name = "pcre2" +version = "10.45" +description = "Perl Compatible Regular Expressions v2" +url = "https://github.com/PCRE2Project/pcre2" +license = "BSD-3-Clause" + +[source] +url = "https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.bz2" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib", "readline"] +build = ["gcc", "make", "cmake"] + +[build] +configure = """./configure --prefix=/usr --enable-unicode --enable-jit --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-libz --enable-pcre2grep-libbz2 --enable-pcre2test-libreadline --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/perl/perl.toml b/core/perl/perl.toml new file mode 100644 index 0000000..2ee513a --- /dev/null +++ b/core/perl/perl.toml @@ -0,0 +1,20 @@ +[package] +name = "perl" +version = "5.40.2" +description = "Practical Extraction and Report Language" +url = "https://www.perl.org/" +license = "Artistic-1.0" + +[source] +url = "https://www.cpan.org/src/5.0/perl-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib"] +build = ["gcc", "make"] + +[build] +system = "custom" +configure = """sh Configure -des -Dprefix=/usr -Dvendorprefix=/usr -Dprivlib=/usr/lib/perl5/5.40/core_perl -Darchlib=/usr/lib/perl5/5.40/core_perl -Dsitelib=/usr/lib/perl5/5.40/site_perl -Dsitearch=/usr/lib/perl5/5.40/site_perl -Dvendorlib=/usr/lib/perl5/5.40/vendor_perl -Dvendorarch=/usr/lib/perl5/5.40/vendor_perl -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dpager='/usr/bin/less -isR' -Duseshrplib -Dusethreads""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/pkg-config/pkg-config.toml b/core/pkg-config/pkg-config.toml new file mode 100644 index 0000000..75bf81c --- /dev/null +++ b/core/pkg-config/pkg-config.toml @@ -0,0 +1,20 @@ +[package] +name = "pkg-config" +version = "1.8.0" +description = "Package configuration helper tool" +url = "https://www.freedesktop.org/wiki/Software/pkg-config/" +license = "GPL-2.0" + +[source] +url = "https://pkgconfig.freedesktop.org/releases/pkg-config-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "glib"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --with-internal-glib --disable-host-tool""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/procps-ng/procps-ng.toml b/core/procps-ng/procps-ng.toml new file mode 100644 index 0000000..8072e04 --- /dev/null +++ b/core/procps-ng/procps-ng.toml @@ -0,0 +1,20 @@ +[package] +name = "procps-ng" +version = "4.0.6" +description = "Process monitoring utilities (ps, top, free, etc.)" +url = "https://gitlab.com/procps-ng/procps" +license = "GPL-2.0" + +[source] +url = "https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "ncurses"] +build = ["gcc", "make", "pkg-config"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static --disable-kill""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/python/python.toml b/core/python/python.toml new file mode 100644 index 0000000..805426a --- /dev/null +++ b/core/python/python.toml @@ -0,0 +1,20 @@ +[package] +name = "python" +version = "3.13.3" +description = "Python programming language" +url = "https://www.python.org/" +license = "PSF-2.0" + +[source] +url = "https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "expat", "libffi", "openssl", "zlib", "xz", "ncurses", "readline"] +build = ["gcc", "make", "pkg-config"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --enable-shared --with-system-expat --enable-optimizations""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/readline/readline.toml b/core/readline/readline.toml new file mode 100644 index 0000000..8e9de2c --- /dev/null +++ b/core/readline/readline.toml @@ -0,0 +1,20 @@ +[package] +name = "readline" +version = "8.3" +description = "GNU readline library" +url = "https://tiswww.case.edu/php/chet/readline/rltop.html" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/readline/readline-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["ncurses"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static --with-curses""" +make = """make SHLIB_LIBS='-lncursesw'""" +install = """make SHLIB_LIBS='-lncursesw' DESTDIR=${PKG} install""" diff --git a/core/sed/sed.toml b/core/sed/sed.toml new file mode 100644 index 0000000..b8ca0a2 --- /dev/null +++ b/core/sed/sed.toml @@ -0,0 +1,20 @@ +[package] +name = "sed" +version = "4.9" +description = "GNU stream editor" +url = "https://www.gnu.org/software/sed/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/sed/sed-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/shadow/shadow.toml b/core/shadow/shadow.toml new file mode 100644 index 0000000..a60c1fb --- /dev/null +++ b/core/shadow/shadow.toml @@ -0,0 +1,20 @@ +[package] +name = "shadow" +version = "4.14" +description = "User and group management utilities" +url = "https://github.com/shadow-maint/shadow" +license = "BSD-3-Clause" + +[source] +url = "https://github.com/shadow-maint/shadow/releases/download/${version}/shadow-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --sysconfdir=/etc --disable-static --with-group-name-max-length=32""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/sysvinit/sysvinit.toml b/core/sysvinit/sysvinit.toml new file mode 100644 index 0000000..5286035 --- /dev/null +++ b/core/sysvinit/sysvinit.toml @@ -0,0 +1,20 @@ +[package] +name = "sysvinit" +version = "3.15" +description = "System V style init programs" +url = "https://savannah.nongnu.org/projects/sysvinit/" +license = "GPL-2.0" + +[source] +url = "https://github.com/slicer69/sysvinit/releases/download/${version}/sysvinit-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "custom" +configure = """""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/tar/tar.toml b/core/tar/tar.toml new file mode 100644 index 0000000..d4a6240 --- /dev/null +++ b/core/tar/tar.toml @@ -0,0 +1,20 @@ +[package] +name = "tar" +version = "1.35" +description = "GNU tar archiver" +url = "https://www.gnu.org/software/tar/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/tar/tar-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/texinfo/texinfo.toml b/core/texinfo/texinfo.toml new file mode 100644 index 0000000..04410b9 --- /dev/null +++ b/core/texinfo/texinfo.toml @@ -0,0 +1,20 @@ +[package] +name = "texinfo" +version = "7.3" +description = "GNU documentation system" +url = "https://www.gnu.org/software/texinfo/" +license = "GPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/texinfo/texinfo-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "perl", "ncurses"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/util-linux/util-linux.toml b/core/util-linux/util-linux.toml new file mode 100644 index 0000000..53eed81 --- /dev/null +++ b/core/util-linux/util-linux.toml @@ -0,0 +1,20 @@ +[package] +name = "util-linux" +version = "2.42" +description = "Miscellaneous system utilities" +url = "https://github.com/util-linux/util-linux" +license = "GPL-2.0" + +[source] +url = "https://www.kernel.org/pub/linux/utils/util-linux/v2.42/util-linux-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "ncurses", "zlib"] +build = ["gcc", "make", "pkg-config"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --runstatedir=/run --sbindir=/usr/sbin --disable-chfn-chsh --disable-login --disable-nologin --disable-su --disable-setpriv --disable-runuser --disable-pylibmount --disable-static --disable-liblastlog2 --without-python ADJTIME_PATH=/var/lib/hwclock/adjtime""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/xz/xz.toml b/core/xz/xz.toml new file mode 100644 index 0000000..1bfea58 --- /dev/null +++ b/core/xz/xz.toml @@ -0,0 +1,20 @@ +[package] +name = "xz" +version = "5.8.1" +description = "XZ Utils compression" +url = "https://xz.tukaani.org/xz-utils/" +license = "LGPL-2.1" + +[source] +url = "https://github.com/tukaani-project/xz/releases/download/v${version}/xz-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/core/zlib/zlib.toml b/core/zlib/zlib.toml new file mode 100644 index 0000000..523c8be --- /dev/null +++ b/core/zlib/zlib.toml @@ -0,0 +1,31 @@ +# DarkForge Linux — Package Definition: zlib +# This serves as the canonical example of the .dpack format. + +[package] +name = "zlib" +version = "1.3.1" +description = "Compression library implementing the deflate algorithm" +url = "https://zlib.net/" +license = "zlib" + +[source] +url = "https://zlib.net/zlib-${version}.tar.xz" +sha256 = "38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32" + +[dependencies] +run = [] +build = ["gcc", "make"] + +[dependencies.optional] +static = { description = "Build static library", default = true } +minizip = { description = "Build minizip utility", deps = [] } + +[build] +configure = "./configure --prefix=/usr" +make = "make" +install = "make DESTDIR=${PKG} install" + +# Per-package flag overrides (empty = use global defaults) +[build.flags] +cflags = "" +ldflags = "" diff --git a/core/zstd/zstd.toml b/core/zstd/zstd.toml new file mode 100644 index 0000000..6438e80 --- /dev/null +++ b/core/zstd/zstd.toml @@ -0,0 +1,20 @@ +[package] +name = "zstd" +version = "1.5.7" +description = "Zstandard fast real-time compression" +url = "https://facebook.github.io/zstd/" +license = "BSD-3-Clause" + +[source] +url = "https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make", "cmake"] + +[build] +system = "custom" +configure = """""" +make = """make prefix=/usr""" +install = """make prefix=/usr DESTDIR=${PKG} install""" diff --git a/desktop/dwl/dwl.toml b/desktop/dwl/dwl.toml new file mode 100644 index 0000000..cf3f7cd --- /dev/null +++ b/desktop/dwl/dwl.toml @@ -0,0 +1,20 @@ +[package] +name = "dwl" +version = "0.7" +description = "Dynamic window manager for Wayland (dwm-like)" +url = "https://codeberg.org/dwl/dwl" +license = "GPL-3.0" + +[source] +url = "https://codeberg.org/dwl/dwl/archive/v${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["wlroots", "wayland", "wayland-protocols", "libinput", "xwayland"] +build = ["gcc", "make", "pkg-config"] + +[build] +system = "custom" +configure = """""" +make = """make""" +install = """make DESTDIR=${PKG} PREFIX=/usr install""" diff --git a/desktop/firefox/firefox.toml b/desktop/firefox/firefox.toml new file mode 100644 index 0000000..fb621a7 --- /dev/null +++ b/desktop/firefox/firefox.toml @@ -0,0 +1,20 @@ +[package] +name = "firefox" +version = "137.0" +description = "Mozilla Firefox web browser" +url = "https://www.mozilla.org/firefox/" +license = "MPL-2.0" + +[source] +url = "https://archive.mozilla.org/pub/firefox/releases/${version}/source/firefox-${version}.source.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "dbus", "glib", "pango", "cairo", "freetype", "fontconfig", "libffi", "openssl", "zlib"] +build = ["gcc", "make", "python", "perl", "pkg-config", "autoconf", "rust", "cbindgen", "nodejs", "nasm"] + +[build] +system = "custom" +configure = """""" +make = """make -f client.mk""" +install = """make -f client.mk DESTDIR=${PKG} install""" diff --git a/desktop/foot/foot.toml b/desktop/foot/foot.toml new file mode 100644 index 0000000..b135d3b --- /dev/null +++ b/desktop/foot/foot.toml @@ -0,0 +1,20 @@ +[package] +name = "foot" +version = "1.21.1" +description = "Fast, lightweight Wayland terminal emulator" +url = "https://codeberg.org/dnkl/foot" +license = "MIT" + +[source] +url = "https://codeberg.org/dnkl/foot/archive/${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "wayland", "fontconfig", "freetype", "pixman", "libxkbcommon"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/freecad/freecad.toml b/desktop/freecad/freecad.toml new file mode 100644 index 0000000..ae7d4f8 --- /dev/null +++ b/desktop/freecad/freecad.toml @@ -0,0 +1,20 @@ +[package] +name = "freecad" +version = "1.0.0" +description = "Parametric 3D CAD modeler" +url = "https://www.freecad.org/" +license = "LGPL-2.0" + +[source] +url = "https://github.com/FreeCAD/FreeCAD/archive/refs/tags/${version}/FreeCAD-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "python", "qt6-base", "opencascade", "boost", "xerces-c", "freetype", "zlib", "libpng"] +build = ["gcc", "cmake", "ninja", "pkg-config", "swig"] + +[build] +system = "cmake" +configure = """cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_QT5=OFF -DBUILD_FEM=ON""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/fuzzel/fuzzel.toml b/desktop/fuzzel/fuzzel.toml new file mode 100644 index 0000000..7ee0ec4 --- /dev/null +++ b/desktop/fuzzel/fuzzel.toml @@ -0,0 +1,20 @@ +[package] +name = "fuzzel" +version = "1.12.0" +description = "Application launcher for Wayland" +url = "https://codeberg.org/dnkl/fuzzel" +license = "MIT" + +[source] +url = "https://codeberg.org/dnkl/fuzzel/archive/${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "wayland", "fontconfig", "freetype", "pixman", "libxkbcommon", "cairo"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/grim/grim.toml b/desktop/grim/grim.toml new file mode 100644 index 0000000..b2ffcc8 --- /dev/null +++ b/desktop/grim/grim.toml @@ -0,0 +1,20 @@ +[package] +name = "grim" +version = "1.4.1" +description = "Screenshot tool for Wayland" +url = "https://sr.ht/~emersion/grim/" +license = "MIT" + +[source] +url = "https://git.sr.ht/~emersion/grim/archive/v${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["wayland", "wayland-protocols", "pixman", "libpng"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/libevdev/libevdev.toml b/desktop/libevdev/libevdev.toml new file mode 100644 index 0000000..5fccdd2 --- /dev/null +++ b/desktop/libevdev/libevdev.toml @@ -0,0 +1,20 @@ +[package] +name = "libevdev" +version = "1.13.3" +description = "Input event device wrapper" +url = "https://freedesktop.org/wiki/Software/libevdev/" +license = "MIT" + +[source] +url = "https://freedesktop.org/software/libevdev/libevdev-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "meson", "ninja"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/libinput/libinput.toml b/desktop/libinput/libinput.toml new file mode 100644 index 0000000..41aad5d --- /dev/null +++ b/desktop/libinput/libinput.toml @@ -0,0 +1,20 @@ +[package] +name = "libinput" +version = "1.28.1" +description = "Input device handling library" +url = "https://www.freedesktop.org/wiki/Software/libinput/" +license = "MIT" + +[source] +url = "https://gitlab.freedesktop.org/libinput/libinput/-/releases/${version}/downloads/libinput-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "eudev", "libevdev", "mtdev"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Ddocumentation=false -Dtests=false -Ddebug-gui=false""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/libxkbcommon/libxkbcommon.toml b/desktop/libxkbcommon/libxkbcommon.toml new file mode 100644 index 0000000..0b382bb --- /dev/null +++ b/desktop/libxkbcommon/libxkbcommon.toml @@ -0,0 +1,20 @@ +[package] +name = "libxkbcommon" +version = "1.7.0" +description = "Keyboard keymap compilation library" +url = "https://xkbcommon.org/" +license = "MIT" + +[source] +url = "https://xkbcommon.org/download/libxkbcommon-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "wayland", "wayland-protocols", "xkeyboard-config", "libxml2"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Denable-docs=false""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/mtdev/mtdev.toml b/desktop/mtdev/mtdev.toml new file mode 100644 index 0000000..e01b4f7 --- /dev/null +++ b/desktop/mtdev/mtdev.toml @@ -0,0 +1,20 @@ +[package] +name = "mtdev" +version = "1.1.7" +description = "Multitouch device translation library" +url = "https://bitmath.org/code/mtdev/" +license = "MIT" + +[source] +url = "https://bitmath.org/code/mtdev/mtdev-${version}.tar.bz2" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/desktop/slurp/slurp.toml b/desktop/slurp/slurp.toml new file mode 100644 index 0000000..2cd2b51 --- /dev/null +++ b/desktop/slurp/slurp.toml @@ -0,0 +1,20 @@ +[package] +name = "slurp" +version = "1.5.0" +description = "Region selector for Wayland" +url = "https://github.com/emersion/slurp" +license = "MIT" + +[source] +url = "https://github.com/emersion/slurp/archive/v${version}/slurp-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["wayland", "wayland-protocols", "cairo"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/wayland-protocols/wayland-protocols.toml b/desktop/wayland-protocols/wayland-protocols.toml new file mode 100644 index 0000000..2785b1d --- /dev/null +++ b/desktop/wayland-protocols/wayland-protocols.toml @@ -0,0 +1,20 @@ +[package] +name = "wayland-protocols" +version = "1.41" +description = "Wayland protocol extensions" +url = "https://wayland.freedesktop.org/" +license = "MIT" + +[source] +url = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${version}/downloads/wayland-protocols-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["wayland"] +build = ["meson", "ninja"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/wayland/wayland.toml b/desktop/wayland/wayland.toml new file mode 100644 index 0000000..3f7d402 --- /dev/null +++ b/desktop/wayland/wayland.toml @@ -0,0 +1,20 @@ +[package] +name = "wayland" +version = "1.23.1" +description = "Wayland display protocol" +url = "https://wayland.freedesktop.org/" +license = "MIT" + +[source] +url = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${version}/downloads/wayland-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "libffi", "expat", "libxml2"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Ddocumentation=false""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/wezterm/wezterm.toml b/desktop/wezterm/wezterm.toml new file mode 100644 index 0000000..ba6f51d --- /dev/null +++ b/desktop/wezterm/wezterm.toml @@ -0,0 +1,20 @@ +[package] +name = "wezterm" +version = "20240203-110809" +description = "GPU-accelerated terminal emulator" +url = "https://wezfurlong.org/wezterm/" +license = "MIT" + +[source] +url = "https://github.com/wez/wezterm/releases/download/${version}-5046fc22/wezterm-${version}-src.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "openssl", "zlib", "fontconfig", "freetype", "wayland", "libxkbcommon", "xcb"] +build = ["rust", "cmake", "pkg-config", "python"] + +[build] +system = "cargo" +configure = """""" +make = """cargo build --release""" +install = """install -Dm755 target/release/wezterm ${PKG}/usr/bin/wezterm && install -Dm755 target/release/wezterm-gui ${PKG}/usr/bin/wezterm-gui && install -Dm755 target/release/wezterm-mux-server ${PKG}/usr/bin/wezterm-mux-server""" diff --git a/desktop/wl-clipboard/wl-clipboard.toml b/desktop/wl-clipboard/wl-clipboard.toml new file mode 100644 index 0000000..55a4e37 --- /dev/null +++ b/desktop/wl-clipboard/wl-clipboard.toml @@ -0,0 +1,20 @@ +[package] +name = "wl-clipboard" +version = "2.2.1" +description = "Wayland clipboard utilities" +url = "https://github.com/bugaevc/wl-clipboard" +license = "GPL-3.0" + +[source] +url = "https://github.com/bugaevc/wl-clipboard/archive/v${version}/wl-clipboard-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["wayland"] +build = ["gcc", "meson", "ninja"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/wlroots/wlroots.toml b/desktop/wlroots/wlroots.toml new file mode 100644 index 0000000..ced08bf --- /dev/null +++ b/desktop/wlroots/wlroots.toml @@ -0,0 +1,20 @@ +[package] +name = "wlroots" +version = "0.18.2" +description = "Modular Wayland compositor library" +url = "https://gitlab.freedesktop.org/wlroots/wlroots" +license = "MIT" + +[source] +url = "https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/${version}/downloads/wlroots-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["wayland", "wayland-protocols", "libdrm", "mesa", "seatd", "libinput", "pixman", "xwayland"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Dxwayland=enabled""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/xkeyboard-config/xkeyboard-config.toml b/desktop/xkeyboard-config/xkeyboard-config.toml new file mode 100644 index 0000000..5d71685 --- /dev/null +++ b/desktop/xkeyboard-config/xkeyboard-config.toml @@ -0,0 +1,20 @@ +[package] +name = "xkeyboard-config" +version = "2.43" +description = "X keyboard configuration database" +url = "https://freedesktop.org/wiki/Software/XKeyboardConfig/" +license = "MIT" + +[source] +url = "https://xorg.freedesktop.org/archive/individual/data/xkeyboard-config/xkeyboard-config-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = [] +build = ["meson", "ninja"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/xwayland/xwayland.toml b/desktop/xwayland/xwayland.toml new file mode 100644 index 0000000..357794b --- /dev/null +++ b/desktop/xwayland/xwayland.toml @@ -0,0 +1,20 @@ +[package] +name = "xwayland" +version = "24.1.6" +description = "X11 compatibility layer for Wayland" +url = "https://xorg.freedesktop.org/" +license = "MIT" + +[source] +url = "https://xorg.freedesktop.org/archive/individual/xserver/xwayland-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["wayland", "wayland-protocols", "libdrm", "mesa", "pixman", "libxkbcommon"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/desktop/zsh/zsh.toml b/desktop/zsh/zsh.toml new file mode 100644 index 0000000..263b410 --- /dev/null +++ b/desktop/zsh/zsh.toml @@ -0,0 +1,20 @@ +[package] +name = "zsh" +version = "5.9.1" +description = "Z shell (user's interactive shell)" +url = "https://www.zsh.org/" +license = "MIT-like" + +[source] +url = "https://www.zsh.org/pub/zsh-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "ncurses", "pcre2"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --enable-multibyte --enable-pcre --with-tcsetpgrp""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/extra/cairo/cairo.toml b/extra/cairo/cairo.toml new file mode 100644 index 0000000..539acd8 --- /dev/null +++ b/extra/cairo/cairo.toml @@ -0,0 +1,20 @@ +[package] +name = "cairo" +version = "1.18.4" +description = "2D graphics library" +url = "https://cairographics.org/" +license = "LGPL-2.1" + +[source] +url = "https://cairographics.org/releases/cairo-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "libpng", "freetype", "fontconfig", "pixman", "glib"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/duktape/duktape.toml b/extra/duktape/duktape.toml new file mode 100644 index 0000000..0a05eb6 --- /dev/null +++ b/extra/duktape/duktape.toml @@ -0,0 +1,20 @@ +[package] +name = "duktape" +version = "2.7.0" +description = "Embeddable JavaScript engine" +url = "https://duktape.org/" +license = "MIT" + +[source] +url = "https://duktape.org/duktape-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "custom" +configure = """""" +make = """make -f Makefile.sharedlibrary""" +install = """make -f Makefile.sharedlibrary DESTDIR=${PKG} INSTALL_PREFIX=/usr install""" diff --git a/extra/fontconfig/fontconfig.toml b/extra/fontconfig/fontconfig.toml new file mode 100644 index 0000000..c66170b --- /dev/null +++ b/extra/fontconfig/fontconfig.toml @@ -0,0 +1,20 @@ +[package] +name = "fontconfig" +version = "2.16.0" +description = "Font configuration and access library" +url = "https://www.freedesktop.org/wiki/Software/fontconfig/" +license = "MIT" + +[source] +url = "https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "freetype", "expat"] +build = ["gcc", "meson", "ninja", "pkg-config", "gperf"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/freetype/freetype.toml b/extra/freetype/freetype.toml new file mode 100644 index 0000000..779ebd7 --- /dev/null +++ b/extra/freetype/freetype.toml @@ -0,0 +1,20 @@ +[package] +name = "freetype" +version = "2.13.3" +description = "Font rendering engine" +url = "https://freetype.org/" +license = "FTL" + +[source] +url = "https://downloads.sourceforge.net/freetype/freetype-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib", "bzip2", "libpng"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Dharfbuzz=disabled""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/gnutls/gnutls.toml b/extra/gnutls/gnutls.toml new file mode 100644 index 0000000..30bef1e --- /dev/null +++ b/extra/gnutls/gnutls.toml @@ -0,0 +1,20 @@ +[package] +name = "gnutls" +version = "3.8.9" +description = "GNU Transport Layer Security Library" +url = "https://www.gnutls.org/" +license = "LGPL-2.1" + +[source] +url = "https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "nettle", "libtasn1", "p11-kit"] +build = ["gcc", "make", "pkg-config"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static --with-default-trust-store-pkcs11='pkcs11:'""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/extra/harfbuzz/harfbuzz.toml b/extra/harfbuzz/harfbuzz.toml new file mode 100644 index 0000000..6d74d03 --- /dev/null +++ b/extra/harfbuzz/harfbuzz.toml @@ -0,0 +1,20 @@ +[package] +name = "harfbuzz" +version = "10.4.0" +description = "Text shaping engine" +url = "https://harfbuzz.github.io/" +license = "MIT" + +[source] +url = "https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "freetype", "glib"] +build = ["gcc", "meson", "ninja", "pkg-config", "python"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/libdrm/libdrm.toml b/extra/libdrm/libdrm.toml new file mode 100644 index 0000000..7bb25d2 --- /dev/null +++ b/extra/libdrm/libdrm.toml @@ -0,0 +1,20 @@ +[package] +name = "libdrm" +version = "2.4.124" +description = "Direct Rendering Manager library" +url = "https://dri.freedesktop.org/" +license = "MIT" + +[source] +url = "https://dri.freedesktop.org/libdrm/libdrm-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/libpng/libpng.toml b/extra/libpng/libpng.toml new file mode 100644 index 0000000..9f413fb --- /dev/null +++ b/extra/libpng/libpng.toml @@ -0,0 +1,20 @@ +[package] +name = "libpng" +version = "1.6.47" +description = "PNG reference library" +url = "http://www.libpng.org/pub/png/libpng.html" +license = "Libpng" + +[source] +url = "https://downloads.sourceforge.net/libpng/libpng-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/extra/libtasn1/libtasn1.toml b/extra/libtasn1/libtasn1.toml new file mode 100644 index 0000000..8602d8c --- /dev/null +++ b/extra/libtasn1/libtasn1.toml @@ -0,0 +1,20 @@ +[package] +name = "libtasn1" +version = "4.19.0" +description = "ASN.1 structure parser library" +url = "https://www.gnu.org/software/libtasn1/" +license = "LGPL-2.1" + +[source] +url = "https://ftp.gnu.org/gnu/libtasn1/libtasn1-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/extra/lua/lua.toml b/extra/lua/lua.toml new file mode 100644 index 0000000..ce19e03 --- /dev/null +++ b/extra/lua/lua.toml @@ -0,0 +1,20 @@ +[package] +name = "lua" +version = "5.4.7" +description = "Lightweight scripting language" +url = "https://www.lua.org/" +license = "MIT" + +[source] +url = "https://www.lua.org/ftp/lua-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "readline"] +build = ["gcc", "make"] + +[build] +system = "custom" +configure = """""" +make = """make linux MYCFLAGS="$(pkg-config --cflags readline)" MYLIBS="$(pkg-config --libs readline)"""" +install = """make INSTALL_TOP=${PKG}/usr install""" diff --git a/extra/lxqt-policykit/lxqt-policykit.toml b/extra/lxqt-policykit/lxqt-policykit.toml new file mode 100644 index 0000000..88c95c6 --- /dev/null +++ b/extra/lxqt-policykit/lxqt-policykit.toml @@ -0,0 +1,20 @@ +[package] +name = "lxqt-policykit" +version = "2.1.0" +description = "LXQt polkit authentication agent" +url = "https://lxqt-project.org/" +license = "LGPL-2.1" + +[source] +url = "https://github.com/lxqt/lxqt-policykit/releases/download/${version}/lxqt-policykit-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["polkit", "qt6-base", "glib"] +build = ["gcc", "cmake", "ninja", "pkg-config"] + +[build] +system = "cmake" +configure = """cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/mesa/mesa.toml b/extra/mesa/mesa.toml new file mode 100644 index 0000000..dd5d2d0 --- /dev/null +++ b/extra/mesa/mesa.toml @@ -0,0 +1,20 @@ +[package] +name = "mesa" +version = "25.3.3" +description = "OpenGL and Vulkan graphics library" +url = "https://mesa3d.org/" +license = "MIT" + +[source] +url = "https://archive.mesa3d.org/mesa-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib", "zstd", "expat", "libdrm", "libxml2", "wayland", "wayland-protocols"] +build = ["gcc", "meson", "ninja", "pkg-config", "python", "flex", "bison", "cmake"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Dplatforms=wayland -Dgallium-drivers=swrast -Dvulkan-drivers= -Dglx=disabled -Degl=enabled -Dopengl=true""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/nettle/nettle.toml b/extra/nettle/nettle.toml new file mode 100644 index 0000000..de193c6 --- /dev/null +++ b/extra/nettle/nettle.toml @@ -0,0 +1,20 @@ +[package] +name = "nettle" +version = "3.10.1" +description = "Low-level cryptographic library" +url = "https://www.lysator.liu.se/~nisse/nettle/" +license = "LGPL-3.0" + +[source] +url = "https://ftp.gnu.org/gnu/nettle/nettle-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "gmp"] +build = ["gcc", "make"] + +[build] +system = "autotools" +configure = """./configure --prefix=/usr --disable-static""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/extra/nvidia-open/nvidia-open.toml b/extra/nvidia-open/nvidia-open.toml new file mode 100644 index 0000000..c5e86e9 --- /dev/null +++ b/extra/nvidia-open/nvidia-open.toml @@ -0,0 +1,85 @@ +# DarkForge Linux — NVIDIA Open Kernel Modules + Userspace +# RTX 5090 (Blackwell, GB202) requires nvidia-open 570.86.16+ +# This package builds the open-source kernel modules and installs +# the proprietary userspace libraries (Vulkan ICD, OpenGL, EGL, GBM). +# +# NOTE: This is a complex multi-step package. The kernel modules are +# built against the running kernel headers, and the userspace libraries +# come from a separate download. + +[package] +name = "nvidia-open" +version = "570.133.07" +description = "NVIDIA open kernel modules and proprietary userspace (RTX 5090)" +url = "https://github.com/NVIDIA/open-gpu-kernel-modules" +license = "MIT/GPL-2.0" + +[source] +url = "https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +# Additional source: the userspace driver (proprietary blob) +[[source.patches]] +url = "https://us.download.nvidia.com/XFree86/Linux-x86_64/${version}/NVIDIA-Linux-x86_64-${version}.run" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +strip = 0 + +[dependencies] +run = ["glibc", "wayland", "libdrm"] +build = ["gcc", "make", "linux"] + +[build] +system = "custom" + +# Prepare: extract the .run blob for userspace libraries +prepare = """chmod +x ../NVIDIA-Linux-x86_64-${version}.run && ../NVIDIA-Linux-x86_64-${version}.run --extract-only --target=nvidia-userspace""" + +# Build: compile the open kernel modules against current kernel +configure = "" +make = """make -j32 modules \ + KERNEL_UNAME=$(uname -r) \ + SYSSRC=/usr/src/linux \ + SYSOUT=/usr/src/linux""" + +# Install: kernel modules + userspace libs +install = """# Install kernel modules +make modules_install DESTDIR=${PKG} KERNEL_UNAME=$(uname -r) + +# Install userspace libraries from the extracted blob +cd nvidia-userspace + +# GLX / OpenGL +install -Dm755 libGLX_nvidia.so.${version} ${PKG}/usr/lib/libGLX_nvidia.so.${version} +ln -sf libGLX_nvidia.so.${version} ${PKG}/usr/lib/libGLX_nvidia.so.0 + +# EGL +install -Dm755 libEGL_nvidia.so.${version} ${PKG}/usr/lib/libEGL_nvidia.so.${version} +ln -sf libEGL_nvidia.so.${version} ${PKG}/usr/lib/libEGL_nvidia.so.0 + +# GBM (for Wayland) +install -Dm755 libnvidia-egl-gbm.so.1.1.2 ${PKG}/usr/lib/libnvidia-egl-gbm.so.1.1.2 +ln -sf libnvidia-egl-gbm.so.1.1.2 ${PKG}/usr/lib/libnvidia-egl-gbm.so.1 +mkdir -p ${PKG}/usr/share/egl/egl_external_platform.d +install -Dm644 15_nvidia_gbm.json ${PKG}/usr/share/egl/egl_external_platform.d/ + +# Vulkan ICD +install -Dm755 libGLESv2_nvidia.so.${version} ${PKG}/usr/lib/libGLESv2_nvidia.so.${version} +install -Dm644 nvidia_icd.json ${PKG}/usr/share/vulkan/icd.d/nvidia_icd.json +install -Dm755 libcuda.so.${version} ${PKG}/usr/lib/libcuda.so.${version} +ln -sf libcuda.so.${version} ${PKG}/usr/lib/libcuda.so.1 +ln -sf libcuda.so.1 ${PKG}/usr/lib/libcuda.so + +# nvidia-drm modeset (KMS) +install -Dm755 libnvidia-drm-outputclass-helper.so.${version} ${PKG}/usr/lib/libnvidia-drm-outputclass-helper.so.${version} + +# nvidia-smi and other tools +install -Dm755 nvidia-smi ${PKG}/usr/bin/nvidia-smi +install -Dm755 nvidia-settings ${PKG}/usr/bin/nvidia-settings 2>/dev/null || true + +# 32-bit compatibility libraries (for Steam/Wine) +if [ -d 32 ]; then + install -Dm755 32/libGLX_nvidia.so.${version} ${PKG}/usr/lib32/libGLX_nvidia.so.${version} + ln -sf libGLX_nvidia.so.${version} ${PKG}/usr/lib32/libGLX_nvidia.so.0 + install -Dm755 32/libcuda.so.${version} ${PKG}/usr/lib32/libcuda.so.${version} + ln -sf libcuda.so.${version} ${PKG}/usr/lib32/libcuda.so.1 +fi""" diff --git a/extra/p11-kit/p11-kit.toml b/extra/p11-kit/p11-kit.toml new file mode 100644 index 0000000..a1203a3 --- /dev/null +++ b/extra/p11-kit/p11-kit.toml @@ -0,0 +1,20 @@ +[package] +name = "p11-kit" +version = "0.25.5" +description = "PKCS#11 module loading library" +url = "https://p11-glue.github.io/p11-glue/p11-kit.html" +license = "BSD-3-Clause" + +[source] +url = "https://github.com/p11-glue/p11-kit/releases/download/${version}/p11-kit-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "libffi", "libtasn1"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Dtrust_paths=/etc/ssl/certs""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/pango/pango.toml b/extra/pango/pango.toml new file mode 100644 index 0000000..dcdc171 --- /dev/null +++ b/extra/pango/pango.toml @@ -0,0 +1,20 @@ +[package] +name = "pango" +version = "1.56.3" +description = "Text layout and rendering library" +url = "https://pango.gnome.org/" +license = "LGPL-2.0" + +[source] +url = "https://download.gnome.org/sources/pango/1.56/pango-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "harfbuzz", "freetype", "fontconfig", "glib", "cairo", "libffi"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/pipewire/pipewire.toml b/extra/pipewire/pipewire.toml new file mode 100644 index 0000000..4fe11a3 --- /dev/null +++ b/extra/pipewire/pipewire.toml @@ -0,0 +1,20 @@ +[package] +name = "pipewire" +version = "1.4.3" +description = "Multimedia processing engine" +url = "https://pipewire.org/" +license = "MIT" + +[source] +url = "https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "dbus", "libffi", "ncurses"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Dsession-managers=wireplumber -Djack=disabled -Dsystemd=disabled""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/pixman/pixman.toml b/extra/pixman/pixman.toml new file mode 100644 index 0000000..48f88f0 --- /dev/null +++ b/extra/pixman/pixman.toml @@ -0,0 +1,20 @@ +[package] +name = "pixman" +version = "0.44.2" +description = "Low-level pixel manipulation library" +url = "https://pixman.org/" +license = "MIT" + +[source] +url = "https://cairographics.org/releases/pixman-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/polkit/polkit.toml b/extra/polkit/polkit.toml new file mode 100644 index 0000000..1b3d427 --- /dev/null +++ b/extra/polkit/polkit.toml @@ -0,0 +1,20 @@ +[package] +name = "polkit" +version = "125" +description = "Authorization framework" +url = "https://github.com/polkit-org/polkit" +license = "LGPL-2.0" + +[source] +url = "https://github.com/polkit-org/polkit/archive/${version}/polkit-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glib", "dbus", "duktape", "expat"] +build = ["meson", "ninja", "pkg-config", "gettext", "perl"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Dsession_tracking=libelogind -Dsystemdsystemunitdir=no -Djs_engine=duktape""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/qt6-base/qt6-base.toml b/extra/qt6-base/qt6-base.toml new file mode 100644 index 0000000..1471066 --- /dev/null +++ b/extra/qt6-base/qt6-base.toml @@ -0,0 +1,20 @@ +[package] +name = "qt6-base" +version = "6.8.3" +description = "Qt 6 base module" +url = "https://www.qt.io/" +license = "LGPL-3.0" + +[source] +url = "https://download.qt.io/official_releases/qt/6.8/${version}/submodules/qtbase-everywhere-src-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "dbus", "openssl", "zlib", "zstd", "freetype", "fontconfig", "harfbuzz", "libpng", "wayland", "libxkbcommon", "vulkan-headers", "mesa", "pcre2"] +build = ["gcc", "cmake", "ninja", "pkg-config", "perl", "python"] + +[build] +system = "cmake" +configure = """cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DINSTALL_PUBLICBINDIR=usr/bin -DINPUT_opengl=desktop -DQT_FEATURE_journald=OFF -DQT_FEATURE_openssl_linked=ON""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/rust/rust.toml b/extra/rust/rust.toml new file mode 100644 index 0000000..d04376b --- /dev/null +++ b/extra/rust/rust.toml @@ -0,0 +1,20 @@ +[package] +name = "rust" +version = "1.86.0" +description = "Rust programming language toolchain" +url = "https://www.rust-lang.org/" +license = "MIT/Apache-2.0" + +[source] +url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "gcc", "zlib", "openssl", "curl"] +build = ["python", "cmake", "ninja", "pkg-config"] + +[build] +system = "custom" +configure = """./configure --prefix=/usr --sysconfdir=/etc --tools=cargo,clippy,rustfmt --enable-vendor --set build.docs=false --set install.docdir=share/doc/rustc-${version}""" +make = """python3 x.py build""" +install = """DESTDIR=${PKG} python3 x.py install""" diff --git a/extra/seatd/seatd.toml b/extra/seatd/seatd.toml new file mode 100644 index 0000000..87c30ac --- /dev/null +++ b/extra/seatd/seatd.toml @@ -0,0 +1,20 @@ +[package] +name = "seatd" +version = "0.9.1" +description = "Minimal seat management daemon" +url = "https://sr.ht/~kennylevinsen/seatd/" +license = "MIT" + +[source] +url = "https://git.sr.ht/~kennylevinsen/seatd/archive/${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc"] +build = ["meson", "ninja"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Dlibseat-logind=disabled -Dlibseat-seatd=enabled""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/vulkan-headers/vulkan-headers.toml b/extra/vulkan-headers/vulkan-headers.toml new file mode 100644 index 0000000..e760cf6 --- /dev/null +++ b/extra/vulkan-headers/vulkan-headers.toml @@ -0,0 +1,20 @@ +[package] +name = "vulkan-headers" +version = "1.4.320" +description = "Vulkan API header files" +url = "https://github.com/KhronosGroup/Vulkan-Headers" +license = "Apache-2.0" + +[source] +url = "https://github.com/KhronosGroup/Vulkan-Headers/archive/v${version}/Vulkan-Headers-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = [] +build = ["cmake", "ninja"] + +[build] +system = "cmake" +configure = """cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/vulkan-loader/vulkan-loader.toml b/extra/vulkan-loader/vulkan-loader.toml new file mode 100644 index 0000000..5c2d85a --- /dev/null +++ b/extra/vulkan-loader/vulkan-loader.toml @@ -0,0 +1,20 @@ +[package] +name = "vulkan-loader" +version = "1.4.320" +description = "Vulkan ICD loader" +url = "https://github.com/KhronosGroup/Vulkan-Loader" +license = "Apache-2.0" + +[source] +url = "https://github.com/KhronosGroup/Vulkan-Loader/archive/v${version}/Vulkan-Loader-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "wayland"] +build = ["gcc", "cmake", "ninja", "pkg-config", "python"] + +[build] +system = "cmake" +configure = """cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DVULKAN_HEADERS_INSTALL_DIR=/usr""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/vulkan-tools/vulkan-tools.toml b/extra/vulkan-tools/vulkan-tools.toml new file mode 100644 index 0000000..808ae57 --- /dev/null +++ b/extra/vulkan-tools/vulkan-tools.toml @@ -0,0 +1,20 @@ +[package] +name = "vulkan-tools" +version = "1.4.320" +description = "Vulkan utilities and tools (vulkaninfo, vkcube)" +url = "https://github.com/KhronosGroup/Vulkan-Tools" +license = "Apache-2.0" + +[source] +url = "https://github.com/KhronosGroup/Vulkan-Tools/archive/v${version}/Vulkan-Tools-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["vulkan-loader", "wayland"] +build = ["gcc", "cmake", "ninja", "pkg-config"] + +[build] +system = "cmake" +configure = """cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_CUBE=ON""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/extra/wireplumber/wireplumber.toml b/extra/wireplumber/wireplumber.toml new file mode 100644 index 0000000..163ef43 --- /dev/null +++ b/extra/wireplumber/wireplumber.toml @@ -0,0 +1,20 @@ +[package] +name = "wireplumber" +version = "0.5.8" +description = "PipeWire session manager" +url = "https://pipewire.pages.freedesktop.org/wireplumber/" +license = "MIT" + +[source] +url = "https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/${version}/wireplumber-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["pipewire", "glib", "lua"] +build = ["meson", "ninja", "pkg-config", "python"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Dsystemd=disabled -Delogind=disabled""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/gaming/dxvk/dxvk.toml b/gaming/dxvk/dxvk.toml new file mode 100644 index 0000000..c3d5645 --- /dev/null +++ b/gaming/dxvk/dxvk.toml @@ -0,0 +1,20 @@ +[package] +name = "dxvk" +version = "2.5.3" +description = "Vulkan-based D3D9/10/11 implementation for Wine" +url = "https://github.com/doitsujin/dxvk" +license = "Zlib" + +[source] +url = "https://github.com/doitsujin/dxvk/releases/download/v${version}/dxvk-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["vulkan-loader", "wine"] +build = ["meson", "ninja", "gcc"] + +[build] +system = "meson" +configure = """meson setup build64 --cross-file build-win64.txt --prefix=/usr --buildtype=release""" +make = """ninja -C build64""" +install = """DESTDIR=${PKG} ninja -C build64 install""" diff --git a/gaming/gamemode/gamemode.toml b/gaming/gamemode/gamemode.toml new file mode 100644 index 0000000..f5beb54 --- /dev/null +++ b/gaming/gamemode/gamemode.toml @@ -0,0 +1,20 @@ +[package] +name = "gamemode" +version = "1.8.2" +description = "Optimize Linux system performance on demand" +url = "https://github.com/FeralInteractive/gamemode" +license = "BSD-3-Clause" + +[source] +url = "https://github.com/FeralInteractive/gamemode/releases/download/${version}/gamemode-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "dbus"] +build = ["gcc", "meson", "ninja", "pkg-config"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Dwith-systemd=false""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/gaming/mangohud/mangohud.toml b/gaming/mangohud/mangohud.toml new file mode 100644 index 0000000..5674cb8 --- /dev/null +++ b/gaming/mangohud/mangohud.toml @@ -0,0 +1,20 @@ +[package] +name = "mangohud" +version = "0.7.3" +description = "Vulkan/OpenGL overlay for monitoring FPS, temperatures" +url = "https://github.com/flightlessmango/MangoHud" +license = "MIT" + +[source] +url = "https://github.com/flightlessmango/MangoHud/releases/download/v${version}/MangoHud-v${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "vulkan-loader", "dbus"] +build = ["gcc", "meson", "ninja", "pkg-config", "python"] + +[build] +system = "meson" +configure = """meson setup build --prefix=/usr --buildtype=release -Dwith_xnvctrl=disabled""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/gaming/openjdk/openjdk.toml b/gaming/openjdk/openjdk.toml new file mode 100644 index 0000000..2553ea8 --- /dev/null +++ b/gaming/openjdk/openjdk.toml @@ -0,0 +1,20 @@ +[package] +name = "openjdk" +version = "21.0.6" +description = "OpenJDK Java Development Kit" +url = "https://openjdk.org/" +license = "GPL-2.0-CE" + +[source] +url = "https://github.com/openjdk/jdk21u/archive/refs/tags/jdk-${version}-ga.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "zlib", "freetype", "fontconfig", "libpng", "curl"] +build = ["gcc", "make", "autoconf", "bash"] + +[build] +system = "custom" +configure = """bash configure --with-version-build=6 --with-version-pre= --with-version-opt= --with-native-debug-symbols=none --disable-warnings-as-errors --enable-unlimited-crypto --with-zlib=system --with-freetype=system""" +make = """make images""" +install = """cp -a build/linux-x86_64-server-release/images/jdk ${PKG}/usr/lib/jvm/openjdk-21""" diff --git a/gaming/prismlauncher/prismlauncher.toml b/gaming/prismlauncher/prismlauncher.toml new file mode 100644 index 0000000..e59be0a --- /dev/null +++ b/gaming/prismlauncher/prismlauncher.toml @@ -0,0 +1,20 @@ +[package] +name = "prismlauncher" +version = "9.2" +description = "Open-source Minecraft launcher" +url = "https://prismlauncher.org/" +license = "GPL-3.0" + +[source] +url = "https://github.com/PrismLauncher/PrismLauncher/releases/download/${version}/PrismLauncher-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "qt6-base", "zlib", "openjdk"] +build = ["gcc", "cmake", "ninja", "pkg-config"] + +[build] +system = "cmake" +configure = """cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DLauncher_QT_VERSION_MAJOR=6""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/gaming/proton-ge/proton-ge.toml b/gaming/proton-ge/proton-ge.toml new file mode 100644 index 0000000..8f9a7ac --- /dev/null +++ b/gaming/proton-ge/proton-ge.toml @@ -0,0 +1,20 @@ +[package] +name = "proton-ge" +version = "9-27" +description = "GloriousEggroll's custom Proton build" +url = "https://github.com/GloriousEggroll/proton-ge-custom" +license = "BSD-3-Clause" + +[source] +url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton${version}/GE-Proton${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["wine", "dxvk", "vkd3d-proton", "steam"] +build = [] + +[build] +system = "custom" +configure = """""" +make = """make""" +install = """mkdir -p ${PKG}/usr/share/steam/compatibilitytools.d && cp -a . ${PKG}/usr/share/steam/compatibilitytools.d/GE-Proton${version}""" diff --git a/gaming/protontricks/protontricks.toml b/gaming/protontricks/protontricks.toml new file mode 100644 index 0000000..c707f4a --- /dev/null +++ b/gaming/protontricks/protontricks.toml @@ -0,0 +1,20 @@ +[package] +name = "protontricks" +version = "1.12.0" +description = "Winetricks wrapper for Proton/Steam games" +url = "https://github.com/Matoking/protontricks" +license = "GPL-3.0" + +[source] +url = "https://github.com/Matoking/protontricks/archive/${version}/protontricks-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["python", "steam", "winetricks"] +build = ["python"] + +[build] +system = "custom" +configure = """""" +make = """python3 setup.py build""" +install = """python3 setup.py install --root=${PKG} --prefix=/usr""" diff --git a/gaming/sdl2/sdl2.toml b/gaming/sdl2/sdl2.toml new file mode 100644 index 0000000..71fa41f --- /dev/null +++ b/gaming/sdl2/sdl2.toml @@ -0,0 +1,20 @@ +[package] +name = "sdl2" +version = "2.32.4" +description = "Simple DirectMedia Layer 2" +url = "https://www.libsdl.org/" +license = "Zlib" + +[source] +url = "https://github.com/libsdl-org/SDL/releases/download/release-${version}/SDL2-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "wayland", "wayland-protocols", "libdrm", "libxkbcommon"] +build = ["gcc", "cmake", "ninja", "pkg-config"] + +[build] +system = "cmake" +configure = """cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DSDL_WAYLAND=ON -DSDL_X11=ON -DSDL_VULKAN=ON -DSDL_PULSEAUDIO=OFF -DSDL_PIPEWIRE=ON""" +make = """ninja -C build""" +install = """DESTDIR=${PKG} ninja -C build install""" diff --git a/gaming/steam/steam.toml b/gaming/steam/steam.toml new file mode 100644 index 0000000..bb0bfb3 --- /dev/null +++ b/gaming/steam/steam.toml @@ -0,0 +1,20 @@ +[package] +name = "steam" +version = "1.0.0.82" +description = "Steam gaming platform (native Linux client)" +url = "https://store.steampowered.com/" +license = "Proprietary" + +[source] +url = "https://repo.steampowered.com/steam/archive/stable/steam_${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "curl", "dbus", "freetype", "openssl", "nvidia-open"] +build = ["make"] + +[build] +system = "custom" +configure = """""" +make = """make""" +install = """make DESTDIR=${PKG} install""" diff --git a/gaming/vkd3d-proton/vkd3d-proton.toml b/gaming/vkd3d-proton/vkd3d-proton.toml new file mode 100644 index 0000000..96d6cf4 --- /dev/null +++ b/gaming/vkd3d-proton/vkd3d-proton.toml @@ -0,0 +1,20 @@ +[package] +name = "vkd3d-proton" +version = "2.14.1" +description = "Vulkan-based D3D12 implementation for Wine/Proton" +url = "https://github.com/HansKristian-Work/vkd3d-proton" +license = "LGPL-2.1" + +[source] +url = "https://github.com/HansKristian-Work/vkd3d-proton/releases/download/v${version}/vkd3d-proton-${version}.tar.zst" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["vulkan-loader", "wine"] +build = ["meson", "ninja", "gcc"] + +[build] +system = "custom" +configure = """""" +make = """make""" +install = """install -Dm755 x64/d3d12.dll ${PKG}/usr/share/vkd3d-proton/x64/d3d12.dll""" diff --git a/gaming/wine/wine.toml b/gaming/wine/wine.toml new file mode 100644 index 0000000..9d33aea --- /dev/null +++ b/gaming/wine/wine.toml @@ -0,0 +1,20 @@ +[package] +name = "wine" +version = "10.11" +description = "Windows compatibility layer" +url = "https://www.winehq.org/" +license = "LGPL-2.1" + +[source] +url = "https://dl.winehq.org/wine/source/10.x/wine-${version}.tar.xz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["glibc", "freetype", "fontconfig", "libpng", "openssl", "vulkan-loader", "sdl2", "gnutls"] +build = ["gcc", "make", "flex", "bison", "pkg-config", "autoconf"] + +[build] +system = "autotools" +configure = """mkdir -p build64 && cd build64 && ../configure --prefix=/usr --enable-win64 --with-x --with-wayland""" +make = """make -C build64""" +install = """make -C build64 DESTDIR=${PKG} install""" diff --git a/gaming/winetricks/winetricks.toml b/gaming/winetricks/winetricks.toml new file mode 100644 index 0000000..295d2de --- /dev/null +++ b/gaming/winetricks/winetricks.toml @@ -0,0 +1,20 @@ +[package] +name = "winetricks" +version = "20250110" +description = "Easy way to install Windows DLLs in Wine" +url = "https://github.com/Winetricks/winetricks" +license = "LGPL-2.1" + +[source] +url = "https://github.com/Winetricks/winetricks/archive/${version}/winetricks-${version}.tar.gz" +sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[dependencies] +run = ["wine", "bash", "curl"] +build = [] + +[build] +system = "custom" +configure = """""" +make = """make""" +install = """make DESTDIR=${PKG} PREFIX=/usr install"""