Files
chromebrew/packages/libcaca.rb
Satadru Pramanik, DO, MPH, MEng da33a7ab23 Python => 3.14.1 + Python Package Updates (#13694)
* Python => 3.14.1

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update util_linux with manual build using CREW_KERNEL_VERSION=5.10

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Modify tools/build_updated_packages.rb to allow ignoring packages git marks as having changed.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some package updates

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* More binaries.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more binaries and update versions.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add gdb binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* rebuild lilv

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update libcacaca

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more builds.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more binaries.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more binaries.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more binaries & fix py3_twine.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add requests_toolbelt binaries.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Rebuild twine

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust twine erroring in crew.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* More Updates...

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add meld builds

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* More updates

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* More updates.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add sphinx binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more builds and sync with master.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more builds.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add another twine check.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more builds

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more builds

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update python packages, add builds.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more builds

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add builds.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add py3_ruff builds.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more builds and filelists.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more filelists.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Bump version.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust Generate PR workflow.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add libnghttp2 to CREW_ESSENTIAL_PACKAGES to keep curl from breaking.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: chromebrew-actions[bot] <220035932+chromebrew-actions[bot]@users.noreply.github.com>
2025-12-05 04:16:59 +00:00

64 lines
2.2 KiB
Ruby

require 'buildsystems/autotools'
require 'convenience_functions'
class Libcaca < Autotools
description 'libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals.'
homepage 'https://github.com/cacalabs/libcaca'
version "0.99.beta20-69a4213-#{CREW_PY_VER}"
license 'GPL-2, ISC, LGPL-2.1 and WTFPL'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://github.com/cacalabs/libcaca.git'
git_hashtag '69a42132350da166a98afe4ab36d89008197b5f2'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '60b0cd89561b2895576f9cd80ab4f1c45da84df871a98fa75cbf354ba2443ed9',
armv7l: '60b0cd89561b2895576f9cd80ab4f1c45da84df871a98fa75cbf354ba2443ed9',
x86_64: 'a3b192dc6bb4200a740b98856d2c6d6a0ec2a5f386cda815decba2beb9ce1c97'
})
depends_on 'freeglut' # R
depends_on 'freetype' # R
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'imlib2' # R
depends_on 'libbsd' # R
depends_on 'libglu' # R
depends_on 'libglvnd' # R
depends_on 'libmd' # R
depends_on 'libx11' # R
depends_on 'libxau' # R
depends_on 'libxcb' # R
depends_on 'libxdmcp' # R
depends_on 'libxext' # R
depends_on 'mesa' => :build
depends_on 'ncurses' # R
depends_on 'python3'
depends_on 'ruby' # R
depends_on 'slang' # R
depends_on 'zlib' # R
def self.patch
downloader 'https://patch-diff.githubusercontent.com/raw/cacalabs/libcaca/pull/66.patch',
'd8a8f7347c5cb7b1f63ef4ef112d7fecd9d39d1703f27fccfab10709fc284d51'
system 'patch -Np1 -i 66.patch'
downloader 'https://patch-diff.githubusercontent.com/raw/cacalabs/libcaca/pull/70.patch',
'173778700c92338a7b6d9f139053574359dd28829c8cdf8418df81632e002b6a'
system 'patch -Np1 -i 70.patch'
downloader 'https://patch-diff.githubusercontent.com/raw/cacalabs/libcaca/pull/81.patch',
'99917c0bc6b0405c8a8a8f4ce8e0df46182ff4db96d6ffb4edbb19ec2ed24b8d'
system 'patch -Np1 -i 81.patch'
end
def self.prebuild
ConvenienceFunctions.libtoolize('freetype')
end
autotools_configure_options '--disable-ruby \
--enable-gl \
--enable-ncurses \
--enable-network \
--enable-slang \
--enable-x11'
end