mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Cmake 4.0.1 => 4.0.2 * Adjust cmake build options to properly set LIBRARY_PATH. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust cmake build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust cmake build options. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Remove 'mold -run' usage as that confuses LIBRARY_PATH overrides. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to update-cmake * Add built packages for linux/amd64 to update-cmake * Add built packages for linux/arm/v7 to update-cmake * Confirm autotools change works with nano update. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to update-cmake * Add built packages for linux/amd64 to update-cmake * Add built packages for linux/arm/v7 to update-cmake --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Ed Reel <edreel@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
49 lines
1.3 KiB
Ruby
49 lines
1.3 KiB
Ruby
require 'package'
|
|
|
|
class Libsoup2 < Package
|
|
description 'libsoup is an HTTP client/server library for GNOME.'
|
|
homepage 'https://wiki.gnome.org/Projects/libsoup'
|
|
version '2.74.2'
|
|
license 'LGPL-2.1'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://gitlab.gnome.org/GNOME/libsoup.git'
|
|
git_hashtag version
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '603f80f5597fe0d7bee189cd3f6078c506f124f85be57c634f04616c06bde8f9',
|
|
armv7l: '603f80f5597fe0d7bee189cd3f6078c506f124f85be57c634f04616c06bde8f9',
|
|
x86_64: 'f5ed2100923109b22f46b8eefeffa429b4b98d1cb8a27d6fe3ac39fb3d38603c'
|
|
})
|
|
|
|
depends_on 'brotli' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'glib_networking'
|
|
depends_on 'glib' # R
|
|
depends_on 'krb5' # R
|
|
depends_on 'libevent'
|
|
depends_on 'libpsl' # R
|
|
depends_on 'libxml2' # R
|
|
# depends_on 'qt5_base' => :build
|
|
depends_on 'sqlite' # R
|
|
depends_on 'vala' => :build
|
|
depends_on 'zlib' # R
|
|
|
|
gnome
|
|
|
|
def self.build
|
|
system "meson setup #{CREW_MESON_OPTIONS} \
|
|
-Dtests=false \
|
|
-Dsysprof=disabled \
|
|
-Dintrospection=enabled \
|
|
builddir"
|
|
system 'meson configure --no-pager builddir'
|
|
system "sed -i 's#-R#-Wl,-rpath=#g' builddir/build.ninja"
|
|
system 'samu -C builddir'
|
|
end
|
|
|
|
def self.install
|
|
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
|
end
|
|
end
|