# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit git-r3 inherit cmake DESCRIPTION="Lagrange is a desktop GUI client for browsing Geminispace" HOMEPAGE="https://git.skyjake.fi/skyjake/lagrange" EGIT_REPO_URI="https://git.skyjake.fi/skyjake/${PN}.git" LICENSE="BSD-2" SLOT="0" KEYWORDS="" IUSE="mp3" RDEPEND=" >=dev-libs/openssl-1.1.1 dev-libs/libpcre dev-libs/libunistring media-libs/libsdl2 sys-libs/zlib mp3? ( media-sound/mpg123 ) " DEPEND=" ${RDEPEND} dev-util/cmake " src_configure() { local mycmakeargs=( -DENABLE_MPG123=$(usex mp3 ON OFF) ) cmake_src_configure } pkg_postinst() { xdg_desktop_database_update xdg_icon_cache_update } pkg_postrm() { xdg_desktop_database_update xdg_icon_cache_update }