pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/PC6001VX



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sun Jan 15 11:11:01 UTC 2017

Added Files:
        pkgsrc/emulators/PC6001VX: DESCR Makefile PLIST distinfo
        pkgsrc/emulators/PC6001VX/patches: patch-PC6001VX.pro

Log Message:
Import PC6001VX-2.30.0 as emulators/PC6001VX.

PC6001VX is cross platform PC-6001 emulator based on "PC6001V" for Windows.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/PC6001VX/DESCR \
    pkgsrc/emulators/PC6001VX/Makefile pkgsrc/emulators/PC6001VX/PLIST \
    pkgsrc/emulators/PC6001VX/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/PC6001VX/patches/patch-PC6001VX.pro

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/emulators/PC6001VX/DESCR
diff -u /dev/null pkgsrc/emulators/PC6001VX/DESCR:1.1
--- /dev/null   Sun Jan 15 11:11:01 2017
+++ pkgsrc/emulators/PC6001VX/DESCR     Sun Jan 15 11:11:01 2017
@@ -0,0 +1 @@
+PC6001VX is cross platform PC-6001 emulator based on "PC6001V" for Windows.
Index: pkgsrc/emulators/PC6001VX/Makefile
diff -u /dev/null pkgsrc/emulators/PC6001VX/Makefile:1.1
--- /dev/null   Sun Jan 15 11:11:01 2017
+++ pkgsrc/emulators/PC6001VX/Makefile  Sun Jan 15 11:11:01 2017
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2017/01/15 11:11:01 tsutsui Exp $
+
+VERSION=               2.30.0
+DISTNAME=              PC6001VX_${VERSION}_src
+PKGNAME=               ${DISTNAME:S/_src//:S/_/-/}
+CATEGORIES=            emulators
+MASTER_SITES=          http://eighttails.up.seesaa.net/bin/
+
+MAINTAINER=            tsutsui%NetBSD.org@localhost
+HOMEPAGE=              http://eighttails.seesaa.net/
+COMMENT=               Cross platform PC-6001 emulator
+LICENSE=               gnu-lgpl-v2.1
+
+USE_TOOLS+=            pkg-config
+USE_LANGUAGES=         c c++
+
+INSTALLATION_DIRS+=    bin share/doc/PC6001VX
+
+do-configure:
+       cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile PC6001VX.pro
+
+do-install:
+       cd ${WRKSRC} && ${INSTALL_PROGRAM} ${WRKSRC}/PC6001VX \
+           ${DESTDIR}${PREFIX}/bin
+       cd ${WRKSRC} && ${INSTALL_DATA} ${WRKSRC}/README.html \
+           ${DESTDIR}${PREFIX}/share/doc/PC6001VX
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
+.include "../../x11/qt5-qtx11extras/buildlink3.mk"
+.include "../../multimedia/ffmpeg3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/emulators/PC6001VX/PLIST
diff -u /dev/null pkgsrc/emulators/PC6001VX/PLIST:1.1
--- /dev/null   Sun Jan 15 11:11:01 2017
+++ pkgsrc/emulators/PC6001VX/PLIST     Sun Jan 15 11:11:01 2017
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/01/15 11:11:01 tsutsui Exp $
+bin/PC6001VX
+share/doc/PC6001VX/README.html
Index: pkgsrc/emulators/PC6001VX/distinfo
diff -u /dev/null pkgsrc/emulators/PC6001VX/distinfo:1.1
--- /dev/null   Sun Jan 15 11:11:01 2017
+++ pkgsrc/emulators/PC6001VX/distinfo  Sun Jan 15 11:11:01 2017
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/01/15 11:11:01 tsutsui Exp $
+
+SHA1 (PC6001VX_2.30.0_src.tar.gz) = e6be8c003b5247ea57502f55974a332bf2ab0588
+RMD160 (PC6001VX_2.30.0_src.tar.gz) = 14ef360a479de18c88e8f2cba30ff9dec88869ed
+SHA512 (PC6001VX_2.30.0_src.tar.gz) = 813a1c0d34263e91ace6c34ba5931e8cd8cc981385990eaece9c32ad8288ca1d4b94acbd62bad76add41f0941ad3410aaab5251977e010cf43403ab528f9d683
+Size (PC6001VX_2.30.0_src.tar.gz) = 1639761 bytes
+SHA1 (patch-PC6001VX.pro) = b2cef4eb1457e2101d780db17ae9cc232180764d

Index: pkgsrc/emulators/PC6001VX/patches/patch-PC6001VX.pro
diff -u /dev/null pkgsrc/emulators/PC6001VX/patches/patch-PC6001VX.pro:1.1
--- /dev/null   Sun Jan 15 11:11:01 2017
+++ pkgsrc/emulators/PC6001VX/patches/patch-PC6001VX.pro        Sun Jan 15 11:11:01 2017
@@ -0,0 +1,113 @@
+$NetBSD: patch-PC6001VX.pro,v 1.1 2017/01/15 11:11:01 tsutsui Exp $
+
+- pull following updates (use pkg-config more properly) from the upstream:
+ https://github.com/eighttails/PC6001VX/commit/19367cdbaf4b624a64a962168767ae9fb1aef8c4
+ https://github.com/eighttails/PC6001VX/commit/d4a7179f34a6eb454bce898815ab4f5ab767577b
+ https://github.com/eighttails/PC6001VX/commit/fd695b875266be21fe6be22a918be6ea7cdc7f53
+ https://github.com/eighttails/PC6001VX/commit/179408dc05377ea3c19f504f382436874466efa5
+
+--- PC6001VX.pro.orig  2016-08-27 12:19:26.000000000 +0000
++++ PC6001VX.pro
+@@ -4,7 +4,7 @@
+ #
+ #-------------------------------------------------
+ 
+-QT       += core gui widgets network
++QT += core gui widgets network
+ 
+ TARGET = PC6001VX
+ TEMPLATE = app
+@@ -16,24 +16,30 @@
+ #Define for Qt dependent code
+ DEFINES += QTP6VX
+ 
+-#Disable joystick support.If joystick support is disabled, PC6001VX does not depend on SDL2.
++#Disable joystick support.If uncommented below, PC6001VX does not depend on SDL2.
+ #DEFINES += NOJOYSTICK
+ 
++#Disable joystick support.If uncommented below, PC6001VX does not depend on ffmpeg.
++#DEFINES += NOAVI
++
++#Disable debug features.For low performance machine.
++#DEFINES += NOMONITOR
++
+ #Other feature control flags.
+ #DEFINES += NOSINGLEAPP
+ #DEFINES += NOOPENGL
+ #DEFINES += NOSOUND
+-#DEFINES += NOAVI
+ #DEFINES += REPLAYDEBUG
+ #DEFINES += AUTOSUSPEND
+ 
+ debug:DEFINES += DEBUG
+ INCLUDEPATH += src/Qt src/Qt/qtsingleapplication
+ 
+-linux{
++#Configuration for UNIX variants
++unix {
+ #Configuration for Android
+-android{
+-DEFINES += NOSINGLEAPP NOJOYSTICK NOMONITOR NOAVI ALWAYSFULLSCREEN AUTOSUSPEND USE_QGLWIDGET
++android {
++DEFINES += NOSINGLEAPP NOJOYSTICK NOMONITOR NOAVI ALWAYSFULLSCREEN AUTOSUSPEND
+ #Set "ROM Path in target device" to "CUSTOM_ROM_PATH environment variable on build host"
+ debug:DEFINES += CUSTOMROMPATH=\\\"$$(CUSTOM_ROM_PATH)\\\"
+ }
+@@ -56,24 +62,24 @@
+ #Configuration for X11(XCB)
+ DEFINES += USE_X11
+ QT += x11extras
+-LIBS += -lX11
++QMAKE_CXXFLAGS += $$system(pkg-config --cflags x11)
++LIBS += $$system(pkg-config --libs x11)
+ }
+ }
+ 
+ #Configuration for Windows
+-win32:{
++win32 {
+ DEFINES += WIN32
+ #On Windows, links libraries statically as long as possible.
+ QMAKE_LFLAGS += -static -lpthread
+ RC_ICONS += src/win32/PC6001VX.ico
++}
+ 
+ !contains(DEFINES, NOJOYSTICK) {
+-#On Windows, referes SDL_DIR environment variable to search SDL2
+-QMAKE_CXXFLAGS += -I$$(SDL_DIR)/include -Dmain=SDL_main
+-LIBS += -L$$(SDL_DIR)/lib -lmingw32 -lSDL2main -lSDL2 -mwindows -lm -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -luuid
++win32 {
++LIBS += -lmingw32 -lSDL2main -lSDL2 -lversion -mwindows
+ }
+-} else {
+-!contains(DEFINES, NOJOYSTICK) {
++unix {
+ QMAKE_CXXFLAGS += $$system(sdl2-config --cflags)
+ LIBS += $$system(sdl2-config --libs)
+ }
+@@ -82,16 +88,23 @@
+ !contains(DEFINES, NOOPENGL) {
+ QT += opengl
+ }
++
+ !contains(DEFINES, NOSOUND) {
+ QT += multimedia
+ SOURCES += \
+     src/Qt/wavfile.cpp \
+     src/Qt/utils.cpp
+ }
++
+ !contains(DEFINES, NOAVI) {
+ DEFINES += __STDC_CONSTANT_MACROS __STDC_FORMAT_MACROS
+-LIBS += -lavformat -lavcodec -lswscale -lavutil -lswresample
+-win32:LIBS += -lvorbisenc -lvorbis -logg -lvpx
++win32 {
++LIBS += -lavformat -lavcodec -lswscale -lavutil -lswresample -lvorbisenc -lvorbis -logg -lvpx
++}
++unix {
++QMAKE_CXXFLAGS += $$system(pkg-config --cflags libavformat libavcodec libswscale libavutil libswresample)
++LIBS += $$system(pkg-config --libs libavformat libavcodec libswscale libavutil libswresample)
++}
+ }
+ 
+ SOURCES += \



Home | Main Index | Thread Index | Old Index