commit:     70f6811766435f93dff9f30a5c0e5040cb014b9b
Author:     Mazunki Hoksaas <rolferen <AT> gmail <DOT> com>
AuthorDate: Mon Apr 29 09:19:05 2024 +0000
Commit:     Mazunki Hoksaas <rolferen <AT> gmail <DOT> com>
CommitDate: Mon Apr 29 09:20:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70f68117

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 <AT> gmail.com>

 x11-terms/tym/{tym-3.5.0.ebuild => tym-3.5.0-r1.ebuild} | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/x11-terms/tym/tym-3.5.0.ebuild b/x11-terms/tym/tym-3.5.0-r1.ebuild
similarity index 68%
rename from x11-terms/tym/tym-3.5.0.ebuild
rename to x11-terms/tym/tym-3.5.0-r1.ebuild
index 0b569696f1..d04bc7d45d 100644
--- a/x11-terms/tym/tym-3.5.0.ebuild
+++ b/x11-terms/tym/tym-3.5.0-r1.ebuild
@@ -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

Reply via email to