x11-terms/tym: revbump, fix minor bugs

Closes: https://bugs.gentoo.org/920447
Closes: https://bugs.gentoo.org/920446
See-Also: https://github.com/endaaman/tym/issues/115
Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com>
This commit is contained in:
Mazunki Hoksaas 2024-04-29 11:19:05 +02:00
parent 94bd325763
commit 70f6811766
No known key found for this signature in database
GPG Key ID: 4BA695D60FC614BF

View File

@ -29,6 +29,16 @@ DEPEND="
"
RDEPEND="${DEPEND}"
src_prepare() {
default
# see https://github.com/endaaman/tym/issues/115
sed -i '/^CFLAGS=""/d' "${S}"/configure.ac || die
# the categories provided by eclass do a better job than upstream, and
# having duplicate list of categories fails on QA
sed -i '/^Categories=.*$/d' "${S}"/tym-daemon.desktop "${S}"/tym.desktop || die
}
src_configure() {
if [[ ${PV} == 9999 ]]; then
eautoreconf