12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- # Copyright 1999-2016 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- EAPI=5
- inherit eutils qmake-utils
- DESCRIPTION="Modern note manager"
- HOMEPAGE="http://labs.sialan.org/projects/kaqaz"
- if [[ ${PV} = *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/sialan-labs/kaqaz.git"
- KEYWORDS=""
- else
- SRC_URI="https://github.com/sialan-labs/kaqaz/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
- fi
- LICENSE="GPL-3+"
- SLOT="0"
- IUSE=""
- RDEPEND="dev-qt/qtcore:5
- dev-qt/qtdeclarative:5
- dev-qt/qtgraphicaleffects:5
- dev-qt/qtgui:5
- dev-qt/qtmultimedia:5[qml]
- dev-qt/qtnetwork:5
- dev-qt/qtpositioning:5
- dev-qt/qtsingleapplication[qt5,X]
- dev-qt/qtsensors:5
- dev-qt/qtsql:5[sqlite]
- dev-qt/qtquickcontrols:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- "
- DEPEND="${RDEPEND}"
- src_prepare() {
- epatch "${FILESDIR}/${P}-qt55.patch"
- epatch "${FILESDIR}/${P}-unbundle-qtsingleapplication.patch"
- rm -r sialantools/qtsingleapplication || die
- }
- src_configure() {
- eqmake5
- }
- src_install() {
- emake install INSTALL_ROOT="${D}"
- }
|