summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-12-13 15:43:46 +0000
committernia <nia@pkgsrc.org>2020-12-13 15:43:46 +0000
commit4d92e67df33b3d2f7bcf2938efe611c3a49e6310 (patch)
tree1b2437f2b795c87ce440041d7a0442967072a70f /converters
parent57e8064650e8c4be1d83e4cb708fde699c7100ba (diff)
downloadpkgsrc-4d92e67df33b3d2f7bcf2938efe611c3a49e6310.tar.gz
Add converters/cue2pops.
Contributed in a private email by embr@liclac.eu, thx! cue2pops is a tool for converting PlayStation 1 backups in .CUE/.BIN format to .VCD, the format supported by the PlayStation 2's POPS emulator. The original cue2pops is Windows-only, this is the cue2pops-linux fork.
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile3
-rw-r--r--converters/cue2pops/DESCR4
-rw-r--r--converters/cue2pops/Makefile18
-rw-r--r--converters/cue2pops/PLIST2
-rw-r--r--converters/cue2pops/distinfo7
-rw-r--r--converters/cue2pops/patches/patch-Makefile18
6 files changed, 51 insertions, 1 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 5acf3e5549f..1471e212947 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.182 2020/09/07 10:37:16 wiz Exp $
+# $NetBSD: Makefile,v 1.183 2020/12/13 15:43:46 nia Exp $
#
COMMENT= Document format and character code converters
@@ -19,6 +19,7 @@ SUBDIR+= chef
SUBDIR+= cn2jp
SUBDIR+= code2html
SUBDIR+= convmv
+SUBDIR+= cue2pops
SUBDIR+= doc2html
SUBDIR+= docx2txt
SUBDIR+= dos2unix
diff --git a/converters/cue2pops/DESCR b/converters/cue2pops/DESCR
new file mode 100644
index 00000000000..5b8180313af
--- /dev/null
+++ b/converters/cue2pops/DESCR
@@ -0,0 +1,4 @@
+cue2pops is a tool for converting PlayStation 1 backups in .CUE/.BIN format to
+.VCD, the format supported by the PlayStation 2's POPS emulator.
+
+The original cue2pops is Windows-only, this is the cue2pops-linux fork.
diff --git a/converters/cue2pops/Makefile b/converters/cue2pops/Makefile
new file mode 100644
index 00000000000..812ac59089b
--- /dev/null
+++ b/converters/cue2pops/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/12/13 15:43:46 nia Exp $
+
+DISTNAME= cue2pops-linux-20180104
+PKGNAME= ${DISTNAME:S/-linux//}
+CATEGORIES= converters
+MASTER_SITES= ${MASTER_SITE_GITHUB:=makefu/}
+GITHUB_PROJECT= cue2pops-linux
+GITHUB_TAG= 541863adf23fdecde92eba5899f8d58586ca4551
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/makefu/cue2pops-linux
+COMMENT= Convert BIN/CUE to VCD for POPS on the PS2
+
+MAKE_FLAGS+= INSTALL_DIR=${DESTDIR}${PREFIX}/bin
+
+INSTALLATION_DIRS+= bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/cue2pops/PLIST b/converters/cue2pops/PLIST
new file mode 100644
index 00000000000..3862994cec3
--- /dev/null
+++ b/converters/cue2pops/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/13 15:43:46 nia Exp $
+bin/cue2pops
diff --git a/converters/cue2pops/distinfo b/converters/cue2pops/distinfo
new file mode 100644
index 00000000000..a1446b9f2b6
--- /dev/null
+++ b/converters/cue2pops/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/12/13 15:43:46 nia Exp $
+
+SHA1 (cue2pops-linux-20180104-541863adf23fdecde92eba5899f8d58586ca4551.tar.gz) = c0292011eb20b2b4bebb72aa68cbc6ff1f236085
+RMD160 (cue2pops-linux-20180104-541863adf23fdecde92eba5899f8d58586ca4551.tar.gz) = 71466ec820510fb85c795d600b24add3aed511d6
+SHA512 (cue2pops-linux-20180104-541863adf23fdecde92eba5899f8d58586ca4551.tar.gz) = 2edc53e0fc5c2ab032340171680a1a1e61804fec93732abd56d542b993ca41ac4b497d5fd45386abc187d767f89f3ddce856e2688369ee797921af69778a32d1
+Size (cue2pops-linux-20180104-541863adf23fdecde92eba5899f8d58586ca4551.tar.gz) = 12422 bytes
+SHA1 (patch-Makefile) = 37fbb32cd9a13849826148eab2663bc27f98ceaf
diff --git a/converters/cue2pops/patches/patch-Makefile b/converters/cue2pops/patches/patch-Makefile
new file mode 100644
index 00000000000..cc607cef9b9
--- /dev/null
+++ b/converters/cue2pops/patches/patch-Makefile
@@ -0,0 +1,18 @@
+$NetBSD: patch-Makefile,v 1.1 2020/12/13 15:43:46 nia Exp $
+
+Honor CFLAGS
+
+--- Makefile.orig 2018-01-04 01:12:25.000000000 +0000
++++ Makefile
+@@ -2,9 +2,9 @@
+ SRC = cue2pops.c
+
+ CC = gcc
+-CFLAGS = -Wall -Wextra
++CFLAGS += -Wall -Wextra
+
+-CFLAGS_DEBUG = $(CFLAGS) -O0 -g -DDEBUG
++CFLAGS_DEBUG += $(CFLAGS) -O0 -g -DDEBUG
+
+ TARGET = cue2pops
+