aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Roman <davidroman96@gmail.com>2024-10-01 16:09:17 +0200
committerDavid Roman <davidroman96@gmail.com>2024-10-01 16:09:17 +0200
commitbc25e0cd71cb2ab486a37ecde2ce15847fa6aa88 (patch)
treef3c5c9cd59ca3f5459bd1ba81b2a9e8e4f6c4637 /dev-cpp
parentsys-boot/woeusb-ng: add USE=gui (diff)
downloadguru-bc25e0cd71cb2ab486a37ecde2ce15847fa6aa88.tar.gz
guru-bc25e0cd71cb2ab486a37ecde2ce15847fa6aa88.tar.bz2
guru-bc25e0cd71cb2ab486a37ecde2ce15847fa6aa88.zip
dev-cpp/wt: add 4.11.0
Signed-off-by: David Roman <davidroman96@gmail.com>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/wt/Manifest1
-rw-r--r--dev-cpp/wt/wt-4.11.0.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-cpp/wt/Manifest b/dev-cpp/wt/Manifest
index dc7f45196..ab6cd4ddc 100644
--- a/dev-cpp/wt/Manifest
+++ b/dev-cpp/wt/Manifest
@@ -1 +1,2 @@
DIST wt-4.10.4.tar.gz 10449928 BLAKE2B 19516d506612590fda1ba626487631397102c5634772e3435a911470d85da42803885368996a59a816400eaf623baad07dccd23c9fe769c6965b27372575aa23 SHA512 f41efec1e77bd76f6f66ffb4ff38c98cfc590debb194682e3c6eb3f7b4366c30f8e2bbc16f4c33faa45f6f49d28812215538d20f4abc6c4dc3a226ae9b10ac71
+DIST wt-4.11.0.tar.gz 10562160 BLAKE2B 5238f279c8899d976ce03b7840a4600bd22e54c8aede1cb908e3949278e61778361ccd67e3ea065f90875c15acad89553a87972078bb983857b871520ccf6669 SHA512 b437d822793261e57bb3a6024ec3fd06a7080ff053bc587e9e89f8d24c010158991827f925f0b59d43371aeeebdfc53983abd29a6c46ecf46b67bd923ca81e5a
diff --git a/dev-cpp/wt/wt-4.11.0.ebuild b/dev-cpp/wt/wt-4.11.0.ebuild
new file mode 100644
index 000000000..27ba7c4f3
--- /dev/null
+++ b/dev-cpp/wt/wt-4.11.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Wt, C++ Web Toolkit"
+HOMEPAGE="https://www.webtoolkit.eu/wt https://github.com/emweb/wt"
+SRC_URI="https://github.com/emweb/wt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc firebird mysql opengl pdf postgres ssl"
+
+DEPEND="
+ firebird? ( dev-db/firebird )
+ mysql? ( virtual/mysql )
+ opengl? ( virtual/opengl )
+ postgres? ( dev-db/postgresql )
+ ssl? ( dev-libs/openssl )
+ <dev-libs/boost-1.85.0:=
+ media-libs/libharu
+ media-gfx/graphicsmagick[jpeg,png]
+ x11-libs/pango
+ sys-libs/zlib
+"
+RDEPEND="${DEPEND}"
+
+BDEPEND="
+ doc? (
+ app-text/doxygen[dot]
+ dev-qt/qtchooser
+ dev-qt/qthelp
+ )
+"
+# for qt6 dev-qt/qttools[qdoc]
+
+PATCHES=( "${FILESDIR}/wt-no-rundir.patch")
+
+src_configure() {
+ # TODO
+ #-DENABLE_QT6=$(usex qt6)
+
+ local mycmakeargs=(
+ -DLIB_INSTALL_DIR=$(get_libdir)
+ -DBUILD_EXAMPLES=OFF
+ -DINSTALL_DOCUMENTATION=$(usex doc)
+ -DDOCUMENTATION_DESTINATION="share/doc/${PF}"
+ -DENABLE_SSL=$(usex ssl)
+ -DENABLE_HARU=$(usex pdf)
+ -DENABLE_PANGO=ON
+ -DENABLE_SQLITE=ON
+ -DENABLE_POSTGRES=$(usex postgres)
+ -DENABLE_FIREBIRD=$(usex firebird)
+ -DENABLE_MYSQL=$(usex mysql)
+ -DENABLE_QT4=OFF
+ -DENABLE_QT5=ON
+ -DENABLE_SAML=ON
+ -DENABLE_OPENGL=$(usex opengl)
+ )
+
+ cmake_src_configure
+}