1 |
commit: 9b24a3f319d036f3db3df84487d5387f251bd0d1 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 10 13:11:07 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 13:17:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b24a3f3 |
7 |
|
8 |
app-emulation/pcem: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
app-emulation/pcem/pcem-16.ebuild | 75 --------------------------------------- |
14 |
1 file changed, 75 deletions(-) |
15 |
|
16 |
diff --git a/app-emulation/pcem/pcem-16.ebuild b/app-emulation/pcem/pcem-16.ebuild |
17 |
deleted file mode 100644 |
18 |
index 605cd74eded..00000000000 |
19 |
--- a/app-emulation/pcem/pcem-16.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,75 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-inherit autotools desktop wxwidgets |
28 |
- |
29 |
-WX_GTK_VER="3.0" |
30 |
- |
31 |
-DESCRIPTION="A PC emulator that specializes in running old operating systems and software" |
32 |
-HOMEPAGE=" |
33 |
- https://pcem-emulator.co.uk/ |
34 |
- https://github.com/sarah-walker-pcem/pcem/ |
35 |
-" |
36 |
-SRC_URI="https://pcem-emulator.co.uk/files/PCemV${PV}Linux.tar.gz" |
37 |
- |
38 |
-LICENSE="GPL-2+" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="amd64" |
41 |
-IUSE="alsa networking" |
42 |
- |
43 |
-S="${WORKDIR}" |
44 |
- |
45 |
-RDEPEND=" |
46 |
- alsa? ( media-libs/alsa-lib ) |
47 |
- media-libs/libsdl2 |
48 |
- media-libs/openal |
49 |
- x11-libs/wxGTK:${WX_GTK_VER}[tiff,X] |
50 |
-" |
51 |
- |
52 |
-DEPEND="${DEPEND}" |
53 |
- |
54 |
-BDEPEND="virtual/pkgconfig" |
55 |
- |
56 |
-PATCHES=( "${FILESDIR}/${PN}-15-respect-cflags.patch" ) |
57 |
- |
58 |
-src_prepare() { |
59 |
- default |
60 |
- |
61 |
- eautoreconf |
62 |
-} |
63 |
- |
64 |
-src_configure() { |
65 |
- # Does not compile with -fno-common. |
66 |
- # See https://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=3&t=3443 |
67 |
- append-cflags -fcommon |
68 |
- |
69 |
- local myeconfargs=( |
70 |
- --enable-release-build |
71 |
- $(use_enable alsa) |
72 |
- $(use_enable networking) |
73 |
- ) |
74 |
- |
75 |
- econf "${myeconfargs[@]}" |
76 |
-} |
77 |
- |
78 |
-src_install() { |
79 |
- default |
80 |
- |
81 |
- insinto /usr/share/pcem |
82 |
- doins -r configs nvr roms |
83 |
- |
84 |
- newicon src/icons/32x32/motherboard.png pcem.png |
85 |
- make_desktop_entry "pcem" "PCem" pcem "Development;Utility" |
86 |
- |
87 |
- dodoc readme.txt |
88 |
-} |
89 |
- |
90 |
-pkg_postinst() { |
91 |
- elog "In order to use PCem, you will need some roms for various emulated systems." |
92 |
- elog "You can either install globally for all users or locally for yourself." |
93 |
- elog "" |
94 |
- elog "To install globally, put your ROM files into '${ROOT}/usr/share/pcem/roms/<system>'." |
95 |
- elog "To install locally, put your ROM files into '~/.pcem/roms/<system>'." |
96 |
-} |