Skip to content

Commit

Permalink
Merge pull request #282 from no92/update-batch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennisbonke authored Nov 9, 2023
2 parents 4afdafa + d3cfdc8 commit 9e412b1
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 83 deletions.
5 changes: 2 additions & 3 deletions bootstrap.d/app-arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ packages:
source:
subdir: 'ports'
git: 'https://github.com/libarchive/libarchive.git'
tag: 'v3.6.2'
version: '3.6.2'
tag: 'v3.7.2'
version: '3.7.2'
tools_required:
- host-cmake
- system-gcc
Expand All @@ -174,7 +174,6 @@ packages:
- libexpat
- libxml
- zstd
revision: 2
configure:
- args:
- 'cmake'
Expand Down
37 changes: 37 additions & 0 deletions bootstrap.d/dev-lang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,43 @@ tools:
- '@PREFIX@'

packages:
- name: lua
metadata:
summary: Lua is a scripting language.
description: Lua is a powerful, efficient, lightweight, embeddable scripting language.
spdx: 'MIT'
website: 'https://www.lua.org/'
maintainer: "no92 <[email protected]>"
categories: ['dev-lang']
source:
subdir: ports
url: 'https://www.lua.org/ftp/lua-5.4.6.tar.gz'
format: 'tar.gz'
checksum: blake2b:b5d8dbc4b3ec1708b715be438c1a1f48d4f5f226885992af147c1aa6a8823bed318f77ef7cc92b265dadd26cf6088f0f39784fbfd2f9887c35de8e9def2c0558
extract_path: 'lua-5.4.6'
version: '5.4.6'
tools_required:
- system-gcc
pkgs_required:
- mlibc
configure:
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/.', '@THIS_BUILD_DIR@']
- args:
- 'sed'
- '-i'
- 's|^#define LUA_ROOT "/usr/local/"$|#define LUA_ROOT "/usr/"|'
- 'src/luaconf.h'
build:
- args:
- 'make'
- 'generic'
- 'CC=@OPTION:arch-triple@-gcc'
- 'AR=@OPTION:arch-triple@-ar rcu'
- 'RANLIB=@OPTION:arch-triple@-ranlib'
- '-j@PARALLELISM@'
- args: ['make', 'install', 'INSTALL_TOP=@THIS_COLLECT_DIR@/usr']
quiet: true

- name: nasm
architecture: '@OPTION:arch@'
source:
Expand Down
12 changes: 9 additions & 3 deletions bootstrap.d/dev-libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1606,11 +1606,18 @@ packages:
- name: weston
labels: [aarch64]
architecture: '@OPTION:arch@'
metadata:
summary: 'A lightweight and functional Wayland compositor'
description: 'Weston is a Wayland compositor designed for correctness, reliability, predictability, and performance. Out of the box, Weston provides a very basic desktop, or a full-featured environment for non-desktop uses such as automotive, embedded, in-flight, industrial, kiosks, set-top boxes and TVs.'
spdx: 'MIT'
website: 'https://gitlab.freedesktop.org/wayland/weston'
maintainer: "no92 <[email protected]>"
categories: ['dev-libs']
source:
subdir: 'ports'
git: 'https://gitlab.freedesktop.org/wayland/weston.git'
tag: '12.0.1'
version: '12.0.1'
tag: '12.0.2'
version: '12.0.2'
tools_required:
- host-pkg-config
- system-gcc
Expand All @@ -1636,7 +1643,6 @@ packages:
- seatd
- xcb-proto
- xcb-util-cursor
revision: 2
configure:
- args:
- 'meson'
Expand Down
46 changes: 46 additions & 0 deletions bootstrap.d/games-emulation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
packages:
- name: mednafen
source:
subdir: 'ports'
url: 'https://mednafen.github.io/releases/files/mednafen-1.24.0-UNSTABLE.tar.xz'
format: 'tar.xz'
checksum: blake2b:d326d785e96a1360a25aa308c738ee1c613717406512f2ce73a260cb1583adb5149ab6b1cf36be730dace517aa20abf15babb58841e0b294ef18f08996176ce8
extract_path: 'mednafen'
version: '1.24.0'
tools_required:
- host-autoconf-v2.69
- host-automake-v1.15
- host-libtool
- host-pkg-config
regenerate:
- args: ['./autogen.sh']
tools_required:
- system-gcc
- host-pkg-config
- host-autoconf-v2.69
- host-automake-v1.15
pkgs_required:
- mlibc
- sdl2
- libintl
- libiconv
- zlib
revision: 7
configure:
- args:
- '@THIS_SOURCE_DIR@/configure'
- '--host=@OPTION:arch-triple@'
- '--prefix=/usr'
- '--with-sysroot=@SYSROOT_DIR@' # Set libtool's lt_sysroot.
- '--without-libsndfile'
- '--disable-debugger'
build:
- args: ['make', '-j@PARALLELISM@']
- args: ['make', 'install']
environ:
DESTDIR: '@THIS_COLLECT_DIR@'
quiet: true
- args: |
if [ -f @THIS_COLLECT_DIR@/usr/lib/ ]; then
rm -rf @THIS_COLLECT_DIR@/usr/lib/
fi
78 changes: 1 addition & 77 deletions bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ imports:
- file: bootstrap.d/dev-util.yml
- file: bootstrap.d/dev-qt.yml
- file: bootstrap.d/games-board.yml
- file: bootstrap.d/games-emulation.yml
- file: bootstrap.d/games-fps.yml
- file: bootstrap.d/games-misc.yml
- file: bootstrap.d/games-simulation.yml
Expand Down Expand Up @@ -1643,83 +1644,6 @@ packages:
- args: ['mkdir', '-p', '@THIS_COLLECT_DIR@/etc/kmscon']
- args: ['cp', '@SOURCE_ROOT@/extrafiles/kmscon.conf', '@THIS_COLLECT_DIR@/etc/kmscon/']

- name: lua
source:
subdir: ports
url: 'https://www.lua.org/ftp/lua-5.3.5.tar.gz'
format: 'tar.gz'
checksum: blake2b:8890fa70fcfb869296bc74c754dc30621a3786d4b38dd35ef9e57ca46ee4b3df12dac1b86109be0823847499ff6b0d95de11f446c4c22de440ae3bb704e5068b
extract_path: 'lua-5.3.5'
version: '5.3.5'
tools_required:
- system-gcc
pkgs_required:
- mlibc
revision: 5
configure:
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/.', '@THIS_BUILD_DIR@']
- args:
- 'sed'
- '-i'
- 's|^#define LUA_ROOT "/usr/local/"$|#define LUA_ROOT "/usr/"|'
- 'src/luaconf.h'
build:
- args:
- 'make'
- 'generic'
- 'CC=@OPTION:arch-triple@-gcc'
- 'AR=@OPTION:arch-triple@-ar rcu'
- 'RANLIB=@OPTION:arch-triple@-ranlib'
- '-j@PARALLELISM@'
- args: ['make', 'install', 'INSTALL_TOP=@THIS_COLLECT_DIR@/usr']
quiet: true

- name: mednafen
source:
subdir: 'ports'
url: 'https://mednafen.github.io/releases/files/mednafen-1.24.0-UNSTABLE.tar.xz'
format: 'tar.xz'
checksum: blake2b:d326d785e96a1360a25aa308c738ee1c613717406512f2ce73a260cb1583adb5149ab6b1cf36be730dace517aa20abf15babb58841e0b294ef18f08996176ce8
extract_path: 'mednafen'
version: '1.24.0'
tools_required:
- host-autoconf-v2.69
- host-automake-v1.15
- host-libtool
- host-pkg-config
regenerate:
- args: ['./autogen.sh']
tools_required:
- system-gcc
- host-pkg-config
- host-autoconf-v2.69
- host-automake-v1.15
pkgs_required:
- mlibc
- sdl2
- libintl
- libiconv
- zlib
revision: 7
configure:
- args:
- '@THIS_SOURCE_DIR@/configure'
- '--host=@OPTION:arch-triple@'
- '--prefix=/usr'
- '--with-sysroot=@SYSROOT_DIR@' # Set libtool's lt_sysroot.
- '--without-libsndfile'
- '--disable-debugger'
build:
- args: ['make', '-j@PARALLELISM@']
- args: ['make', 'install']
environ:
DESTDIR: '@THIS_COLLECT_DIR@'
quiet: true
- args: |
if [ -f @THIS_COLLECT_DIR@/usr/lib/ ]; then
rm -rf @THIS_COLLECT_DIR@/usr/lib/
fi
- name: runit
stability_level: broken
source:
Expand Down

0 comments on commit 9e412b1

Please sign in to comment.