diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-12 06:41:06 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-03-12 06:41:06 +0000 |
| commit | b4803079ccaf30833a1b3e6cdca144b6907a3657 (patch) | |
| tree | d9bf5ceb9fc067f2edbf6b069fe65ea158bd80e8 /dev-cpp/wt/wt-4.10.4.ebuild | |
| parent | 528a61b6238a699d10db30760c75ed1106e70535 (diff) | |
| download | srcux-b4803079ccaf30833a1b3e6cdca144b6907a3657.tar.gz srcux-b4803079ccaf30833a1b3e6cdca144b6907a3657.tar.xz srcux-b4803079ccaf30833a1b3e6cdca144b6907a3657.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/wt/wt-4.10.4.ebuild')
| -rw-r--r-- | dev-cpp/wt/wt-4.10.4.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/dev-cpp/wt/wt-4.10.4.ebuild b/dev-cpp/wt/wt-4.10.4.ebuild new file mode 100644 index 000000000000..e9d153bce134 --- /dev/null +++ b/dev-cpp/wt/wt-4.10.4.ebuild @@ -0,0 +1,64 @@ +# 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 pdf postgres ssl" + +DEPEND=" + firebird? ( dev-db/firebird ) + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + ssl? ( dev-libs/openssl ) + dev-libs/boost + media-libs/libharu + media-gfx/graphicsmagick + x11-libs/pango + sys-libs/zlib + virtual/opengl +" +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 + ) + + cmake_src_configure +} |
