From ec3bcffa11d82c133ba86c095dd93d0cd79115fe Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 8 Sep 2025 06:57:34 +0000 Subject: Adding metadata --- dev-cpp/wt/Manifest | 1 - dev-cpp/wt/metadata.xml | 6 +- dev-cpp/wt/wt-4.11.4-r3.ebuild | 131 ----------------------------------------- dev-cpp/wt/wt-4.12.0-r1.ebuild | 130 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 135 insertions(+), 133 deletions(-) delete mode 100644 dev-cpp/wt/wt-4.11.4-r3.ebuild create mode 100644 dev-cpp/wt/wt-4.12.0-r1.ebuild (limited to 'dev-cpp/wt') diff --git a/dev-cpp/wt/Manifest b/dev-cpp/wt/Manifest index 30498a3be6e9..9dfe8cc2ee3a 100644 --- a/dev-cpp/wt/Manifest +++ b/dev-cpp/wt/Manifest @@ -1,2 +1 @@ -DIST wt-4.11.4.tar.gz 10616646 BLAKE2B d6c5ab376f9c992afff75ebfd8e2d7630cd49627d6217b0fcb9cfcc01f6870d350ba0ba59e18d4a753c93b83ab6aebd0e69e4cc562104141f4e024e66bd7c30c SHA512 e266e8333823a2960fe47645386dea6a9638a83caa4fdeee83af6bffd3e99ee43eb94d9c7afab6e4811a1c25d58df2f4c4f108308ba7f67e4359ed89f69ffd42 DIST wt-4.12.0.tar.gz 10644909 BLAKE2B ba960d0bda4a5b04cc5e6381f719796677069be09bd5496955e0027590d4534ffe9bc40442ea8f9ac801b444975e0777f362e5149d706df0b6ef5ed9d8d5f458 SHA512 89754567b823105de694ee1c2f6e8cecd0b6c1231531f2b791ff95f29039567273329ac9ecc612a96e44232cf80371e947a7a424903c2be8e8c14d0d7260e4d5 diff --git a/dev-cpp/wt/metadata.xml b/dev-cpp/wt/metadata.xml index 5abee058ce18..1bb23aac582c 100644 --- a/dev-cpp/wt/metadata.xml +++ b/dev-cpp/wt/metadata.xml @@ -1,6 +1,10 @@ + + dev@liguros.net + Development + davidroman96@gmail.com David Roman @@ -11,5 +15,5 @@ Enable x11-libs/pango, which is used for improved font support (WPdfImage and WRasterImage) Build Wt::Test for automated (integration/unit) tests - gentoo-guru-overlay + ports \ No newline at end of file diff --git a/dev-cpp/wt/wt-4.11.4-r3.ebuild b/dev-cpp/wt/wt-4.11.4-r3.ebuild deleted file mode 100644 index d33c8f3d91aa..000000000000 --- a/dev-cpp/wt/wt-4.11.4-r3.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -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 +graphicsmagick mysql opengl +pango pdf postgres +sqlite ssl wttest" -REQUIRED_USE=" - pango? ( || ( graphicsmagick pdf ) ) - opengl? ( graphicsmagick ) -" -# TODO: auto-test with wttest -RESTRICT="test" - -DEPEND=" - dev-libs/boost:= - sys-libs/zlib - graphicsmagick? ( media-gfx/graphicsmagick:=[jpeg,png] ) - mysql? ( - virtual/mysql - || ( - dev-db/mariadb-connector-c - dev-db/mysql-connector-c - ) - ) - opengl? ( - media-libs/glew:= - media-libs/libglvnd[X] - ) - pango? ( - dev-libs/glib:2 - media-libs/fontconfig - x11-libs/pango - ) - pdf? ( media-libs/libharu:= ) - postgres? ( dev-db/postgresql ) - sqlite? ( dev-db/sqlite:3 ) - ssl? ( dev-libs/openssl:= ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - doc? ( - app-text/doxygen - dev-qt/qttools:6[assistant] - dev-ruby/asciidoctor - media-gfx/graphviz[cairo] - ) - virtual/pkgconfig -" - -PATCHES=( "${FILESDIR}/wt-no-rundir.patch" ) - -src_prepare() { - cmake_src_prepare - - # remove bundled sqlite - rm -r src/Wt/Dbo/backend/amalgamation || die - - if use doc; then - doxygen -u Doxyfile 2>/dev/null || die - doxygen -u examples/Doxyfile 2>/dev/null || die - sed -e "/^QHG_LOCATION/s|qhelpgenerator|/usr/$(get_libdir)/qt6/libexec/&|" \ - -i Doxyfile || die - fi -} - -src_configure() { - local mycmakeargs=( - -DLIB_INSTALL_DIR=$(get_libdir) - -DBUILD_EXAMPLES=OFF - -DBUILD_TESTS=OFF - -DDOCUMENTATION_DESTINATION="share/doc/${PF}" - -DINSTALL_DOCUMENTATION=$(usex doc) - # will be deprecated - -DCONNECTOR_FCGI=OFF - -DCONNECTOR_HTTP=ON - -DENABLE_SSL=$(usex ssl) - -DENABLE_HARU=$(usex pdf) - -DENABLE_PANGO=$(usex pango) - -DENABLE_SQLITE=$(usex sqlite) - -DENABLE_POSTGRES=$(usex postgres) - -DENABLE_MYSQL=$(usex mysql) - -DENABLE_FIREBIRD=OFF - -DENABLE_LIBWTTEST=$(usex wttest) - # QT is only required for examples - -DENABLE_QT4=OFF - -DENABLE_QT5=OFF - -DENABLE_QT6=OFF - # requires shibboleth and opensaml, not in tree - -DENABLE_SAML=OFF - -DENABLE_OPENGL=$(usex opengl) - -DWT_WRASTERIMAGE_IMPLEMENTATION=$(usex graphicsmagick GraphicsMagick none) - ) - - if use mysql || use postgres || use sqlite; then - mycmakeargs+=( -DENABLE_LIBWTDBO=ON ) - if use sqlite; then - mycmakeargs+=( -DUSE_SYSTEM_SQLITE3=ON ) - # DboTest.C: In member function ‘void Sqlite3_Test_Suite::dbo_precision_test2::test_method()’ - if use wttest; then - append-flags -fno-strict-aliasing - filter-lto - fi - fi - else - mycmakeargs+=( -DENABLE_LIBWTDBO=OFF ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use doc; then - find "${ED}" \( \ - -iname '*.map' -o \ - -iname '*.md5' \ - \) -delete || die - - docompress -x /usr/share/doc/${PF}/{examples,reference,tutorial} - fi -} diff --git a/dev-cpp/wt/wt-4.12.0-r1.ebuild b/dev-cpp/wt/wt-4.12.0-r1.ebuild new file mode 100644 index 000000000000..e2ceff3492e4 --- /dev/null +++ b/dev-cpp/wt/wt-4.12.0-r1.ebuild @@ -0,0 +1,130 @@ +# Copyright 2025 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit cmake flag-o-matic + +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 +graphicsmagick libressl mariadb opengl +pango pdf postgres +sqlite ssl wttest" +REQUIRED_USE=" + pango? ( || ( graphicsmagick pdf ) ) + opengl? ( graphicsmagick ) +" +# TODO: auto-test with wttest +RESTRICT="test" + +DEPEND=" + dev-libs/boost:= + sys-libs/zlib + graphicsmagick? ( media-gfx/graphicsmagick:=[jpeg,png] ) + mariadb? ( + dev-db/mariadb + dev-db/mariadb-connector-c + ) + opengl? ( + media-libs/glew:= + media-libs/libglvnd[X] + ) + pango? ( + dev-libs/glib:2 + media-libs/fontconfig + x11-libs/pango + ) + pdf? ( media-libs/libharu:= ) + postgres? ( dev-db/postgresql ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( + !libressl? ( dev-libs/openssl:= ) + libressl? ( dev-libs/libressl:= ) + ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + doc? ( + app-text/doxygen + dev-qt/qttools:6[assistant] + dev-ruby/asciidoctor + media-gfx/graphviz[cairo] + ) + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}/wt-no-rundir.patch" ) + +src_prepare() { + cmake_src_prepare + + # remove bundled sqlite + rm -r src/Wt/Dbo/backend/amalgamation || die + + if use doc; then + doxygen -u Doxyfile 2>/dev/null || die + doxygen -u examples/Doxyfile 2>/dev/null || die + sed -e "/^QHG_LOCATION/s|qhelpgenerator|/usr/$(get_libdir)/qt6/libexec/&|" \ + -i Doxyfile || die + fi +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + -DBUILD_EXAMPLES=OFF + -DBUILD_TESTS=OFF + -DDOCUMENTATION_DESTINATION="share/doc/${PF}" + -DINSTALL_DOCUMENTATION=$(usex doc) + # will be deprecated + -DCONNECTOR_FCGI=OFF + -DCONNECTOR_HTTP=ON + -DENABLE_SSL=$(usex ssl) + -DENABLE_HARU=$(usex pdf) + -DENABLE_PANGO=$(usex pango) + -DENABLE_SQLITE=$(usex sqlite) + -DENABLE_POSTGRES=$(usex postgres) + -DENABLE_MYSQL=$(usex mariadb) + -DENABLE_FIREBIRD=OFF + -DENABLE_LIBWTTEST=$(usex wttest) + # QT is only required for examples + -DENABLE_QT4=OFF + -DENABLE_QT5=OFF + -DENABLE_QT6=OFF + # requires shibboleth and opensaml, not in tree + -DENABLE_SAML=OFF + -DENABLE_OPENGL=$(usex opengl) + -DWT_WRASTERIMAGE_IMPLEMENTATION=$(usex graphicsmagick GraphicsMagick none) + ) + + if use mariadb || use postgres || use sqlite; then + mycmakeargs+=( -DENABLE_LIBWTDBO=ON ) + if use sqlite; then + mycmakeargs+=( -DUSE_SYSTEM_SQLITE3=ON ) + # DboTest.C: In member function ‘void Sqlite3_Test_Suite::dbo_precision_test2::test_method()’ + if use wttest; then + append-flags -fno-strict-aliasing + filter-lto + fi + fi + else + mycmakeargs+=( -DENABLE_LIBWTDBO=OFF ) + fi + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use doc; then + find "${ED}" \( \ + -iname '*.map' -o \ + -iname '*.md5' \ + \) -delete || die + + docompress -x /usr/share/doc/${PF}/{examples,reference,tutorial} + fi +} -- cgit v1.3