megacoffee.net Gentoo overlay - legacy mirror
We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.
comparison app-misc/qutescoop/qutescoop-2.2_pre20201118.ebuild @ 241:6aca0fc3b7cd
[sync] imported 56b6e9f..47eab67 from upstream
commit 47eab67b371f2341a80427921842a7115d2d99ce
Author: Daniel Neugebauer <dneuge@energiequant.de>
Date: Sun Feb 6 13:40:59 2022 +0100
app-misc/qutescoop: EAPI 8
commit ad7a1c6f801a3e9dd7feff6f14a4fc47c50b330c
Author: Daniel Neugebauer <dneuge@energiequant.de>
Date: Sun Feb 6 13:25:58 2022 +0100
app-misc/qutescoop: static commit revision for 2.2_pre20201118 (masked)
commit 9c3a6eaf217e94a3162c290b78b28c675b69d2db
Author: Daniel Neugebauer <dneuge@energiequant.de>
Date: Sun Feb 6 12:58:08 2022 +0100
app-misc/qutescoop: copied last locally built version to snapshot 2.2_pre20201118
author | Migration Sync <gentoo-overlay@megacoffee.net> |
---|---|
date | Sun, 06 Feb 2022 12:45:02 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
240:22c5ed96be42 | 241:6aca0fc3b7cd |
---|---|
1 # Copyright 1999-2022 Gentoo Foundation | |
2 # Distributed under the terms of the GNU General Public License v2 | |
3 # $Id$ | |
4 | |
5 EAPI=8 | |
6 | |
7 inherit git-r3 | |
8 inherit qmake-utils | |
9 | |
10 # Note: GitHub page only states VATSIM as of January 2021 although other networks | |
11 # are currently still supported. | |
12 DESCRIPTION="A status monitor for VATSIM and other online flight simulation networks." | |
13 HOMEPAGE="https://qutescoop.github.io/qutescoop/" | |
14 | |
15 EGIT_REPO_URI="https://github.com/qutescoop/qutescoop.git" | |
16 EGIT_COMMIT="85cbd8e5877ba4186f7498c78c4646d2b9513f0e" | |
17 | |
18 LICENSE="GPL-3" | |
19 SLOT="0" | |
20 | |
21 # only 64 bits because at least paths ("unix64") would need to be changed | |
22 KEYWORDS="~amd64" | |
23 | |
24 # bash is needed for our wrapper script | |
25 DEPEND=" | |
26 app-shells/bash | |
27 dev-qt/qtcore:5 | |
28 dev-qt/qtgui:5 | |
29 dev-qt/qtnetwork:5 | |
30 dev-qt/qtopengl:5 | |
31 dev-qt/qtwidgets:5 | |
32 dev-qt/qtxml:5 | |
33 media-libs/libglvnd | |
34 sys-libs/glibc | |
35 virtual/glu | |
36 " | |
37 | |
38 RDEPEND="${DEPEND}" | |
39 | |
40 src_prepare() { | |
41 eapply_user | |
42 eqmake5 QuteScoop.pro | |
43 } | |
44 | |
45 src_compile() { | |
46 emake | |
47 } | |
48 | |
49 src_install() { | |
50 # instead of using QuteScoop directly install a wrapper script | |
51 # this is needed because QuteScoop needs write permissions to a data directory | |
52 # for every user and does not create the necessary directories which need to | |
53 # contain specific data | |
54 # TODO: script should somehow handle updates | |
55 cp -a ${FILESDIR}/execution-wrapper.sh QuteScoop | |
56 dobin QuteScoop | |
57 | |
58 dodoc CHANGELOG | |
59 dodoc COPYING | |
60 dodoc README.html | |
61 | |
62 into /usr/share/QuteScoop | |
63 dobin DIST-unix64/QuteScoop | |
64 | |
65 insinto /usr/share/applications | |
66 doins ${FILESDIR}/QuteScoop.desktop | |
67 | |
68 insinto /usr/share/icons/hicolor/32x32/apps | |
69 doins src/qutescoop.png | |
70 | |
71 insinto /usr/share/QuteScoop/data-template | |
72 doins -r data | |
73 doins -r downloaded | |
74 doins -r screenshots | |
75 doins -r textures | |
76 | |
77 # all directories may currently have a "notes" file but in case those should | |
78 # ever get removed, better add our own "keep" file to the otherwise empty directories | |
79 keepdir /usr/share/QuteScoop/data-template/downloaded | |
80 keepdir /usr/share/QuteScoop/data-template/screenshots | |
81 keepdir /usr/share/QuteScoop/data-template/textures/clouds | |
82 } | |
83 | |
84 pkg_postinst() { | |
85 # 12345678901234567890123456789012345678901234567890123456789012345678901234567890 | |
86 einfo "QuteScoop expects a fully prepared user-writable directory. Such a directory" | |
87 einfo "cannot be provisioned by this ebuild directly. Instead a wrapper script is used" | |
88 einfo "in place of the original binary which creates a template in the user's home" | |
89 einfo "directory on first run. Future updates to this package may require the user" | |
90 einfo "to delete that directory manually in order to have it re-created:" | |
91 einfo "" | |
92 einfo " ~/.local/share/QuteScoop" | |
93 einfo "" | |
94 einfo "Please report any issues with the wrapper script to the ebuild author, not" | |
95 einfo "QuteScoop." | |
96 einfo "" | |
97 einfo "Note that this is an unsupported snapshot of an old development version which" | |
98 einfo "did not yet support VATSIM's JSON format. This version may work for other" | |
99 einfo "but is no longer capable of displaying VATSIM traffic without workarounds." | |
100 einfo "" | |
101 einfo "If you want to see VATSIM traffic, you should use version 2.3 or later." | |
102 } |