summaryrefslogtreecommitdiff
path: root/x11-libs/wxGTK
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-11 00:12:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-11 00:12:38 +0000
commit0ec1e1dd7867c3dedcbea76c9b6e847d6b388c03 (patch)
tree65f42b72245de9fb9fa9ea30e6221dfff7dda7c5 /x11-libs/wxGTK
parent3a81cede4783e464b7485722b2eaac0280dbc570 (diff)
gentoo auto-resync : 11:02:2025 - 00:12:37
Diffstat (limited to 'x11-libs/wxGTK')
-rw-r--r--x11-libs/wxGTK/Manifest1
-rw-r--r--x11-libs/wxGTK/wxGTK-3.0.4-r6.ebuild130
2 files changed, 131 insertions, 0 deletions
diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
index b6f7aa31bd43..7b61d379eb42 100644
--- a/x11-libs/wxGTK/Manifest
+++ b/x11-libs/wxGTK/Manifest
@@ -22,6 +22,7 @@ DIST wxWidgets-3.2.2.1.tar.bz2 27339515 BLAKE2B e761e768dbb32bf76dbabf27aa9feb63
DIST wxWidgets-3.2.5-docs-html.tar.bz2 18205089 BLAKE2B 8bf09c0f9698e72e425a4e4fcbd57498851c93f02dca33fadcd785e04f3927807ff65e8b7dbecaadde64b2bf7653e950a93c5d522ff4e27a8e3baaa85ef6c692 SHA512 cc80c827c4f8607ef38e435eb7fd5dab9fcad5e93ab81bca262d212f5a061b85093d1bc1a1bdc82a7422c4744b6fdd5c82f3142b6a497e85067f571ce9513f5e
DIST wxWidgets-3.2.5.tar.bz2 27539152 BLAKE2B e262860b5d64d30576bbe61913d14c98c7e56bc1f108696abe0d446145e8c8cea3711bae4f3248c7def06ee988ee4441652376113ad2b4f04402249d7c1e6961 SHA512 b5bd8e4b53b7c44f79b76a39de0071d14e1f0325e66b7a9f2c7f1934a4146be3c78332f610119f7ba46ca4cd1055272a3d8937ad46665ce5abd867a803f22c86
EBUILD wxGTK-3.0.4-r5.ebuild 3849 BLAKE2B 6990536f9509c3e95db572b82226c7988869c9e9a2fb5a3d719d7f520fb2530ff6569e32c5c2783fe7f469fcb5ec77677c9fdf1924f01424f233aa4de856ca46 SHA512 88b95d38ece8d2ddac4f83c86368147b2c21fc3338ba405bcae8c81fb3540fd276968a7c62d521062ae3b0a34769e10bf4d17a7f9a385a8ac2f1b05d2fb30490
+EBUILD wxGTK-3.0.4-r6.ebuild 3960 BLAKE2B a96cb441dfa6a2bac388ebf8563867782f409ae16a885e5d8b7e9895940fc079ed58e71a1762923065ae470145c21de31f4932b97f32e0df6a7f35c1822d45cd SHA512 d2f6c18496f21bdd65dfe8428caf2c55dc4a6b5944dd5207b8cdc2c19fc5c1ec9579c99f538364881fa499f8abaec59fd781e28df665900e9eaf4bcfc68f3118
EBUILD wxGTK-3.0.5.1-r1.ebuild 5646 BLAKE2B e22efcae6b368013585697a04ac1172eab560c7bd611b130e8220aca1deb0f0bedd1fb1bae015696192ad6adad1f1da5bedd0240e77e91c0a366e857b512cabd SHA512 4087681932cb63dff6967a80cb393c25c4a9c54510b14bd92220b6bf874c5132406a71ada6717a1861ae056ea00a9781c54e3eb011188988bf593a42cc89ccf5
EBUILD wxGTK-3.0.5.1-r3.ebuild 6177 BLAKE2B 26582758e26d72f791697cd9bdbaf1e373d2876012ac4d5767e08d8b67cd6c2b78337e7b3def9f2debbba11ff64bf2de1a9e8078bb86d38f3367add65c498d4c SHA512 3a0ebc816aa2dc14b7a0d38bc0a8e5afa1166fb30350b6bb5a589afd2deebff5c968925e43720423e7fc33e972616e3abe2b8e7ead442f6cb6b669271720f3f8
EBUILD wxGTK-3.2.2.1-r5.ebuild 8405 BLAKE2B 0ae0751334b5920ec4ee9d1f801e8e87f515a0a36c0142c573bb8f27a8db31417150f8e817bd071026461a0955823e8c4411fbff569192f877e4698799e7d016 SHA512 83ffb85d1c03715fdcc20e32408b358205110fc756883c73b8cc0dae5aa917582c11e41cc4dc812a1c7d1d80240c9119f50bb447f1de389235196868368477cd
diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r6.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r6.ebuild
new file mode 100644
index 000000000000..284635e1b4d8
--- /dev/null
+++ b/x11-libs/wxGTK/wxGTK-3.0.4-r6.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal flag-o-matic
+
+DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
+HOMEPAGE="https://wxwidgets.org/"
+SRC_URI="
+ https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
+ https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20190713.tar.xz
+ doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
+S="${WORKDIR}/wxWidgets-${PV}"
+
+LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
+SLOT="3.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+X doc debug gstreamer libnotify opengl pch sdl tiff"
+
+RDEPEND="
+ dev-libs/expat[${MULTILIB_USEDEP}]
+ sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+ X? (
+ dev-libs/glib:2[${MULTILIB_USEDEP}]
+ media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
+ media-libs/libpng:=[${MULTILIB_USEDEP}]
+ sys-libs/zlib[${MULTILIB_USEDEP}]
+ x11-libs/gtk+:2[${MULTILIB_USEDEP}]
+ x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
+ x11-libs/libSM[${MULTILIB_USEDEP}]
+ x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
+ x11-libs/pango[${MULTILIB_USEDEP}]
+ gstreamer? (
+ media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
+ media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
+ )
+ libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
+ opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
+ tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
+ )"
+DEPEND="
+ ${RDEPEND}
+ opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
+ X? ( x11-base/xorg-proto )"
+BDEPEND="virtual/pkgconfig"
+PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
+
+PATCHES=(
+ "${WORKDIR}"/wxGTK-3.0.4_p20190713/
+ "${FILESDIR}"/${PN}-3.0.5-collision.patch
+ "${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
+ "${FILESDIR}"/${PN}-3.0.5.1-configure-modern-c.patch
+ "${FILESDIR}"/${PN}-3.0.5.1-excise-autoptr.patch
+)
+
+multilib_src_configure() {
+ # Workaround for bug #915154
+ append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
+ local myconf=(
+ # X independent options
+ --with-zlib=sys
+ --with-expat=sys
+ --enable-compat28
+ $(use_with sdl)
+
+ # PCHes are unstable and are disabled in-tree where possible
+ # See bug #504204
+ # Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
+ $(use_enable pch precomp-headers)
+ )
+
+ # debug in >=2.9
+ # there is no longer separate debug libraries (gtk2ud)
+ # wxDEBUG_LEVEL=1 is the default and we will leave it enabled
+ # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
+ # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
+ # http://docs.wxwidgets.org/3.0/overview_debugging.html
+ # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
+ use debug && myconf+=( --enable-debug=max )
+
+ # wxGTK options
+ # --enable-graphics_ctx - needed for webkit, editra
+ # --without-gnomevfs - bug #203389
+ if use X; then
+ myconf+=(
+ --enable-gui
+ --enable-graphics_ctx
+ --with-gtkprint
+ --with-libpng=sys
+ --with-libxpm=sys
+ --with-libjpeg=sys
+ --without-gnomevfs
+ --disable-webview
+ $(use_enable gstreamer mediactrl)
+ $(use_with libnotify)
+ $(use_with opengl)
+ $(use_with tiff libtiff sys)
+ )
+ else
+ # wxBase options
+ myconf+=( --disable-gui )
+ fi
+
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_install_all() {
+ cd docs || die
+ dodoc changes.txt readme.txt
+ newdoc base/readme.txt base_readme.txt
+ newdoc gtk/readme.txt gtk_readme.txt
+
+ use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
+ einstalldocs
+
+ # Stray windows locale file, causes collisions
+ rm -f "${ED}"/usr/share/locale/it/LC_MESSAGES/wxmsw.mo || die
+}
+
+pkg_postinst() {
+ has_version app-eselect/eselect-wxwidgets &&
+ eselect wxwidgets update
+}
+
+pkg_postrm() {
+ has_version app-eselect/eselect-wxwidgets &&
+ eselect wxwidgets update
+}