blob: 242823d29130a28d70dd3c5f7398617fbc965b69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="Betterbird is a fine-tuned version of Mozilla Thunderbird"
HOMEPAGE="https://github.com/Betterbird/thunderbird-patches/ https://betterbird.eu/"
SRC_URI="https://www.betterbird.eu/downloads/LinuxArchive/betterbird-${PV}esr-bb8.en-US.linux-x86_64.tar.xz"
S="${WORKDIR}"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="-* ~amd64"
RDEPEND="
app-accessibility/at-spi2-core
dev-libs/dbus-glib
dev-libs/glib
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype
sys-apps/dbus
virtual/freedesktop-icon-theme
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libxcb
x11-libs/pango
"
QA_PREBUILT="*"
src_install() {
insinto /opt/
doins -r betterbird
dosym ../../opt/betterbird/betterbird-bin /usr/bin/betterbird-bin
domenu "${FILESDIR}"/betterbird-bin.desktop
local x
for x in 16 32 48 64 128 256; do
newicon -s ${x} betterbird/chrome/icons/default/default${x}.png betterbird.png
done
fperms +x /opt/betterbird/betterbird-bin
fperms +x /opt/betterbird/glxtest
fperms +x /opt/betterbird/vaapitest
}
pkg_postinst() {
xdg_pkg_postinst
elog "Language pack XPIs need to be downloaded and installed manually."
elog "Please see the link below for further information."
elog ""
elog "\thttps://betterbird.eu/downloads/index.php"
}
|