View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop java-pkg-2 xdg
DESCRIPTION="A GUI front-end of fontconfig"
HOMEPAGE="https://github.com/guoyunhe/fontweak"
SRC_URI="https://github.com/guoyunhe/fontweak/archive/v${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND=">=virtual/jre-1.8"
DEPEND=">=virtual/jdk-1.8"
BDEPEND=">=dev-java/ant-1.10.14-r3"
src_prepare() {
default
sed -i 's:1.7:1.8:g' nbproject/project.properties || die
}
src_compile() {
eant jar
}
src_install() {
default
java-pkg_dojar dist/${PN}.jar
java-pkg_dolauncher ${PN}
domenu ${PN}.desktop
newicon -s scalable icon.svg ${PN}.svg
}