Lines 1-47
Link Here
|
1 |
# Copyright 1999-2018 Gentoo Foundation |
1 |
# Copyright 1999-2020 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=6 |
4 |
EAPI=7 |
5 |
|
5 |
|
6 |
inherit cmake-utils |
6 |
inherit cmake |
7 |
|
7 |
|
8 |
DESCRIPTION="A Sega Saturn emulator" |
8 |
DESCRIPTION="Sega Saturn emulator" |
9 |
HOMEPAGE="https://yabause.org/" |
9 |
HOMEPAGE="https://yabause.org/" |
10 |
SRC_URI="https://download.tuxfamily.org/${PN}/releases/${PV}/${P}.tar.gz" |
10 |
SRC_URI="https://download.tuxfamily.org/${PN}/releases/${PV}/${P}.tar.gz" |
11 |
|
11 |
|
12 |
LICENSE="GPL-2" |
12 |
LICENSE="GPL-2" |
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~x86" |
14 |
KEYWORDS="~amd64 ~x86" |
15 |
IUSE="openal opengl +qt5 sdl" |
15 |
IUSE="openal opengl sdl" |
16 |
|
16 |
|
17 |
# Qt5 is the recommended UI and 0.9.15 the last release w/ GTK+ |
17 |
BDEPEND=" |
|
|
18 |
virtual/pkgconfig |
19 |
" |
18 |
RDEPEND=" |
20 |
RDEPEND=" |
19 |
sys-libs/zlib:= |
21 |
dev-qt/qtcore:5 |
|
|
22 |
dev-qt/qtgui:5 |
23 |
dev-qt/qtmultimedia:5 |
24 |
dev-qt/qtwidgets:5 |
25 |
sys-libs/zlib |
20 |
x11-libs/libXrandr |
26 |
x11-libs/libXrandr |
21 |
x11-libs/libX11 |
27 |
x11-libs/libX11 |
22 |
openal? ( media-libs/openal ) |
28 |
openal? ( media-libs/openal ) |
23 |
opengl? ( |
29 |
opengl? ( |
|
|
30 |
dev-qt/qtopengl:5 |
24 |
media-libs/freeglut |
31 |
media-libs/freeglut |
25 |
virtual/glu |
32 |
virtual/glu |
26 |
virtual/opengl |
33 |
virtual/opengl |
27 |
) |
34 |
) |
28 |
qt5? ( |
|
|
29 |
dev-qt/qtcore:5 |
30 |
dev-qt/qtgui:5 |
31 |
dev-qt/qtmultimedia:5 |
32 |
dev-qt/qtwidgets:5 |
33 |
opengl? ( dev-qt/qtopengl:5 ) |
34 |
) |
35 |
!qt5? ( |
36 |
dev-libs/glib:2 |
37 |
x11-libs/gtk+:2 |
38 |
x11-libs/gtkglext |
39 |
) |
40 |
sdl? ( media-libs/libsdl2[opengl?,video] ) |
35 |
sdl? ( media-libs/libsdl2[opengl?,video] ) |
41 |
" |
36 |
" |
42 |
DEPEND="${RDEPEND} |
37 |
DEPEND="${RDEPEND}" |
43 |
virtual/pkgconfig |
|
|
44 |
" |
45 |
|
38 |
|
46 |
PATCHES=( |
39 |
PATCHES=( |
47 |
"${FILESDIR}"/${P}-RWX.patch |
40 |
"${FILESDIR}"/${P}-RWX.patch |
Lines 61-67
src_configure() {
Link Here
|
61 |
-DYAB_WANT_SDL=$(usex sdl) |
54 |
-DYAB_WANT_SDL=$(usex sdl) |
62 |
-DYAB_WANT_OPENAL=$(usex openal) |
55 |
-DYAB_WANT_OPENAL=$(usex openal) |
63 |
-DYAB_WANT_OPENGL=$(usex opengl) |
56 |
-DYAB_WANT_OPENGL=$(usex opengl) |
64 |
-DYAB_PORTS=$(usex qt5 "qt" "gtk") |
57 |
-DYAB_PORTS=qt |
65 |
) |
58 |
) |
66 |
cmake-utils_src_configure |
59 |
cmake_src_configure |
67 |
} |
60 |
} |
68 |
- |
|
|