retroarch: Disable PaX MPROTECT to make users' lives easier. Update MESSAGEs for cores accordingly.diff -r1.1 -r1.2 pkgsrc/emulators/libretro-dolphin/MESSAGE
(nia)
@@ -1,9 +1,12 @@ | @@ -1,9 +1,12 @@ | |||
1 | =========================================================================== | 1 | =========================================================================== | |
2 | $NetBSD: MESSAGE,v 1.1 2018/10/15 17:20:21 nia Exp $ | 2 | $NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $ | |
3 | 3 | |||
4 | This package is not PaX MPROTECT-safe, because of its just-in-time | 4 | Prior to using libretro-dolphin: | |
5 | compiler. | |||
6 | 5 | |||
7 | MPROTECT must be disabled for RetroArch for this core to be usable. | 6 | 1. cd to RetroArch's System (where your BIOS files are) or RetroArch's | |
7 | Content directory (where your GC/Wii software images are). | |||
8 | 2. mkdir dolphin-emu | |||
9 | 3. git clone --depth=1 https://github.com/libretro/dolphin.git | |||
10 | 4. cp -R dolphin/Data/Sys dolphin-emu/ && rm -rf dolphin | |||
8 | 11 | |||
9 | =========================================================================== | 12 | =========================================================================== |
@@ -1,16 +1,11 @@ | @@ -1,16 +1,11 @@ | |||
1 | =========================================================================== | 1 | =========================================================================== | |
2 | $NetBSD: MESSAGE,v 1.1 2018/08/14 12:55:41 nia Exp $ | 2 | $NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $ | |
3 | ||||
4 | This package is not PaX MPROTECT-safe, because of its just-in-time | |||
5 | compiler. | |||
6 | ||||
7 | MPROTECT must be disabled for RetroArch for this core to be usable. | |||
8 | 3 | |||
9 | Prior to using libretro-ppsspp: | 4 | Prior to using libretro-ppsspp: | |
10 | 5 | |||
11 | 1. cd to RetroArch's System (where your BIOS files are) or RetroArch's | 6 | 1. cd to RetroArch's System (where your BIOS files are) or RetroArch's | |
12 | Content directory (where your PSP ROMs are). | 7 | Content directory (where your PSP ROMs are). | |
13 | 2. git clone https://github.com/hrydgard/ppsspp ppsspp-master | 8 | 2. git clone https://github.com/hrydgard/ppsspp ppsspp-master | |
14 | 3. cp -R ppsspp-master/assets PPSSPP | 9 | 3. cp -R ppsspp-master/assets PPSSPP | |
15 | 10 | |||
16 | =========================================================================== | 11 | =========================================================================== |
@@ -1,24 +1,17 @@ | @@ -1,24 +1,17 @@ | |||
1 | =========================================================================== | 1 | =========================================================================== | |
2 | $NetBSD: MESSAGE,v 1.1 2018/10/13 17:02:16 nia Exp $ | 2 | $NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $ | |
3 | 3 | |||
4 | Reicast requires the following BIOS files in order to work: | 4 | Reicast requires the following BIOS files in order to work: | |
5 | 5 | |||
6 | SHA256 (dc/dc_boot.bin) = | 6 | SHA256 (dc/dc_boot.bin) = | |
7 | 88d6a666495ad14ab5988d8cb730533cfc94ec2cfd53a7eeda14642ab0d4abf9 | 7 | 88d6a666495ad14ab5988d8cb730533cfc94ec2cfd53a7eeda14642ab0d4abf9 | |
8 | 8 | |||
9 | SHA256 (dc/dc_flash.bin) = | 9 | SHA256 (dc/dc_flash.bin) = | |
10 | dd8b365521a9c08bb4c170da3592212580f7251f35a45d6083774d1c030bc3e3 | 10 | dd8b365521a9c08bb4c170da3592212580f7251f35a45d6083774d1c030bc3e3 | |
11 | 11 | |||
12 | In retroarch, you'll need to place them in the System Directory. | 12 | In retroarch, you'll need to place them in the System Directory. | |
13 | 13 | |||
14 | Alternatively, you can place them in your Content Directory next to the | 14 | Alternatively, you can place them in your Content Directory next to the | |
15 | software you are going to run. | 15 | software you are going to run. | |
16 | 16 | |||
17 | -- | |||
18 | ||||
19 | This package is not PaX MPROTECT-safe, because of its just-in-time | |||
20 | compiler. | |||
21 | ||||
22 | MPROTECT must be disabled for RetroArch for this core to be usable. | |||
23 | ||||
24 | =========================================================================== | 17 | =========================================================================== |
@@ -1,32 +1,35 @@ | @@ -1,32 +1,35 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2018/10/12 23:43:47 nia Exp $ | 1 | # $NetBSD: Makefile,v 1.14 2018/10/15 17:53:23 nia Exp $ | |
2 | 2 | |||
3 | PKGNAME= retroarch-${RETROARCH_VERSION} | 3 | PKGNAME= retroarch-${RETROARCH_VERSION} | |
4 | DISTNAME= RetroArch-${RETROARCH_VERSION} | 4 | DISTNAME= RetroArch-${RETROARCH_VERSION} | |
5 | CATEGORIES= emulators | 5 | CATEGORIES= emulators | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/RetroArch/releases/download/v${RETROARCH_VERSION}/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/RetroArch/releases/download/v${RETROARCH_VERSION}/} | |
7 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
8 | 8 | |||
9 | MAINTAINER= nia@NetBSD.org | 9 | MAINTAINER= nia@NetBSD.org | |
10 | HOMEPAGE= https://www.retroarch.com/ | 10 | HOMEPAGE= https://www.retroarch.com/ | |
11 | COMMENT= Official reference frontend for the libretro API | 11 | COMMENT= Official reference frontend for the libretro API | |
12 | LICENSE= gnu-gpl-v3 | 12 | LICENSE= gnu-gpl-v3 | |
13 | 13 | |||
14 | EXTRACT_USING= bsdtar | 14 | EXTRACT_USING= bsdtar | |
15 | USE_LANGUAGES= c c++ | 15 | USE_LANGUAGES= c c++ | |
16 | USE_TOOLS+= pkg-config gmake | 16 | USE_TOOLS+= pkg-config gmake | |
17 | 17 | |||
18 | HAS_CONFIGURE= yes | 18 | HAS_CONFIGURE= yes | |
19 | 19 | |||
20 | # Needed for certain cores, e.g. Dolphin, Reicast. | |||
21 | NOT_PAX_MPROTECT_SAFE+= bin/retroarch | |||
22 | ||||
20 | CONFIGURE_ARGS+= --disable-builtinminiupnpc | 23 | CONFIGURE_ARGS+= --disable-builtinminiupnpc | |
21 | CONFIGURE_ARGS+= --disable-builtinzlib | 24 | CONFIGURE_ARGS+= --disable-builtinzlib | |
22 | CONFIGURE_ARGS+= --disable-builtinflac | 25 | CONFIGURE_ARGS+= --disable-builtinflac | |
23 | CONFIGURE_ARGS+= --disable-discord | 26 | CONFIGURE_ARGS+= --disable-discord | |
24 | 27 | |||
25 | # necessity for loading cores, might as well fail early without it | 28 | # necessity for loading cores, might as well fail early without it | |
26 | CONFIGURE_ARGS+= --enable-dylib | 29 | CONFIGURE_ARGS+= --enable-dylib | |
27 | 30 | |||
28 | CONFIGURE_ENV+= BIN_DIR=${PREFIX}/bin | 31 | CONFIGURE_ENV+= BIN_DIR=${PREFIX}/bin | |
29 | CONFIGURE_ENV+= MAN_DIR=${PREFIX}/${PKGMANDIR} | 32 | CONFIGURE_ENV+= MAN_DIR=${PREFIX}/${PKGMANDIR} | |
30 | 33 | |||
31 | MAKE_FLAGS+= GIT_VERSION="-pkgsrc" | 34 | MAKE_FLAGS+= GIT_VERSION="-pkgsrc" | |
32 | 35 |