Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
737 B
6
Indexable
Never
API=7

inherit qmake-utils xdg

DESCRIPTION="Vim-inspired note taking application that knows programmers and Markdown better"
HOMEPAGE="https://tamlok.gitee.io/vnote"

if [[ ${PV} == "9999" ]]; then
    EGIT_REPO_URI="https://github.com/vnotex/vnote.git"
    EGIT_SUBMODULES=( '*' )
    inherit git-r3
    S="${WORKDIR}/${P}"
else
    SRC_URI="https://github.com/vnotex/vnote/archive/v${PV}.tar.gz"
    KEYWORDS="~amd64 ~x86"
    S="${WORKDIR}/vnote-${PV}"
fi

LICENSE="MIT"
SLOT="0"

DEPEND="
    >=dev-qt/qtcore-5.9:5=
    >=dev-qt/qtwebengine-5.9:5=[widgets]
    >=dev-qt/qtsvg-5.9:5=
"
RDEPEND="${DEPEND}"

src_prepare() {
    default
}

src_configure(){
    eqmake5 vnote.pro
}

src_install() {
    INSTALL_ROOT="${ED%/}" default
}