Update wxwidgets packages

Wxwidgets 3.2.6 => 3.2.6-1

Wxwidgets30 3.0.5.1-2 => 3.0.5.1-3

Wxwidgets31 3.1.7-2 => 3.1.7-3
This commit is contained in:
Ed Reel
2025-02-23 23:45:24 +00:00
committed by uberhacker
parent a14fadbea6
commit 66bed7842b
3 changed files with 49 additions and 62 deletions

View File

@@ -3,11 +3,11 @@ require 'buildsystems/autotools'
class Wxwidgets < Autotools
description 'wxWidgets is a C++ library that lets developers create applications for Windows, macOS, Linux and other platforms with a single code base.'
homepage 'https://www.wxwidgets.org/'
version '3.2.6'
version '3.2.6-1'
license 'GPL-2'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://github.com/wxWidgets/wxWidgets.git'
git_hashtag "v#{version}"
git_hashtag "v#{version.split('-')[0]}"
binary_compression 'tar.zst'
binary_sha256({
@@ -68,20 +68,19 @@ class Wxwidgets < Autotools
end
configure_options '--with-gtk=3 \
--with-opengl \
--enable-unicode \
--enable-graphics_ctx \
--enable-mediactrl \
--enable-webview \
--with-regex=builtin \
--with-libpng=builtin \
--with-libjpeg=sys \
--with-libtiff=sys \
--without-gnomevfs \
--disable-precomp-headers'
--with-opengl \
--enable-unicode \
--enable-graphics_ctx \
--enable-mediactrl \
--enable-webview \
--with-regex=builtin \
--with-libpng=builtin \
--with-libjpeg=sys \
--with-libtiff=sys \
--without-gnomevfs \
--disable-precomp-headers'
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
configure_install_extras do
Dir.chdir "#{CREW_DEST_PREFIX}/bin" do
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/wx/config/gtk3-unicode-3.2", 'wx-config'
end

View File

@@ -1,14 +1,13 @@
require 'package'
require 'buildsystems/autotools'
class Wxwidgets30 < Package
class Wxwidgets30 < Autotools
description 'wxWidgets is a C++ library that lets developers create applications for Windows, macOS, Linux and other platforms with a single code base.'
homepage 'https://www.wxwidgets.org/'
@_ver = '3.0.5.1'
version "#{@_ver}-2"
version '3.0.5.1-3'
license 'GPL-2'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://github.com/wxWidgets/wxWidgets.git'
git_hashtag "v#{@_ver}"
git_hashtag "v#{version.split('-')[0]}"
binary_compression 'tar.zst'
binary_sha256({
@@ -53,26 +52,21 @@ class Wxwidgets30 < Package
end
end
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS} \
--with-gtk=3 \
--with-opengl \
--enable-unicode \
--enable-graphics_ctx \
--enable-mediactrl \
--enable-webview \
--with-regex=builtin \
--with-libpng=builtin \
--with-libjpeg=sys \
--with-libtiff=sys \
--without-gnomevfs \
--disable-universal \
--disable-precomp-headers"
system 'make'
end
configure_options '--with-gtk=3 \
--with-opengl \
--enable-unicode \
--enable-graphics_ctx \
--enable-mediactrl \
--enable-webview \
--with-regex=builtin \
--with-libpng=builtin \
--with-libjpeg=sys \
--with-libtiff=sys \
--without-gnomevfs \
--disable-universal \
--disable-precomp-headers'
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
configure_install_extras do
Dir.chdir "#{CREW_DEST_PREFIX}/bin" do
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/wx/config/gtk3-unicode-3.0", 'wx-config'
end

View File

@@ -1,14 +1,13 @@
require 'package'
require 'buildsystems/autotools'
class Wxwidgets31 < Package
class Wxwidgets31 < Autotools
description 'wxWidgets is a C++ library that lets developers create applications for Windows, macOS, Linux and other platforms with a single code base.'
homepage 'https://www.wxwidgets.org/'
@_ver = '3.1.7'
version "#{@_ver}-2"
version '3.1.7-3'
license 'wxWindows Library Licence'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://github.com/wxWidgets/wxWidgets.git'
git_hashtag "v#{@_ver}"
git_hashtag "v#{version.split('-')[0]}"
binary_compression 'tar.zst'
binary_sha256({
@@ -64,25 +63,20 @@ class Wxwidgets31 < Package
end
end
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS} \
--with-gtk=3 \
--with-opengl \
--enable-unicode \
--enable-graphics_ctx \
--enable-mediactrl \
--enable-webview \
--with-regex=builtin \
--with-libpng=builtin \
--with-libjpeg=sys \
--with-libtiff=sys \
--without-gnomevfs \
--disable-precomp-headers"
system 'make'
end
configure_options '--with-gtk=3 \
--with-opengl \
--enable-unicode \
--enable-graphics_ctx \
--enable-mediactrl \
--enable-webview \
--with-regex=builtin \
--with-libpng=builtin \
--with-libjpeg=sys \
--with-libtiff=sys \
--without-gnomevfs \
--disable-precomp-headers'
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
configure_install_extras do
Dir.chdir "#{CREW_DEST_PREFIX}/bin" do
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/wx/config/gtk3-unicode-3.1", 'wx-config'
end