mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* 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>
71 lines
2.3 KiB
Ruby
71 lines
2.3 KiB
Ruby
# Adapted from Arch Linux gdb PKGBUILD at:
|
|
# https://github.com/archlinux/svntogit-packages/raw/packages/gdb/trunk/PKGBUILD
|
|
|
|
require 'buildsystems/autotools'
|
|
|
|
class Gdb < Autotools
|
|
description 'The GNU Debugger'
|
|
homepage 'https://www.gnu.org/software/gdb/'
|
|
version "16.3-#{CREW_GCC_VER}-#{CREW_PY_VER}"
|
|
license 'GPL3'
|
|
compatibility 'all'
|
|
source_url "https://ftpmirror.gnu.org/gdb/gdb-#{version.split('-').first}.tar.xz"
|
|
source_sha256 'bcfcd095528a987917acf9fff3f1672181694926cc18d609c99d0042c00224c5'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'b35ea59fc1e1a4dd8e804b414c7ebc1d2e7ef570583f2a255d283faa821c24a3',
|
|
armv7l: 'b35ea59fc1e1a4dd8e804b414c7ebc1d2e7ef570583f2a255d283faa821c24a3',
|
|
i686: 'dd0a8be703238de7cadef59e913b247debb16486caa6bb6a3197f469d6fbca26',
|
|
x86_64: '3f0d8801f4e29a0aab46f40eaf61602a02fa679881fed4e6951bf48a153e1012'
|
|
})
|
|
|
|
depends_on 'binutils' # R
|
|
depends_on 'boost' # R
|
|
depends_on 'elfutils' # R
|
|
depends_on 'expat' # R
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'gmp' # R
|
|
depends_on 'mpfr' # R
|
|
depends_on 'ncurses' # R
|
|
depends_on 'python3' # R
|
|
depends_on 'readline' # R
|
|
depends_on 'source_highlight' # R
|
|
depends_on 'texinfo' => :build
|
|
depends_on 'xxhash' # R
|
|
depends_on 'xzutils' # R
|
|
depends_on 'zlib' # R
|
|
depends_on 'zstd' # R
|
|
|
|
conflicts_ok # binutils conflicts
|
|
|
|
autotools_configure_options "--disable-binutils \
|
|
--disable-ld \
|
|
--disable-nls \
|
|
--enable-64-bit-bfd \
|
|
--enable-install-libbfd \
|
|
--enable-host-shared \
|
|
--enable-lto \
|
|
--enable-shared \
|
|
--enable-sim \
|
|
--enable-source-highlight \
|
|
--enable-tui \
|
|
--with-curses \
|
|
--with-lzma \
|
|
--with-pkgversion=Chromebrew \
|
|
--with-python=python3 \
|
|
--with-system-gdbinit=#{CREW_PREFIX}/etc/gdb/gdbinit \
|
|
--with-system-readline \
|
|
--with-system-zlib \
|
|
#{'--with-x' unless ARCH == 'i686'}"
|
|
|
|
def self.install
|
|
system "make -C gdb DESTDIR=#{CREW_DEST_DIR} install"
|
|
system "make -C bfd DESTDIR=#{CREW_DEST_DIR} install"
|
|
system "make -C gdb/data-directory DESTDIR=#{CREW_DEST_DIR} install"
|
|
system "make -C gdbserver DESTDIR=#{CREW_DEST_DIR} install"
|
|
FileUtils.rm_f "#{CREW_DEST_LIB_PREFIX}/libinproctrace.so"
|
|
end
|
|
end
|