blob: 7893106d621982833e155ae2e5a60d4e478c0437 (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
inherit eutils python-r1
DESCRIPTION="PyQT5 based Launcher for FS-UAE."
HOMEPAGE="https://fs-uae.net/"
SRC_URI="https://fs-uae.net/devel/${PV}dev/${P}dev.tar.gz"
LICENSE="GPL-2"
KEYWORDS=""
SLOT="0"
IUSE=""
RDEPEND="
${PYTHON_DEPS}
app-emulation/fs-uae
dev-python/PyQt5
"
DEPEND="${RDEPEND}
"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
"
PATCHES=(
"${FILESDIR}"/${P}-Makefile.patch
"${FILESDIR}"/${P}-German-ROMs.patch
)
DOCS=( COPYING README )
S="${S}dev"
src_compile() {
emake PREFIX="${EPREFIX}/usr"
}
src_install() {
einstalldocs
emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}"
}
pkg_postinst() {
einfo "Some important information:"
einfo
einfo " - Do not use QtCurve, it will crash PyQt5!"
einfo
einfo " - By default, FS-UAE creates its directories under"
einfo " Documents/FS-UAE. If your Documents directory is not"
einfo " configured according to the XDG user dir spec, ~/FS-UAE"
einfo " will be used as a fallback."
einfo
einfo " - You can override this by putting the path to the desired base"
einfo " directory in a special config file. The config file will be"
einfo " read by both FS-UAE and FS-UAE Launcher if it exists:"
einfo " ~/.config/fs-uae/base-dir"
einfo " Alternatively, you can start FS-UAE and/or FS-UAE Launcher"
einfo " with --base-dir=/path/to/desired/dir"
}
|