commit: 6b21ce283976bff9ffa4745013389f49abd25db0 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Tue Mar 18 13:55:49 2025 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Tue Mar 18 13:55:49 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b21ce28
x11-misc/birdtray: add a p20250318 snapshot Bug: https://bugs.gentoo.org/951139 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> x11-misc/birdtray/Manifest | 1 + x11-misc/birdtray/birdtray-1.11.4_p20250318.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/x11-misc/birdtray/Manifest b/x11-misc/birdtray/Manifest index d351edd982e9..20306a084d57 100644 --- a/x11-misc/birdtray/Manifest +++ b/x11-misc/birdtray/Manifest @@ -1 +1,2 @@ DIST birdtray-1.11.4.gh.tar.gz 867399 BLAKE2B e3e5663bb343d991c66ff0bd774fdc1abf74a5e94f7ea42ecfe5e16f3c1be932fe8d91ae0d9a6e43d75475671f4f18df0a90f80a09e58892d9629c4cc464b729 SHA512 a3eeeb93fea3f32bbf6a43944d76d0c3990a26db0abbad52102aa72f15f9a32a746620ca347444dab0d90393785aeada7ffb9ec901f91b4701fb128c4e7e628c +DIST birdtray-1.11.4_p20250318.tar.xz 1373564 BLAKE2B 75798b1dbbaa91a049a6d66c6f97e381046c0d93707a2263fd24f83803e51ad20cb9d95ca8ee3f11241a55df853860b577996a877fd178758861e710f592e112 SHA512 573263e616a3fc0bc1600a7a200793b0ff3dbaeef15d7b121205788abf51e0e5b14f83ef8101e7f6df09df48b4870057bcf5f16edc9d9d8d7be5f8ef96b7058d diff --git a/x11-misc/birdtray/birdtray-1.11.4_p20250318.ebuild b/x11-misc/birdtray/birdtray-1.11.4_p20250318.ebuild new file mode 100644 index 000000000000..552b553fc074 --- /dev/null +++ b/x11-misc/birdtray/birdtray-1.11.4_p20250318.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg-utils + +DESCRIPTION="A new mail system tray notification icon for Thunderbird" +HOMEPAGE="https://github.com/gyunaev/birdtray" + +# bug 951139 - Add a snapshot to use qt6 +# Just appended '20250318' into src/version.h to display that is a snapshot version +SRC_URI="https://dev.gentoo.org/~ago/distfiles/birdtray-1.11.4_p20250318.tar.xz" +KEYWORDS="~amd64" + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND="dev-db/sqlite:= + dev-qt/qtbase:6 + dev-qt/qtsvg:6 + x11-libs/libX11" + +DEPEND="${RDEPEND}" + +# https://github.com/gyunaev/birdtray/commit/74a97df3a17efd5ef679b8eed6999b97abc23f10 +# translations have been made optional, let's see how we would manage them +BDEPEND="dev-qt/qttools:6" + +src_prepare() { + # https://github.com/gyunaev/birdtray/issues/606 + sed -i 's/Qt5LinguistTools/Qt6LinguistTools/g' CMakeLists.txt || die + sed -i 's/qt5_/qt6_/g' CMakeLists.txt || die + + cmake_src_prepare +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}
