37 lines
839 B
PHP
37 lines
839 B
PHP
# SPDX-FileCopyrightText: 2019-2020 Volker Krause <vkrause@kde.org>
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
DESCRIPTION = "Okular"
|
|
HOMEPAGE = "https://okular.kde.org/"
|
|
LICENSE = "GPL-2.0"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=5a3169a2d39a757efd8b7aa66a69d97b"
|
|
PR = "r0"
|
|
|
|
DEPENDS += " \
|
|
kirigami \
|
|
kparts \
|
|
threadweaver \
|
|
kwallet \
|
|
kjs \
|
|
kactivities \
|
|
kpty \
|
|
poppler \
|
|
qca \
|
|
"
|
|
|
|
SRC_URI = "git://invent.kde.org/graphics/${BPN};nobranch=1;protocol=https"
|
|
S = "${WORKDIR}/git"
|
|
|
|
# dirty hack to force the mobile version and hide the desktop one
|
|
do_install_append() {
|
|
sed -i 's/Exec=okular %U$/Exec=okularkirigami %U/g' ${D}${datadir}/applications/org.kde.okular.desktop
|
|
}
|
|
|
|
inherit cmake_kdeapp
|
|
inherit kcoreaddons
|
|
inherit kconfig
|
|
inherit kauth
|
|
|
|
EXTRA_OECMAKE += " -DOE_QCA_PATH_HOST_ROOT=${STAGING_DIR_HOST}"
|