mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -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>
47 lines
1.5 KiB
Ruby
47 lines
1.5 KiB
Ruby
require 'package'
|
|
|
|
class Flif < Package
|
|
description 'FLIF is a novel lossless image format which outperforms PNG, lossless WebP, lossless BPG, lossless JPEG2000, and lossless JPEG XR in terms of compression ratio.'
|
|
homepage 'https://flif.info/'
|
|
version '0.4'
|
|
license 'LGPL-3+'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://github.com/FLIF-hub/FLIF.git'
|
|
git_hashtag "v#{version}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '6519ef5d2153c6cf3fc8afefba83d2cf91e5b574475aea741b9eab98fbaebc8a',
|
|
armv7l: '6519ef5d2153c6cf3fc8afefba83d2cf91e5b574475aea741b9eab98fbaebc8a',
|
|
x86_64: '34b5622953ad3e7595fc416270deed8882964e4addde5916bae110cff01ae6fb'
|
|
})
|
|
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'libpng' # R
|
|
depends_on 'sdl2'
|
|
|
|
# Upstream has stopped development, so there's no real reason to try and upstream these.
|
|
def self.patch
|
|
system "sed -i 's,\$(PREFIX)/lib,#{CREW_DEST_LIB_PREFIX},g' src/Makefile"
|
|
system "sed -i 's,export LD_LIBRARY_PATH,#export LD_LIBRARY_PATH,' src/Makefile"
|
|
end
|
|
|
|
def self.build
|
|
system 'make', 'all'
|
|
Dir.chdir 'src' do
|
|
system 'make', 'decoder'
|
|
system 'make', 'viewflif'
|
|
end
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "PREFIX=#{CREW_DEST_PREFIX}", 'install'
|
|
system 'make', "PREFIX=#{CREW_DEST_PREFIX}", 'install-dev'
|
|
Dir.chdir 'src' do
|
|
system 'make', "PREFIX=#{CREW_DEST_PREFIX}", 'install-decoder'
|
|
system 'make', "PREFIX=#{CREW_DEST_PREFIX}", 'install-viewflif'
|
|
end
|
|
end
|
|
end
|