mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Add unbuilt firefox to updater-firefox-147.0.2 * Adjust firefox deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust firefox deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Change all sommelier deps to => :logical deps Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix circular dependencies of docbook_xml and docbook_xml412. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Cleanup docbook circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix elogind, ffmpeg circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Cleanup more circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Mark packages from successful builds as automatically buildable. * updater-firefox-147.0.2: Package File Update Run on linux/386 container. * Add filelists and updated packages. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix gstreamer deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Handle missing dlist, update pipewire filelist Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add rsu_client filelist Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Suggested changes. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust elogind deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust docbook heredocs. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
41 lines
1.4 KiB
Ruby
41 lines
1.4 KiB
Ruby
require 'package'
|
|
|
|
class Wxformbuilder < Package
|
|
description 'RAD tool for wxWidgets GUI design'
|
|
homepage 'https://github.com/wxFormBuilder/wxFormBuilder'
|
|
version '3.9.0'
|
|
license 'GPL-3'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://github.com/wxFormBuilder/wxFormBuilder/archive/v3.9.0.tar.gz'
|
|
source_sha256 'e63532e71828d5e168388380fe627225f997267495da4bf6c55ef592738bdc88'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '72919b2bd017609c541cdd137375e4f5b77ebbc575b64bf4c36f800ff9063acb',
|
|
armv7l: '72919b2bd017609c541cdd137375e4f5b77ebbc575b64bf4c36f800ff9063acb',
|
|
i686: '401bfac8ccbad94011998a2e8f1b30605fbae2c11e11469516b171d0fe96e334',
|
|
x86_64: 'f812d32fda14a1a379be8d8c98c291da84f0353bd7cefc6f07bad3f8ad89b4ad'
|
|
})
|
|
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'sommelier' => :logical
|
|
depends_on 'wxwidgets'
|
|
|
|
def self.build
|
|
system 'git clone --recursive --depth=1 https://github.com/wxFormBuilder/wxFormBuilder'
|
|
Dir.chdir 'wxFormBuilder' do
|
|
system "meson _build --prefix #{CREW_PREFIX} --libdir #{CREW_LIB_PREFIX}"
|
|
end
|
|
end
|
|
|
|
def self.install
|
|
Dir.chdir 'wxFormBuilder' do
|
|
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install"
|
|
if ARCH == 'x86_64'
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/lib"
|
|
FileUtils.ln_s "#{CREW_LIB_PREFIX}/wxformbuilder", "#{CREW_DEST_PREFIX}/lib/wxformbuilder"
|
|
end
|
|
end
|
|
end
|
|
end
|