[arch-commits] Commit in wxwidgets/repos/extra-x86_64 (4 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Aug 27 18:17:47 UTC 2022
Date: Saturday, August 27, 2022 @ 18:17:47
Author: arojas
Revision: 454657
archrelease: copy trunk to extra-x86_64
Added:
wxwidgets/repos/extra-x86_64/PKGBUILD
(from rev 454656, wxwidgets/trunk/PKGBUILD)
wxwidgets/repos/extra-x86_64/destdir.patch
(from rev 454656, wxwidgets/trunk/destdir.patch)
Deleted:
wxwidgets/repos/extra-x86_64/PKGBUILD
wxwidgets/repos/extra-x86_64/destdir.patch
---------------+
PKGBUILD | 199 ++++++++++++++++++++++++++++----------------------------
destdir.patch | 64 +++++++++---------
2 files changed, 132 insertions(+), 131 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-27 18:17:34 UTC (rev 454656)
+++ PKGBUILD 2022-08-27 18:17:47 UTC (rev 454657)
@@ -1,99 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Eric Bélanger <eric at archlinux.org>
-
-pkgbase=wxwidgets
-pkgname=(wxwidgets-gtk3 wxwidgets-qt5 wxwidgets-common)
-pkgver=3.2.0
-pkgrel=4
-arch=(x86_64)
-url='https://wxwidgets.org'
-license=(custom:wxWindows)
-makedepends=(cmake gst-plugins-base glu webkit2gtk libnotify qt5-base sdl2 libmspack)
-source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$pkgver/wxWidgets-$pkgver.tar.bz2
- destdir.patch)
-sha256sums=('356e9b55f1ae3d58ae1fed61478e9b754d46b820913e3bfbc971c50377c1903a'
- 'cb4a7ca0d40b090d5d40d77790828a26766c6b496b3a5f5351fa30b3a6b42bd9')
-options=(debug)
-
-prepare() {
- patch -d wxWidgets-$pkgver -p1 < destdir.patch # Honor DESTDIR
-}
-
-build() {
- cmake -B build-gtk3 -S wxWidgets-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=None \
- -DwxBUILD_TOOLKIT=gtk3 \
- -DwxUSE_OPENGL=ON \
- -DwxUSE_REGEX=sys\
- -DwxUSE_ZLIB=sys \
- -DwxUSE_EXPAT=sys \
- -DwxUSE_LIBJPEG=sys \
- -DwxUSE_LIBPNG=sys \
- -DwxUSE_LIBTIFF=sys \
- -DwxUSE_LIBLZMA=sys \
- -DwxUSE_LIBMSPACK=ON \
- -DwxUSE_PRIVATE_FONTS=ON
- cmake --build build-gtk3
-
- cmake -B build-qt5 -S wxWidgets-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=None \
- -DwxBUILD_TOOLKIT=qt \
- -DwxUSE_OPENGL=ON \
- -DwxUSE_REGEX=sys \
- -DwxUSE_ZLIB=sys \
- -DwxUSE_EXPAT=sys \
- -DwxUSE_LIBJPEG=sys \
- -DwxUSE_LIBPNG=sys \
- -DwxUSE_LIBTIFF=sys \
- -DwxUSE_LIBLZMA=sys \
- -DwxUSE_LIBMSPACK=ON \
- -DwxUSE_PRIVATE_FONTS=ON
- cmake --build build-qt5
-
-# Run configure to generate the Makefile, cmake doesn't install translations
- cd wxWidgets-$pkgver
- ./configure --prefix=/usr
-}
-
-package_wxwidgets-common() {
- pkgdesc='Common libraries and headers for wxwidgets'
- depends=(expat pcre2 libsecret)
- conflicts=(wxgtk-common)
- replaces=(wxgtk-common)
-
- DESTDIR="$pkgdir" cmake --install build-gtk3
- rm -r "$pkgdir"/usr/{bin/wx-config,lib/{wx,libwx_gtk*}}
- install -Dm644 wxWidgets-$pkgver/wxwin.m4 -t "$pkgdir"/usr/share/aclocal
-# Install translations
- make DESTDIR="$pkgdir" -C wxWidgets-$pkgver locale_install
-
- install -Dm644 wxWidgets-$pkgver/docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_wxwidgets-gtk3() {
- pkgdesc='GTK+3 implementation of wxWidgets API for GUI'
- depends=(gtk3 gst-plugins-base-libs libsm wxwidgets-common libnotify libmspack sdl2)
- optdepends=('webkit2gtk: for webview support')
- conflicts=(wxgtk3)
- provides=(wxgtk3 wxwidgets)
- replaces=(wxgtk3)
-
- DESTDIR="$pkgdir" cmake --install build-gtk3
- rm -r "$pkgdir"/usr/{include,lib/cmake,lib/libwx_base*,bin/wxrc*}
-
- install -Dm644 wxWidgets-$pkgver/docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_wxwidgets-qt5() {
- pkgdesc='Qt5 implementation of wxWidgets API for GUI'
- depends=(qt5-base wxwidgets-common libmspack sdl2)
- provides=(wxwidgets)
-
- DESTDIR="$pkgdir" cmake --install build-qt5
- rm -r "$pkgdir"/usr/{include,lib/cmake,lib/libwx_base*,bin/wxrc*}
- mv "$pkgdir"/usr/bin/wx-config{,-qt} # Conflicts with wx-gtk3
-
- install -Dm644 wxWidgets-$pkgver/docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: wxwidgets/repos/extra-x86_64/PKGBUILD (from rev 454656, wxwidgets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-27 18:17:47 UTC (rev 454657)
@@ -0,0 +1,100 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgbase=wxwidgets
+pkgname=(wxwidgets-gtk3 wxwidgets-qt5 wxwidgets-common)
+pkgver=3.2.0
+pkgrel=5
+arch=(x86_64)
+url='https://wxwidgets.org'
+license=(custom:wxWindows)
+makedepends=(cmake gst-plugins-base glu webkit2gtk libnotify qt5-base sdl2 libmspack)
+source=(https://github.com/wxWidgets/wxWidgets/releases/download/v$pkgver/wxWidgets-$pkgver.tar.bz2
+ destdir.patch)
+sha256sums=('356e9b55f1ae3d58ae1fed61478e9b754d46b820913e3bfbc971c50377c1903a'
+ 'cb4a7ca0d40b090d5d40d77790828a26766c6b496b3a5f5351fa30b3a6b42bd9')
+options=(debug)
+
+prepare() {
+ patch -d wxWidgets-$pkgver -p1 < destdir.patch # Honor DESTDIR
+}
+
+build() {
+ cmake -B build-gtk3 -S wxWidgets-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -DwxBUILD_TOOLKIT=gtk3 \
+ -DwxUSE_OPENGL=ON \
+ -DwxUSE_REGEX=sys\
+ -DwxUSE_ZLIB=sys \
+ -DwxUSE_EXPAT=sys \
+ -DwxUSE_LIBJPEG=sys \
+ -DwxUSE_LIBPNG=sys \
+ -DwxUSE_LIBTIFF=sys \
+ -DwxUSE_LIBLZMA=sys \
+ -DwxUSE_LIBMSPACK=ON \
+ -DwxUSE_PRIVATE_FONTS=ON \
+ -DwxUSE_GTKPRINT=ON -DCMAKE_CXX_FLAGS="$CXXFLAGS -I/usr/include/gtk-3.0/unix-print/"
+ cmake --build build-gtk3
+
+ cmake -B build-qt5 -S wxWidgets-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -DwxBUILD_TOOLKIT=qt \
+ -DwxUSE_OPENGL=ON \
+ -DwxUSE_REGEX=sys \
+ -DwxUSE_ZLIB=sys \
+ -DwxUSE_EXPAT=sys \
+ -DwxUSE_LIBJPEG=sys \
+ -DwxUSE_LIBPNG=sys \
+ -DwxUSE_LIBTIFF=sys \
+ -DwxUSE_LIBLZMA=sys \
+ -DwxUSE_LIBMSPACK=ON \
+ -DwxUSE_PRIVATE_FONTS=ON
+ cmake --build build-qt5
+
+# Run configure to generate the Makefile, cmake doesn't install translations
+ cd wxWidgets-$pkgver
+ ./configure --prefix=/usr
+}
+
+package_wxwidgets-common() {
+ pkgdesc='Common libraries and headers for wxwidgets'
+ depends=(expat pcre2 libsecret)
+ conflicts=(wxgtk-common)
+ replaces=(wxgtk-common)
+
+ DESTDIR="$pkgdir" cmake --install build-gtk3
+ rm -r "$pkgdir"/usr/{bin/wx-config,lib/{wx,libwx_gtk*}}
+ install -Dm644 wxWidgets-$pkgver/wxwin.m4 -t "$pkgdir"/usr/share/aclocal
+# Install translations
+ make DESTDIR="$pkgdir" -C wxWidgets-$pkgver locale_install
+
+ install -Dm644 wxWidgets-$pkgver/docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_wxwidgets-gtk3() {
+ pkgdesc='GTK+3 implementation of wxWidgets API for GUI'
+ depends=(gtk3 gst-plugins-base-libs libsm wxwidgets-common libnotify libmspack sdl2)
+ optdepends=('webkit2gtk: for webview support')
+ conflicts=(wxgtk3)
+ provides=(wxgtk3 wxwidgets)
+ replaces=(wxgtk3)
+
+ DESTDIR="$pkgdir" cmake --install build-gtk3
+ rm -r "$pkgdir"/usr/{include,lib/cmake,lib/libwx_base*,bin/wxrc*}
+
+ install -Dm644 wxWidgets-$pkgver/docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_wxwidgets-qt5() {
+ pkgdesc='Qt5 implementation of wxWidgets API for GUI'
+ depends=(qt5-base wxwidgets-common libmspack sdl2)
+ provides=(wxwidgets)
+
+ DESTDIR="$pkgdir" cmake --install build-qt5
+ rm -r "$pkgdir"/usr/{include,lib/cmake,lib/libwx_base*,bin/wxrc*}
+ mv "$pkgdir"/usr/bin/wx-config{,-qt} # Conflicts with wx-gtk3
+
+ install -Dm644 wxWidgets-$pkgver/docs/licence.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Deleted: destdir.patch
===================================================================
--- destdir.patch 2022-08-27 18:17:34 UTC (rev 454656)
+++ destdir.patch 2022-08-27 18:17:47 UTC (rev 454657)
@@ -1,32 +0,0 @@
-diff --git a/build/cmake/install.cmake b/build/cmake/install.cmake
-index 9a2ce91d7f..858d6397cb 100644
---- a/build/cmake/install.cmake
-+++ b/build/cmake/install.cmake
-@@ -43,9 +43,10 @@ else()
- install(CODE "execute_process( \
- COMMAND ${CMAKE_COMMAND} -E create_symlink \
- ${CMAKE_INSTALL_PREFIX}/lib/wx/config/${wxBUILD_FILE_ID} \
-- ${CMAKE_INSTALL_PREFIX}/bin/wx-config \
-+ ${CMAKE_CURRENT_BINARY_DIR}/wx-config \
- )"
- )
-+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/wx-config DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
- endif()
-
- install(EXPORT wxWidgetsTargets NAMESPACE wx:: DESTINATION "lib/cmake/wxWidgets/${wxPLATFORM_LIB_DIR}")
-diff --git a/build/cmake/utils/CMakeLists.txt b/build/cmake/utils/CMakeLists.txt
-index 47bca6f34a..e3e9399bca 100644
---- a/build/cmake/utils/CMakeLists.txt
-+++ b/build/cmake/utils/CMakeLists.txt
-@@ -40,9 +40,10 @@ if(wxUSE_XRC)
- wx_install(CODE "execute_process( \
- COMMAND ${CMAKE_COMMAND} -E create_symlink \
- ${CMAKE_INSTALL_PREFIX}/bin/${wxrc_output_name}${EXE_SUFFIX} \
-- ${CMAKE_INSTALL_PREFIX}/bin/wxrc${EXE_SUFFIX} \
-+ ${CMAKE_CURRENT_BINARY_DIR}/wxrc${EXE_SUFFIX} \
- )"
- )
-+ wx_install(FILES ${CMAKE_CURRENT_BINARY_DIR}/wxrc${EXE_SUFFIX} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
- endif()
- endif()
-
Copied: wxwidgets/repos/extra-x86_64/destdir.patch (from rev 454656, wxwidgets/trunk/destdir.patch)
===================================================================
--- destdir.patch (rev 0)
+++ destdir.patch 2022-08-27 18:17:47 UTC (rev 454657)
@@ -0,0 +1,32 @@
+diff --git a/build/cmake/install.cmake b/build/cmake/install.cmake
+index 9a2ce91d7f..858d6397cb 100644
+--- a/build/cmake/install.cmake
++++ b/build/cmake/install.cmake
+@@ -43,9 +43,10 @@ else()
+ install(CODE "execute_process( \
+ COMMAND ${CMAKE_COMMAND} -E create_symlink \
+ ${CMAKE_INSTALL_PREFIX}/lib/wx/config/${wxBUILD_FILE_ID} \
+- ${CMAKE_INSTALL_PREFIX}/bin/wx-config \
++ ${CMAKE_CURRENT_BINARY_DIR}/wx-config \
+ )"
+ )
++ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/wx-config DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+ endif()
+
+ install(EXPORT wxWidgetsTargets NAMESPACE wx:: DESTINATION "lib/cmake/wxWidgets/${wxPLATFORM_LIB_DIR}")
+diff --git a/build/cmake/utils/CMakeLists.txt b/build/cmake/utils/CMakeLists.txt
+index 47bca6f34a..e3e9399bca 100644
+--- a/build/cmake/utils/CMakeLists.txt
++++ b/build/cmake/utils/CMakeLists.txt
+@@ -40,9 +40,10 @@ if(wxUSE_XRC)
+ wx_install(CODE "execute_process( \
+ COMMAND ${CMAKE_COMMAND} -E create_symlink \
+ ${CMAKE_INSTALL_PREFIX}/bin/${wxrc_output_name}${EXE_SUFFIX} \
+- ${CMAKE_INSTALL_PREFIX}/bin/wxrc${EXE_SUFFIX} \
++ ${CMAKE_CURRENT_BINARY_DIR}/wxrc${EXE_SUFFIX} \
+ )"
+ )
++ wx_install(FILES ${CMAKE_CURRENT_BINARY_DIR}/wxrc${EXE_SUFFIX} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+ endif()
+ endif()
+
More information about the arch-commits
mailing list