media-gfx/koko: new package; add version 9999 (live)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-10-25 16:05:59 +01:00
parent c62fae3091
commit 5d23f0096e
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
3 changed files with 71 additions and 0 deletions

3
media-gfx/koko/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST koko-9999-admin1CodesASCII.txt 136891 BLAKE2B 030d0d3d5ea4dd5473b46d1f2de0b8b42b53e84894c3e29867f4316723e5d3aec1ea90573f06de65d2d94205603d5b1c601eda66d5ff3e384e1a5c5e4a5efbdd SHA512 25b4fccff7833037ceedeb268d92bac6a4f2df225837ce6095a8bfe486979765cda550d04e3ca5791e7689c7f6dbb5199b8962962c802c876e6fe27e16e4e422
DIST koko-9999-admin2Codes.txt 2226955 BLAKE2B 41993590aafbee42ecc0f6693088a7a9c55e55ddbf1b391468a05247ae1534a8f3aea6831a750e6168229658abd0fec50f99bfe7e3010b26ca4fc7122d71049b SHA512 7f88c5c02259519441cc421eed732b841c200b76d59d7e2c048b0472fd7f500e2254b5b23f8112cd560028f5bfb9b6ce458b966fac781c94ca27513400afac0b
DIST koko-9999-cities1000.zip 8009547 BLAKE2B 6dae934a8939b49bd9de4ff638dddd305cd9908e4812b76f2a764504a48e0e8bc359eced1b6e477c6772f643e9a46d6a6aa06dcb121c8a6a34681f38da94deca SHA512 fca4dab5b08994c255070544a1d28075de3a0fa153a13adda0519798059f932955b896a15d86cfe3d24e079c869597e8354b7b8ad88a20e781072d8adc3202c7

View File

@ -0,0 +1,64 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake xdg
DESCRIPTION="Image gallery application by KDE designed for desktop and touch devices"
HOMEPAGE="https://invent.kde.org/graphics/koko"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://invent.kde.org/graphics/${PN}.git"
else
SRC_URI=""
KEYWORDS="~amd64"
fi
SRC_URI="
${SRC_URI}
http://download.geonames.org/export/dump/cities1000.zip -> ${P}-cities1000.zip
http://download.geonames.org/export/dump/admin1CodesASCII.txt -> ${P}-admin1CodesASCII.txt
http://download.geonames.org/export/dump/admin2Codes.txt -> ${P}-admin2Codes.txt
"
# Cmake tests
RESTRICT="
mirror
!test? ( test )
"
LICENSE="LGPL-3"
SLOT="0"
IUSE="test"
BDEPEND="
app-arch/unzip
"
RDEPEND="
kde-frameworks/purpose:5
"
DEPEND="
${RDEPEND}
dev-qt/qtpositioning:5
dev-qt/qtquickcontrols:5
dev-qt/qtsql:5
dev-qt/qtwidgets:5
test? (
dev-qt/qttest
)
"
src_prepare() {
cmake_src_prepare
local dump_files="
cities1000.zip
admin1CodesASCII.txt
admin2Codes.txt
"
for f in ${dump_files}
do
echo "Copying: ${f}"
cp "${DISTDIR}"/"${P}-${f}" "${S}"/src/"${f}" || die "Failed to copy: ${f}"
done
}

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>