|
@@ -1,11 +1,11 @@
|
|
-# Copyright 1999-2018 Gentoo Foundation
|
|
|
|
|
|
+# Copyright 1999-2024 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
EAPI=8
|
|
EAPI=8
|
|
|
|
|
|
case "$PV" in 9999*) scm=git-r3; ;; *) scm=""; ;; esac
|
|
case "$PV" in 9999*) scm=git-r3; ;; *) scm=""; ;; esac
|
|
|
|
|
|
-inherit cmake $scm xdg
|
|
|
|
|
|
+inherit cmake $scm # xdg
|
|
|
|
|
|
DESCRIPTION="Qt note-taking application compatible with tomboy"
|
|
DESCRIPTION="Qt note-taking application compatible with tomboy"
|
|
HOMEPAGE="http://ri0n.github.io/QtNote/"
|
|
HOMEPAGE="http://ri0n.github.io/QtNote/"
|
|
@@ -21,18 +21,27 @@ fi
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
SLOT="0"
|
|
-IUSE="spell kde unity"
|
|
|
|
|
|
+IUSE="spell kde qt6 unity"
|
|
|
|
|
|
DEPEND="
|
|
DEPEND="
|
|
- dev-qt/qtgui:5
|
|
|
|
- dev-qt/qtwidgets
|
|
|
|
- dev-qt/qtnetwork:5
|
|
|
|
- dev-qt/qtprintsupport:5
|
|
|
|
- dev-qt/qtsingleapplication[X]
|
|
|
|
- kde? (
|
|
|
|
- kde-frameworks/kglobalaccel
|
|
|
|
- kde-frameworks/kwindowsystem
|
|
|
|
- kde-frameworks/knotifications )
|
|
|
|
|
|
+ qt6? (
|
|
|
|
+ dev-qt/qtgui:5
|
|
|
|
+ dev-qt/qtwidgets:5
|
|
|
|
+ dev-qt/qtnetwork:5
|
|
|
|
+ dev-qt/qtprintsupport:5
|
|
|
|
+ dev-qt/qtsingleapplication[X]
|
|
|
|
+ kde? (
|
|
|
|
+ kde-frameworks/kglobalaccel:5
|
|
|
|
+ kde-frameworks/kwindowsystem:5
|
|
|
|
+ kde-frameworks/knotifications:5 )
|
|
|
|
+ )
|
|
|
|
+ !qt6? (
|
|
|
|
+ dev-qt/qtbase:6[gui,widgets,network]
|
|
|
|
+ kde? (
|
|
|
|
+ kde-frameworks/kglobalaccel:6
|
|
|
|
+ kde-frameworks/kwindowsystem:6
|
|
|
|
+ kde-frameworks/knotifications:6 )
|
|
|
|
+ )
|
|
spell? ( app-text/hunspell )"
|
|
spell? ( app-text/hunspell )"
|
|
RDEPEND="${DEPEND}"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
@@ -41,7 +50,7 @@ qtnote_plugin_enable() {
|
|
}
|
|
}
|
|
|
|
|
|
src_prepare() {
|
|
src_prepare() {
|
|
- xdg_src_prepare
|
|
|
|
|
|
+ #xdg_src_prepare
|
|
cmake_src_prepare
|
|
cmake_src_prepare
|
|
}
|
|
}
|
|
|
|
|
|
@@ -50,6 +59,7 @@ src_configure() {
|
|
$(qtnote_plugin_enable spell spellchecker)
|
|
$(qtnote_plugin_enable spell spellchecker)
|
|
$(qtnote_plugin_enable kde kdeintegration)
|
|
$(qtnote_plugin_enable kde kdeintegration)
|
|
$(qtnote_plugin_enable unity ubuntu)
|
|
$(qtnote_plugin_enable unity ubuntu)
|
|
|
|
+ -DQT_DEFAULT_MAJOR_VERSION=$(usex qt6 6 5)
|
|
)
|
|
)
|
|
cmake_src_configure
|
|
cmake_src_configure
|
|
}
|
|
}
|