commit:     b6e24cf4511d6324c072f880c0d910392db19d51
Author:     CaptainBlood <luc_pierard_de_maujouy <AT> yahoo <DOT> fr>
AuthorDate: Wed Aug 30 23:29:53 2023 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed Aug 30 23:35:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b6e24cf4

gui-apps/yambar: update -9999

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 gui-apps/yambar/yambar-9999.ebuild | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/gui-apps/yambar/yambar-9999.ebuild 
b/gui-apps/yambar/yambar-9999.ebuild
index a269aa2d42..80a0d0a88e 100644
--- a/gui-apps/yambar/yambar-9999.ebuild
+++ b/gui-apps/yambar/yambar-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 inherit meson
 
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://codeberg.org/dnkl/${PN}.git";
 else
@@ -94,5 +94,14 @@ src_configure() {
 
 src_install() {
        meson_src_install
-       rm -rf "${D}/usr/share/doc/${PN}"
+       if use core; then
+               mv "${D}"/usr/lib64/yambar/libdynlist.so 
"${D}"/usr/lib64/libdynlist.so || die
+       fi
+       rm -rf "${D}/usr/share/doc/${PN}" || die
+}
+
+pkg_postinst() {
+       ewarn "Warning: if you are upgrading from 1.8.0, please note that there 
are breaking changes that might affect your config.yml file."
+       ewarn "See the changelog for more information"
+       ewarn "https://codeberg.org/dnkl/yambar/releases/tag/1.9.0";
 }

Reply via email to