commit:     7657322530a338026a189064fd2a018bb8d74dcc
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Jan 23 14:56:45 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Jan 23 14:56:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76573225

dev-cpp/wt: add 4.11.2

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-cpp/wt/Manifest         |  1 +
 dev-cpp/wt/wt-4.11.2.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-cpp/wt/Manifest b/dev-cpp/wt/Manifest
index 40b5e5674..6f6d27988 100644
--- a/dev-cpp/wt/Manifest
+++ b/dev-cpp/wt/Manifest
@@ -1 +1,2 @@
 DIST wt-4.11.1.tar.gz 10573506 BLAKE2B 
832088ba70af307d2abc374c384f5c41920f07439b43e6a53705c34d634e4b412fb075342883f6bf6dda7418ff4277bacd264133afc61567b29ba9bcdfb92257
 SHA512 
b3afab7327abc7a61ec8963af79bd9b3a23127031416fda4115db74287c130a09d5dd99465c0643e28ef9f2feaabe6ea51a8a22f698ae487243c2ae0e635a412
+DIST wt-4.11.2.tar.gz 10581246 BLAKE2B 
6b1ac3e53a8eab572354f4a43ed20cf92ce1049f79aae0333730fb283cd3c4fc274f8ebe94a08fffeafb73a1ccccf1771d180189ef6d825336172ab891992cbc
 SHA512 
e512c88616878b8fa3b992aa9d2f232d994ee6108607af4e5d511a2fecd7ae35cf33a63435a0ff356df715b386f2061731dcfb28c529bc43c901f17787686f34

diff --git a/dev-cpp/wt/wt-4.11.2.ebuild b/dev-cpp/wt/wt-4.11.2.ebuild
new file mode 100644
index 000000000..ce1453eaa
--- /dev/null
+++ b/dev-cpp/wt/wt-4.11.2.ebuild
@@ -0,0 +1,61 @@
+# 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/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc firebird mysql opengl +pango pdf postgres ssl"
+
+DEPEND="
+       firebird? ( dev-db/firebird )
+       mysql? ( virtual/mysql )
+       opengl? ( virtual/opengl )
+       pango? ( x11-libs/pango )
+       postgres? ( dev-db/postgresql )
+       ssl? ( dev-libs/openssl )
+       <=dev-libs/boost-1.86.0:=
+       media-libs/libharu
+       media-gfx/graphicsmagick[jpeg,png]
+       sys-libs/zlib
+"
+RDEPEND="${DEPEND}"
+
+BDEPEND="
+       doc? (
+               app-text/doxygen[dot]
+               dev-qt/qttools[qdoc]
+       )
+"
+
+PATCHES=( "${FILESDIR}/wt-no-rundir.patch")
+
+src_configure() {
+       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=$(usex pango)
+               -DENABLE_SQLITE=ON
+               -DENABLE_POSTGRES=$(usex postgres)
+               -DENABLE_FIREBIRD=$(usex firebird)
+               -DENABLE_MYSQL=$(usex mysql)
+               -DENABLE_QT4=OFF
+               -DENABLE_QT5=OFF
+               -DENABLE_QT6=ON
+               -DENABLE_SAML=ON
+               -DENABLE_OPENGL=$(usex opengl)
+       )
+
+       cmake_src_configure
+}

Reply via email to