# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

if [[ ${PV} == 9999 ]]; then
    KEYWORDS=""
    EGIT_REPO_URI="https://gitlab.com/ubports/development/core/${PN}.git"
    inherit git-r3
else
    KEYWORDS="~amd64"
    SRC_URI="https://gitlab.com/ubports/development/core/${PN}/-/archive/${PV}/${P}.tar.gz"
fi

DESCRIPTION="Sounds for the Lomiri operating environment"
HOMEPAGE="https://gitlab.com/ubports/development/core/${PN}"

LICENSE="CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 CC-BY-4.0"
SLOT="0"
RESTRICT="test"

DEPEND=""

RDEPEND="${DEPEND}"

BDEPEND="
    dev-build/cmake
"

#pkg_postinst() {
#    xdg_pkg_postinst
#    gnome2_schemas_update
#}

#pkg_postrm() {
#    xdg_pkg_postrm
#    gnome2_schemas_update
#}