# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PLOCALES="ar az cs da de eo es fa fi fr he hi hu id it ja ko lt nb_NO nl pl pt_BR pt ro ru sk sv tr uk zh_Hans" PLOCALE_BACKUP="en" EGIT_REPO_URI="https://github.com/Schneegans/${PN}.git" inherit ecm edo git-r3 plocale DESCRIPTION="Disintegrate your windows with style" HOMEPAGE="https://github.com/Schneegans/Burn-My-Windows" LICENSE="GPL-3" SLOT="5" RDEPEND="kde-plasma/kwin:5" BDEPEND="dev-lang/perl:0=" src_prepare() { default # do not create tarball sed -i '/tar/d' kwin/build.sh || die "sed failed" my_rm_loc() { rm po/"${1}".po || die "rm failed for po/${1}.po" } plocale_for_each_disabled_locale my_rm_loc } src_configure() { :; } src_compile() { edo kwin/build.sh } src_install() { einstalldocs insinto /usr/share/kwin/effects doins -r kwin/_build/. }