# Local SrcUX release recipe. Sources retain their upstream MIT provenance. EAPI=8 inherit meson DESCRIPTION="Pyr desktop client SDK" HOMEPAGE="https://www.hedronfire.com/" SRC_URI="https://www.hedronfire.com/distfiles/wayfire-core-0.1.9.tar.gz" S="${WORKDIR}/wayfire-core-0.1.9" PATCHES=( "${FILESDIR}/pyr-core-0.1.9-package-name.patch" ) LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" RESTRICT="mirror test" DEPEND=" dev-libs/glib:2 =dev-libs/yyjson-0.13.0* " RDEPEND="!gui-libs/wayfire-core ${DEPEND} " BDEPEND="virtual/pkgconfig" src_configure() { local emesonargs=( -Dtests=false ) meson_src_configure } src_install() { meson_src_install # The build installs its docs unversioned; keep them in the versioned dir. if [[ -d ${ED}/usr/share/doc/${PN} ]]; then mkdir -p "${ED}/usr/share/doc/${PF}" || die mv "${ED}/usr/share/doc/${PN}"/* "${ED}/usr/share/doc/${PF}/" || die rmdir "${ED}/usr/share/doc/${PN}" || die fi }