mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
dev-cpp/wt: drop 4.12.2
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1,3 +1,2 @@
|
|||||||
DIST wt-4.12.2.tar.gz 10955876 BLAKE2B 99f64b832cd23d786c4769158738da14ac502c7449ca08b6f0ec6fb3ec251a9e894d00a16b9e1d90f10f95ab3efdc99312b370c88d8a5ee8a1a34b1238ffae20 SHA512 c8df813b137206de83edc97d8c0e91707c963256e7da73fd14612787a6069db17ff431d4637147fefe04d0d3600fa836bacd3d2027d36ca669e5a05662548e05
|
|
||||||
DIST wt-4.12.3.tar.gz 10956110 BLAKE2B f4886b1e4662de5611ce5fdbbfaf0b374bb2ee15d8c1fff7da5faf9ca226f26ea0981912a040afc91a8b7be739f772aba46501605ad6d041a48cc4ac8c509976 SHA512 120ea51e12fc8e65a26eb3ab6bca04d3db956ca28e945df21c8cb03b0da444bafd742313c8bb713a9d88083956b8c8109c599a254411dcae7da8b9975e7e73c1
|
DIST wt-4.12.3.tar.gz 10956110 BLAKE2B f4886b1e4662de5611ce5fdbbfaf0b374bb2ee15d8c1fff7da5faf9ca226f26ea0981912a040afc91a8b7be739f772aba46501605ad6d041a48cc4ac8c509976 SHA512 120ea51e12fc8e65a26eb3ab6bca04d3db956ca28e945df21c8cb03b0da444bafd742313c8bb713a9d88083956b8c8109c599a254411dcae7da8b9975e7e73c1
|
||||||
DIST wt-4.12.4.tar.gz 10963910 BLAKE2B 16c75dd80527d87e70973a62b5c68e1da4b4efeac466cda508b7786012ed143595abdccf27facda4ec60eddabae0a9ab8e4304e7d51f6dd5e3ea6606fc790b8a SHA512 891522f89d3c14446d897e33f8d8cacdf105fd6ded6681d5fffe44c380f0fb22d20681fedbd5f576e32ea13edfeb1eaa4d4b88fa47968651fd93feb22d98eba6
|
DIST wt-4.12.4.tar.gz 10963910 BLAKE2B 16c75dd80527d87e70973a62b5c68e1da4b4efeac466cda508b7786012ed143595abdccf27facda4ec60eddabae0a9ab8e4304e7d51f6dd5e3ea6606fc790b8a SHA512 891522f89d3c14446d897e33f8d8cacdf105fd6ded6681d5fffe44c380f0fb22d20681fedbd5f576e32ea13edfeb1eaa4d4b88fa47968651fd93feb22d98eba6
|
||||||
|
|||||||
@@ -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:=
|
|
||||||
virtual/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
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user