summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-06-08 08:57:08 +0000
committernia <nia@pkgsrc.org>2020-06-08 08:57:08 +0000
commitd7bddd24522cb93e14e3ba8aec0cfa80bb2a2623 (patch)
tree45002df2441ef2f8d15f213a79a3c0adc3b086ea /emulators
parent35b3371391e54377227f5e99c60edb0c397b81a8 (diff)
downloadpkgsrc-d7bddd24522cb93e14e3ba8aec0cfa80bb2a2623.tar.gz
retroarch: don't install stuff to etc
Diffstat (limited to 'emulators')
-rw-r--r--emulators/retroarch/distinfo3
-rw-r--r--emulators/retroarch/patches/patch-Makefile22
2 files changed, 24 insertions, 1 deletions
diff --git a/emulators/retroarch/distinfo b/emulators/retroarch/distinfo
index 5e184e4598f..76cc306331f 100644
--- a/emulators/retroarch/distinfo
+++ b/emulators/retroarch/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2020/05/30 14:26:52 nia Exp $
+$NetBSD: distinfo,v 1.18 2020/06/08 08:57:08 nia Exp $
SHA1 (retroarch-1.8.8/retroarch-assets.tar.gz) = f1e00377a5e3ec0ceabeab55ac5f661fc610a532
RMD160 (retroarch-1.8.8/retroarch-assets.tar.gz) = ea66a38122f8cc25f3a7d205f7f145d5e1f43451
@@ -8,6 +8,7 @@ SHA1 (retroarch-1.8.8/retroarch.tar.gz) = de1755310fdb8c90cf0151dfad451dd910bbd4
RMD160 (retroarch-1.8.8/retroarch.tar.gz) = 3a114e6abbe0d29d1d6189123f21da23b85f84df
SHA512 (retroarch-1.8.8/retroarch.tar.gz) = feb2830a91beb818f1ee14231f2d48ae774e0477d10063b5cc7ab5867ac9afcbae5ccf4e725727fde01a1ca8b79829b8282e1dd630c2451de1c515d6fd832969
Size (retroarch-1.8.8/retroarch.tar.gz) = 38619875 bytes
+SHA1 (patch-Makefile) = 886af2968421f014f71d691fb07046b42e499904
SHA1 (patch-audio_drivers_audioio.c) = 446e422484ac613fb4586026d64c343227ee2792
SHA1 (patch-frontend_drivers_platform__unix.c) = fd4edcb2f55b47e255f53e6b1aef639a589456f6
SHA1 (patch-gfx_drivers__context_sdl__gl__ctx.c) = deccbfa4e00b9938552e580184af2a800254c428
diff --git a/emulators/retroarch/patches/patch-Makefile b/emulators/retroarch/patches/patch-Makefile
new file mode 100644
index 00000000000..839cfa5afab
--- /dev/null
+++ b/emulators/retroarch/patches/patch-Makefile
@@ -0,0 +1,22 @@
+$NetBSD: patch-Makefile,v 1.7 2020/06/08 08:57:08 nia Exp $
+
+Don't install a config file, retroarch generates on in HOME.
+
+--- Makefile.orig 2020-05-27 18:11:31.000000000 +0000
++++ Makefile
+@@ -242,7 +242,6 @@ install: $(TARGET)
+ mkdir -p $(DESTDIR)$(DATA_DIR)/pixmaps 2>/dev/null || /bin/true
+ cp $(TARGET) $(DESTDIR)$(BIN_DIR)
+ cp tools/cg2glsl.py $(DESTDIR)$(BIN_DIR)/retroarch-cg2glsl
+- cp retroarch.cfg $(DESTDIR)$(GLOBAL_CONFIG_DIR)
+ cp retroarch.desktop $(DESTDIR)$(DATA_DIR)/applications
+ cp docs/retroarch.6 $(DESTDIR)$(MAN_DIR)/man6
+ cp docs/retroarch-cg2glsl.6 $(DESTDIR)$(MAN_DIR)/man6
+@@ -251,7 +250,6 @@ install: $(TARGET)
+ cp README.md $(DESTDIR)$(DOC_DIR)
+ chmod 755 $(DESTDIR)$(BIN_DIR)/$(TARGET)
+ chmod 755 $(DESTDIR)$(BIN_DIR)/retroarch-cg2glsl
+- chmod 644 $(DESTDIR)$(GLOBAL_CONFIG_DIR)/retroarch.cfg
+ chmod 644 $(DESTDIR)$(DATA_DIR)/applications/retroarch.desktop
+ chmod 644 $(DESTDIR)$(MAN_DIR)/man6/retroarch.6
+ chmod 644 $(DESTDIR)$(MAN_DIR)/man6/retroarch-cg2glsl.6