mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
kde-apps/arianna: add new ebuild for KDE ebook reader
Signed-off-by: Andrés Becerra <andres.becerra@gmail.com>
This commit is contained in:
1
kde-apps/arianna/Manifest
Normal file
1
kde-apps/arianna/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST arianna-25.04.0.tar.xz 1168012 BLAKE2B bf6e42d8d090e0d8a29a1411b67a933baf86028aeda57fe3dc146fec0d234fa747dc00c2f9056d141475b031d81189400fad59aca1eacbc67cd6d476421422a3 SHA512 850e47eb02369c3195ad59e3cba6bbf9f1e201e4a748e0aa8da52e8f165a3150d85cbccd05980dc898a097c9b75dbdb5c795431828ab2c7bf3801e95c077f112
|
||||||
56
kde-apps/arianna/arianna-25.04.0.ebuild
Normal file
56
kde-apps/arianna/arianna-25.04.0.ebuild
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
ECM_HANDBOOK="forceoptional"
|
||||||
|
ECM_TEST="forceoptional"
|
||||||
|
KFMIN=6.3.0
|
||||||
|
QTMIN=6.6.0
|
||||||
|
inherit ecm gear.kde.org
|
||||||
|
|
||||||
|
DESCRIPTION="ebook reader by KDE"
|
||||||
|
HOMEPAGE="https://apps.kde.org/arianna/"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="6"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="test"
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/cmakelists.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
sys-devel/gettext
|
||||||
|
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,sql,widgets,xml]
|
||||||
|
>=dev-qt/qtsvg-${QTMIN}:6
|
||||||
|
>=dev-qt/qtwebsockets-${QTMIN}:6
|
||||||
|
>=dev-qt/qthttpserver-${QTMIN}:6[websockets]
|
||||||
|
dev-libs/kirigami-addons:6
|
||||||
|
>=kde-frameworks/baloo-${KFMIN}:6
|
||||||
|
>=kde-frameworks/karchive-${KFMIN}:6
|
||||||
|
>=kde-frameworks/kconfig-${KFMIN}:6
|
||||||
|
>=kde-frameworks/kcoreaddons-${KFMIN}:6
|
||||||
|
>=kde-frameworks/kdbusaddons-${KFMIN}:6
|
||||||
|
>=kde-frameworks/kfilemetadata-${KFMIN}:6
|
||||||
|
>=kde-frameworks/ki18n-${KFMIN}:6
|
||||||
|
>=kde-frameworks/kiconthemes-${KFMIN}:6
|
||||||
|
>=kde-frameworks/kirigami-${KFMIN}:6
|
||||||
|
>=kde-frameworks/kquickcharts-${KFMIN}:6
|
||||||
|
>=kde-frameworks/kwindowsystem-${KFMIN}:6
|
||||||
|
>=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
|
||||||
|
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
BDEPEND="test? ( dev-util/reuse )"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-G Ninja
|
||||||
|
-DCMAKE_BUILD_TYPE=MinSizeRel
|
||||||
|
-DBUILD_TESTING=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
ecm_src_configure
|
||||||
|
}
|
||||||
22
kde-apps/arianna/files/cmakelists.patch
Normal file
22
kde-apps/arianna/files/cmakelists.patch
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
diff -Naur arianna-v24.02.0/CMakeLists.txt arianna-patched/CMakeLists.txt
|
||||||
|
--- arianna-v24.02.0/CMakeLists.txt 2024-02-15 23:50:18.000000000 +0000
|
||||||
|
+++ arianna-patched/CMakeLists.txt 2024-03-08 18:31:10.980327465 +0000
|
||||||
|
@@ -41,7 +41,8 @@
|
||||||
|
VERSION_HEADER ${CMAKE_CURRENT_BINARY_DIR}/arianna-version.h
|
||||||
|
)
|
||||||
|
|
||||||
|
-find_package(Qt6 ${QT_MIN_VERSION} NO_MODULE COMPONENTS Widgets Core Quick Gui QuickControls2 WebSockets WebChannel Test Svg Sql Xml HttpServer)
|
||||||
|
+find_package(Qt6 ${QT_MIN_VERSION} NO_MODULE COMPONENTS WebChannel Test)
|
||||||
|
+find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS Quick Qml Gui HttpServer Network Core WebSockets QuickControls2 Svg Sql Xml Widgets)
|
||||||
|
set_package_properties(Qt6 PROPERTIES
|
||||||
|
TYPE REQUIRED
|
||||||
|
PURPOSE "Basic application components"
|
||||||
|
@@ -61,7 +62,7 @@
|
||||||
|
find_package(Qt6 ${QT_MIN_VERSION} NO_MODULE COMPONENTS WebEngineQuick)
|
||||||
|
|
||||||
|
if (NOT WIN32)
|
||||||
|
- find_package(KF6 ${KF_MIN_VERSION} COMPONENTS Baloo)
|
||||||
|
+ find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS Baloo)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
ecm_find_qmlmodule(QtWebChannel)
|
||||||
Reference in New Issue
Block a user