# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

DESCRIPTION="An application to split, merge, rotate and mix PDF files"
HOMEPAGE="https://scarpetta.eu/pdfmixtool https://gitlab.com/scarpetta/pdfmixtool"
SRC_URI="https://gitlab.com/scarpetta/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"

LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-qt/qtcore
		dev-qt/qtsvg
		dev-qt/linguist-tools
		app-text/qpdf"
RDEPEND="${DEPEND}"
BDEPEND=">=dev-util/cmake-3.6"

S="${WORKDIR}/${PN}-v${PV}"
