mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/wxFormBuilder: Updated for version 4.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b23c4857ef
commit
50cbe1ca6a
3 changed files with 4 additions and 18 deletions
|
@ -1,11 +0,0 @@
|
|||
--- auitabart.h 2021-10-22 17:19:37.000000000 +0100
|
||||
+++ auitabart.h.new 2023-02-19 11:05:12.071625681 +0000
|
||||
@@ -6,7 +6,7 @@
|
||||
class AuiTabArt : public wxAuiGenericTabArt {
|
||||
public:
|
||||
wxSize GetTabSize(wxDC& dc, wxWindow* wnd, const wxString& caption, const wxBitmap& bitmap,
|
||||
- bool active, int close_button_state, int* x_extent) override {
|
||||
+ bool active, int close_button_state, int* x_extent) {
|
||||
return wxAuiGenericTabArt::GetTabSize(dc, wnd, caption, bitmap, active, close_button_state,
|
||||
x_extent) +
|
||||
wxSize(0, 2);
|
|
@ -26,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=wxFormBuilder
|
||||
VERSION=${VERSION:-3.10.1}
|
||||
VERSION=${VERSION:-4.0.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -79,9 +79,6 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
|
||||
patch src/rad/auitabart.h $CWD/auitabart.h.patch
|
||||
|
||||
cmake -S . -B _build -G "Unix Makefiles" --install-prefix "$PKG/opt/wxFormBuilder" -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build _build --config Release
|
||||
cmake --install _build --config Release
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="wxFormBuilder"
|
||||
VERSION="3.10.1"
|
||||
VERSION="4.0.0"
|
||||
HOMEPAGE="https://github.com/wxFormBuilder/wxFormBuilder"
|
||||
DOWNLOAD="https://github.com/wxFormBuilder/wxFormBuilder/releases/download/v3.10.1/wxFormBuilder-3.10.1-source-full.tar.gz"
|
||||
MD5SUM="e9298647afc4b84c7db9ea51adbdaf0a"
|
||||
DOWNLOAD="https://github.com/wxFormBuilder/wxFormBuilder/releases/download/v4.0.0/wxFormBuilder-4.0.0-source-full.tar.gz"
|
||||
MD5SUM="c708a5beb2238e1c38a56969e011d350"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="wxWidgets"
|
||||
|
|
Loading…
Reference in a new issue