mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 23:48:01 -05:00
* Update buildsystems, update jq, add jq to core for arm. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Only report build options if they exist. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix overeager sed replacement. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * workflow debugging Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add logging for build errors. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Revert to function in each package file. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update jq since it needs gcc14 to build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to buildsystems * remove deprecated gfbgraph Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fix git tag for gnome_maps Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update llvm20 package file. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update gnome_maps deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Abstract out buildsystems_methods reporting. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Keep LIBC_VERSION const from being empty. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update crew_profile_base and libxml2 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * clarify Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update libarchive Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update libavif Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more updates Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add libxml2 build comment. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add build comment to libarchive. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Don't warn for missing directory during package removal. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
49 lines
1.5 KiB
Ruby
49 lines
1.5 KiB
Ruby
require 'buildsystems/autotools'
|
|
|
|
class Codeblocks < Autotools
|
|
description 'Code::Blocks is a free, open-source, cross-platform C, C++ and Fortran IDE'
|
|
homepage 'https://www.codeblocks.org/'
|
|
version '25.03'
|
|
license 'LGPLv3'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url "https://downloads.sourceforge.net/project/codeblocks/Sources/#{version}/codeblocks_#{version}.tar.xz"
|
|
source_sha256 'b0f6aa5908d336d7f41f9576b2418ac7d27efbc59282aa8c9171d88cea74049e'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '57cfd1f7d62eb78512e3f1dd59a3dba498e3857ab7ecac79c0874677bea8ed91',
|
|
armv7l: '57cfd1f7d62eb78512e3f1dd59a3dba498e3857ab7ecac79c0874677bea8ed91',
|
|
x86_64: 'bbbc2c725d578938b33d721577e3766428baa9ce24e8b838d40a015f768851db'
|
|
})
|
|
|
|
depends_on 'at_spi2_core' # R
|
|
depends_on 'boost' # R
|
|
depends_on 'bzip2' # R
|
|
depends_on 'cairo' # R
|
|
depends_on 'fontconfig' # R
|
|
depends_on 'freetype' # R
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'gdk_pixbuf' # R
|
|
depends_on 'glib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'gtk3' # R
|
|
depends_on 'harfbuzz' # R
|
|
depends_on 'hunspell' # R
|
|
depends_on 'libx11' # R
|
|
depends_on 'pango' # R
|
|
depends_on 'wxwidgets' # R
|
|
depends_on 'zlib' # R
|
|
|
|
autotools_configure_options '--with-contrib-plugins=all'
|
|
|
|
run_tests
|
|
|
|
def self.postinstall
|
|
ExitMessage.add "\nType 'codeblocks' to get started.\n"
|
|
end
|
|
|
|
def self.postremove
|
|
Package.agree_to_remove("#{CREW_PREFIX}/.config/codeblocks")
|
|
end
|
|
end
|