mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 23:48:01 -05:00
* Rename libsdl2 => sdl2; Update sdl2; Add sdl2_compat package; Rebuild pkgconf to have pkg-config symlink; Update smallbasic. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Upstream binaries are missing, so delete extremetuxracer package. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add libdex, sysprof, and update webkit2gtk_4_1 deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add libsdl2 stub Signed-off-by: Satadru Pramanik <satadru@gmail.com> * revert webkit2gtk_4_1 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * revert shotcut Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add py3_gitlint. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update webrtc_audio_processing. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * opus rebuild to get gstreamer build to see it. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add extremetuxracer to deprecated packages. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Move gstreamer to stable branch. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Match zip package homepage with that in anitya. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Rebuild sysprof with gcc 15 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * xorg_cf_files => 1.0.9 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update libunistring, libtiff Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add plutovg, plutosvg, update sdl2_ttf, sdl3_ttf Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update sdl2_image Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add sdl3_image Signed-off-by: Satadru Pramanik <satadru@gmail.com> * libfaudio => 25.0.9 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * updater-smallbasic_12.28: Package File Update Run on linux/386 container. * Add libfaudio binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Rebuild zip. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update audaspace Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Removed libsdl2 stub package, changed libsdl2 deps to sdl2 deps in shotcut and freerdp. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
104 lines
3.1 KiB
Ruby
104 lines
3.1 KiB
Ruby
require 'package'
|
||
|
||
class Qemu < Package
|
||
description 'QEMU is a generic and open source machine emulator and virtualizer.'
|
||
homepage 'https://www.qemu.org/'
|
||
version '9.1.1'
|
||
license 'GPL-2'
|
||
compatibility 'aarch64 armv7l x86_64'
|
||
min_glibc '2.29' # Needed for MAP_FIXED_NOREPLACE support.
|
||
source_url 'https://github.com/qemu/qemu.git'
|
||
git_hashtag "v#{version}"
|
||
binary_compression 'tar.zst'
|
||
|
||
binary_sha256({
|
||
aarch64: 'b07e876cca85b8003be705aee939d5676e0a8109fa69bfb3d7a3cb16d986e67d',
|
||
armv7l: 'b07e876cca85b8003be705aee939d5676e0a8109fa69bfb3d7a3cb16d986e67d',
|
||
x86_64: '30183ad202272d2d568a6da30a58ad228cd1b42daebee015051703cbdd88eafe'
|
||
})
|
||
|
||
depends_on 'alsa_lib' # R
|
||
depends_on 'at_spi2_core' # R
|
||
depends_on 'bzip2' # R
|
||
depends_on 'cairo' # R
|
||
depends_on 'curl' # R
|
||
depends_on 'elfutils' # R
|
||
depends_on 'eudev' # R
|
||
depends_on 'fftw' # R
|
||
depends_on 'fontconfig' # R
|
||
depends_on 'gcc_lib' # R
|
||
depends_on 'gdk_pixbuf' # R
|
||
depends_on 'glibc' # R
|
||
depends_on 'glib' # R
|
||
depends_on 'gnutls' # R
|
||
depends_on 'gtk3' # R
|
||
depends_on 'harfbuzz' # R
|
||
depends_on 'hicolor_icon_theme'
|
||
depends_on 'jack' # R
|
||
depends_on 'jemalloc'
|
||
depends_on 'libaio' # R
|
||
depends_on 'libcap_ng' # R
|
||
depends_on 'libcyrussasl' # R
|
||
depends_on 'libepoxy' # R
|
||
depends_on 'libgcrypt'
|
||
depends_on 'libjpeg_turbo' # R
|
||
depends_on 'libpng' # R
|
||
depends_on 'libsamplerate' # R
|
||
depends_on 'sdl2' # R
|
||
depends_on 'libseccomp' # R
|
||
depends_on 'libslirp' # R
|
||
depends_on 'libssh' # R
|
||
depends_on 'libusb' # R
|
||
depends_on 'libx11' # R
|
||
depends_on 'libxkbcommon' # R
|
||
depends_on 'linux_pam' # R
|
||
depends_on 'lzfse' # R
|
||
depends_on 'lzo' # R
|
||
depends_on 'mesa' # R
|
||
depends_on 'ncurses' # R
|
||
depends_on 'pango' # R
|
||
depends_on 'pipewire' # R
|
||
depends_on 'pixman' # R
|
||
depends_on 'pulseaudio' # R
|
||
depends_on 'py3_sphinx_rtd_theme' => :build
|
||
depends_on 'sdl2_image' # R
|
||
depends_on 'snappy' # R
|
||
depends_on 'sphinx' => :build
|
||
depends_on 'vte' # R
|
||
depends_on 'zlib' # R
|
||
depends_on 'zstd' # R
|
||
|
||
def self.patch
|
||
# Avoid linux/usbdevice_fs.h:88:9: error: unknown type name ‘u8’ error
|
||
FileUtils.mkdir_p 'linux'
|
||
FileUtils.cp "#{CREW_PREFIX}/include/linux/usbdevice_fs.h", 'linux/usbdevice_fs.h'
|
||
system "sed -i 's,^\\([[:blank:]]*\\)u8,\\1__u8,g' linux/usbdevice_fs.h"
|
||
system "sed -i 's,<linux/usbdevice_fs.h>,\"linux/usbdevice_fs.h\",g' hw/usb/host-libusb.c"
|
||
end
|
||
|
||
def self.build
|
||
FileUtils.mkdir_p 'build'
|
||
Dir.chdir 'build' do
|
||
system "../configure #{CREW_CONFIGURE_OPTIONS.sub(/--target.*/, '').gsub('vfpv3-d16', 'neon').gsub('--disable-dependency-tracking', '').sub(/--program-prefix.*?(?=\s|$)/, '').sub(/--program-suffix.*?(?=\s|$)/, '')} \
|
||
--enable-kvm \
|
||
--enable-lto"
|
||
@counter = 1
|
||
@counter_max = 20
|
||
loop do
|
||
break if Kernel.system "make -j #{CREW_NPROC}"
|
||
|
||
puts "Make iteration #{@counter} of #{@counter_max}...".orange
|
||
|
||
@counter += 1
|
||
break if @counter > @counter_max
|
||
end
|
||
end
|
||
end
|
||
|
||
def self.install
|
||
Dir.chdir 'build' do
|
||
system "make DESTDIR=#{CREW_DEST_DIR} install"
|
||
end
|
||
end
|
||
end
|