remove ia64 keywords
[gentoo-zh.git] / app-editors / appflowy-bin / appflowy-bin-0.7.8.ebuild
blob52554db711e0b1cd4c7f3705a660916c9c7f8060
1 # Copyright 1999-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit desktop xdg
8 MY_PN="AppFlowy"
10 DESCRIPTION="AppFlowy is an open-source alternative to Notion"
11 HOMEPAGE="https://www.appflowy.io/"
12 SRC_URI="
13         https://github.com/AppFlowy-IO/AppFlowy/releases/download/${PV}/AppFlowy-${PV}-linux-x86_64.tar.gz
15 S="${WORKDIR}/${MY_PN}"
17 LICENSE="AGPL-3"
18 SLOT="0"
19 KEYWORDS="-* ~amd64"
21 DEPEND="
22         app-accessibility/at-spi2-core:2
23         dev-libs/glib:2
24         dev-libs/openssl:0/3
25         dev-libs/keybinder:3
26         media-video/mpv:0[libmpv]
27         media-libs/harfbuzz
28         media-libs/libepoxy
29         x11-libs/cairo
30         x11-libs/gdk-pixbuf:2
31         x11-libs/gtk+:3
32         x11-libs/libnotify
33         x11-libs/pango
34         x11-misc/xdg-user-dirs[gtk]
36 RDEPEND="${DEPEND}"
38 RESTRICT="bindist mirror test"
40 QA_PRESTRIPPED="
41         /opt/${PN}/lib/libapp.so
42         /opt/${PN}/lib/libflutter_linux_gtk.so
44 QA_PREBUILT="*"
46 src_install() {
47         dosym -r /usr/lib64/libmpv.so.2 /usr/lib64/libmpv.so.1
49         insinto "/opt/${PN}"
50         doins -r data/ lib/ AppFlowy
52         fperms +x /opt/${PN}/AppFlowy
54         domenu "${FILESDIR}/AppFlowy.desktop"
55         doicon -s scalable data/flutter_assets/assets/images/flowy_logo.svg