mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
* crew: Add a LD_PRELOAD library for hijacking linker/library path Signed-off-by: SupeChicken666 <me@supechicken666.dev> * Add `glibc_{build,dev.lib}` to deprecated package list Signed-off-by: SupeChicken666 <me@supechicken666.dev> * Bump version Signed-off-by: SupeChicken666 <me@supechicken666.dev> * Minor changes Signed-off-by: SupeChicken666 <me@supechicken666.dev> * Move static libraries to CREW_LIB_PREFIX Signed-off-by: SupeChicken666 <me@supechicken666.dev> * Remove glibc_build from const.rb Signed-off-by: SupeChicken666 <me@supechicken666.dev> * Make rubocop happy Signed-off-by: SupeChicken666 <me@supechicken666.dev> * Fix arm build and add binaries. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * cleanup Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust x86_64 unit tests to use the Nocturne M90 container image and armv7l unit tests to use the fievel M91 container image since we are using the same glibc for everything now. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust build containers to use the oldest glibc based containers. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add i686 builds. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add x86_64 build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Set LD_PRELOAD before running any command Signed-off-by: SupeChicken666 <me@supechicken666.dev> * Use File.join Signed-off-by: SupeChicken666 <me@supechicken666.dev> * Use File.join Signed-off-by: SupeChicken666 <me@supechicken666.dev> * adjust unit tests. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix arm CREW_GLIBC_INTERPRETER Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update Rhythmbox Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update Rhythmbox Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Do not install crew_sudo in container. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Bump version Signed-off-by: SupeChicken666 <me@supechicken666.dev> --------- Signed-off-by: SupeChicken666 <me@supechicken666.dev> Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com>
73 lines
2.0 KiB
Ruby
73 lines
2.0 KiB
Ruby
require 'buildsystems/meson'
|
|
|
|
class Localsearch < Meson
|
|
description 'Collection of data extractors for Tracker/Nepomuk'
|
|
homepage 'https://gitlab.gnome.org/GNOME/localsearch'
|
|
version "3.8.0-#{CREW_ICU_VER}"
|
|
license 'GPLv2+'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://gitlab.gnome.org/GNOME/localsearch.git'
|
|
git_hashtag version.split('-').first
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '4e3b82e659d1bb725007289a23f767352a99f4e3ac3cc09c5ca5c92ec9e7eca6',
|
|
armv7l: '4e3b82e659d1bb725007289a23f767352a99f4e3ac3cc09c5ca5c92ec9e7eca6',
|
|
x86_64: 'b10791284109bbe2cb0fbb4ea0429cc2a85aa82cdf3bd301357008d2c7f313db'
|
|
})
|
|
|
|
depends_on 'exempi' # R
|
|
depends_on 'gcc_lib' => :build
|
|
depends_on 'gexiv2' # R
|
|
depends_on 'giflib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'glib' # R
|
|
depends_on 'gstreamer' # R
|
|
depends_on 'icu4c' # R
|
|
depends_on 'libcue' # R
|
|
depends_on 'libexif' # R
|
|
depends_on 'libgsf' # R
|
|
depends_on 'libgudev' # R
|
|
depends_on 'libjpeg_turbo' # R
|
|
depends_on 'libpng' # R
|
|
depends_on 'libseccomp' # R
|
|
depends_on 'libtiff' # R
|
|
depends_on 'libxml2' # R
|
|
depends_on 'poppler' # R
|
|
depends_on 'py3_asciidoc' => :build
|
|
depends_on 'tinysparql' # R
|
|
depends_on 'vala' => :build
|
|
|
|
gnome
|
|
|
|
meson_options "-Dbattery_detection=none \
|
|
-Ddbus_services_dir=#{CREW_PREFIX}/share/dbus-1/services/ \
|
|
-Dlandlock=disabled \
|
|
-Dman=false \
|
|
-Dsystemd_user_services=false"
|
|
|
|
def self.patch
|
|
Dir.chdir('src/libtracker-miners-common') do
|
|
gettid_wrapper = <<~GETTID_WRAPPER_EOF
|
|
#define _GNU_SOURCE
|
|
#include <unistd.h>
|
|
|
|
#else
|
|
|
|
#include <sys/syscall.h>
|
|
|
|
pid_t
|
|
gettid(void)
|
|
{
|
|
|
|
return syscall(SYS_gettid);
|
|
}
|
|
#endif
|
|
GETTID_WRAPPER_EOF
|
|
File.write('gettid_wrapper', gettid_wrapper)
|
|
system "sed -i '/#define ALLOW_RULE(call)/i #if __GLIBC_PREREQ(2,30)' tracker-seccomp.c"
|
|
system "sed -i '/#if __GLIBC_PREREQ(2,30)/r gettid_wrapper' tracker-seccomp.c"
|
|
end
|
|
end
|
|
end
|