[Midnightbsd-cvs] mports [20763] trunk/emulators/yabause/pkg-plist: yabause 0.9.14
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Nov 12 20:20:03 EST 2015
Revision: 20763
http://svnweb.midnightbsd.org/mports/?rev=20763
Author: laffer1
Date: 2015-11-12 20:20:02 -0500 (Thu, 12 Nov 2015)
Log Message:
-----------
yabause 0.9.14
Modified Paths:
--------------
trunk/emulators/yabause/Makefile
trunk/emulators/yabause/distinfo
trunk/emulators/yabause/pkg-descr
trunk/emulators/yabause/pkg-plist
Added Paths:
-----------
trunk/emulators/yabause/files/patch-src__CMakeLists.txt
Removed Paths:
-------------
trunk/emulators/yabause/files/patch-autogen.sh
Property Changed:
----------------
trunk/emulators/yabause/pkg-descr
Modified: trunk/emulators/yabause/Makefile
===================================================================
--- trunk/emulators/yabause/Makefile 2015-11-13 01:17:24 UTC (rev 20762)
+++ trunk/emulators/yabause/Makefile 2015-11-13 01:20:02 UTC (rev 20763)
@@ -1,53 +1,52 @@
# $MidnightBSD$
PORTNAME= yabause
-PORTVERSION= 0.9.11.1
-PORTREVISION= 0
+PORTVERSION= 0.9.14
CATEGORIES= emulators
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:S/1.1/1/g}/
+MASTER_SITES= SF
MAINTAINER= ports at MidnightBSD.org
COMMENT= Sega Saturn system emulator
+
LICENSE= gpl2
-LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
-
-USES= automake:env autoconf:env aclocal:env
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= cmake dos2unix openal:soft pkgconfig
+DOS2UNIX_FILES= src/qt/YabauseThread.cpp
+USE_XORG= xmu xrandr
USE_GL= gl glu glut
-USE_GNOME= #
-USE_OPENAL= soft
-USE_SDL= yes
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
SUB_FILES= pkg-message
-MAN1= yabause.1
-OPTIONS_DEFINE= QT4
+OPTIONS_DEFINE= SDL2
+OPTIONS_SINGLE= GUI
+OPTIONS_SINGLE_GUI= GTK2 QT4 QT5
OPTIONS_DEFAULT= QT4
-QT4_DESC= Build wit qt4 interface instead of gtk2 one
+GTK2_LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext
+GTK2_USE= gnome=gtk20
+GTK2_CMAKE_ON= -DYAB_PORTS:STRING=gtk
+GTK2_CMAKE_OFF= -DYAB_PORTS:STRING=qt
+QT4_USE= qt4=corelib,gui,opengl \
+ qt4=moc_build,qmake_build,rcc_build,uic_build
+QT4_CMAKE_ON= -DQt5_FOUND:BOOL=OFF
+QT5_USE= qt5=core,gui,opengl \
+ qt5=buildtools_build,qmake_build
+SDL2_DESC= SDL2 libraries support
+SDL2_USE= sdl=sdl2
+SDL2_USE_OFF= sdl=sdl
+
.include <bsd.mport.options.mk>
-.if ${PORT_OPTIONS:MQT4}
-USE_QT4= corelib gui opengl
-CONFIGURE_ARGS+= --with-port=qt
-.else
-USE_GNOME= gtk20
-CONFIGURE_ARGS+= --with-port=gtk
-.endif
+pre-patch: dos2unix
-.include <bsd.port.pre.mk>
-
post-patch:
- @${REINPLACE_CMD} -e "s|%%ACLOCAL%%|${ACLOCAL}|g" -e "s|%%AUTOCONF%%|${AUTOCONF}|g" \
- -e "s|%%AUTOMAKE%%|${AUTOMAKE}|g" ${WRKSRC}/autogen.sh
- @${REINPLACE_CMD} -e "s|0.9.10|${PORTVERSION}|g" ${WRKSRC}/configure.in
+.if empty(PORT_OPTIONS:MSDL2)
+ @${REINPLACE_CMD} -e \
+ 's|SDL2 |SDL | ; \
+ s|SDL2_|SDL_|' ${WRKSRC}/src/CMakeLists.txt
+.endif
-pre-configure:
- @cd ${WRKSRC} && ${SH} autogen.sh
-
-post-install:
- @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: trunk/emulators/yabause/distinfo
===================================================================
--- trunk/emulators/yabause/distinfo 2015-11-13 01:17:24 UTC (rev 20762)
+++ trunk/emulators/yabause/distinfo 2015-11-13 01:20:02 UTC (rev 20763)
@@ -1,2 +1,2 @@
-SHA256 (yabause-0.9.11.1.tar.gz) = 42538eb31232f8bdd2e6e19ad797d556e6e787b57ac0a2a21e0fe7c407b32bca
-SIZE (yabause-0.9.11.1.tar.gz) = 1882934
+SHA256 (yabause-0.9.14.tar.gz) = 75e6320873ef6f8ec956568bff5a8f3b67500bdf52a7e0aa88e0a554b2dd775a
+SIZE (yabause-0.9.14.tar.gz) = 1662762
Deleted: trunk/emulators/yabause/files/patch-autogen.sh
===================================================================
--- trunk/emulators/yabause/files/patch-autogen.sh 2015-11-13 01:17:24 UTC (rev 20762)
+++ trunk/emulators/yabause/files/patch-autogen.sh 2015-11-13 01:20:02 UTC (rev 20763)
@@ -1,7 +0,0 @@
---- autogen.sh.orig 2012-03-25 20:41:13.000000000 -0500
-+++ autogen.sh 2012-03-25 20:42:38.000000000 -0500
-@@ -1,2 +1,2 @@
--aclocal && autoconf && automake --add-missing --copy
--cd src/c68k && aclocal && autoconf && automake
-+%%ACLOCAL%% && %%AUTOCONF%% && %%AUTOMAKE%% --add-missing --copy
-+cd src/c68k && %%ACLOCAL%% && %%AUTOCONF%% && %%AUTOMAKE%%
Added: trunk/emulators/yabause/files/patch-src__CMakeLists.txt
===================================================================
--- trunk/emulators/yabause/files/patch-src__CMakeLists.txt (rev 0)
+++ trunk/emulators/yabause/files/patch-src__CMakeLists.txt 2015-11-13 01:20:02 UTC (rev 20763)
@@ -0,0 +1,24 @@
+--- src/CMakeLists.txt.orig
++++ src/CMakeLists.txt
+@@ -88,6 +88,12 @@
+ add_definitions(-DHAVE_BUILTIN_BSWAP16=1)
+ endif()
+
++# __builtin_bswap32
++check_function_exists(__builtin_bswap32 BSWAP32_OK)
++if (BSWAP32_OK)
++ add_definitions(-DHAVE_BUILTIN_BSWAP32=1)
++endif()
++
+ # sys/time.h
+ check_include_file("sys/time.h" SYSTIME_OK)
+ if (SYSTIME_OK)
+@@ -527,7 +533,7 @@
+ set(YAB_PORT_BUILT TRUE PARENT_SCOPE)
+ endmacro(yab_port_success)
+
+-set(YAB_MAN_DIR "share/man")
++set(YAB_MAN_DIR "man")
+ if (NOT $ENV{PKGMANDIR} STREQUAL "")
+ set(YAB_MAN_DIR $ENV{PKGMANDIR})
+ endif ()
Property changes on: trunk/emulators/yabause/files/patch-src__CMakeLists.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/emulators/yabause/pkg-descr
===================================================================
--- trunk/emulators/yabause/pkg-descr 2015-11-13 01:17:24 UTC (rev 20762)
+++ trunk/emulators/yabause/pkg-descr 2015-11-13 01:20:02 UTC (rev 20763)
@@ -1,6 +1,4 @@
-Yabause is a Sega Saturn emulator. It currently runs on GNU/Linux, FreeBSD and
-is being ported to Microsoft Windows and Mac OS X. It is also ported to the
-Sega Dreamcast as a separate project. It is written in C using the SDL and
+Yabause is a Sega Saturn emulator. It is written in C using the SDL and
OpenGL libraries with support for cdrom and iso files.
-WWW: http://yabause.sourceforge.net/
+WWW: http://yabause.sourceforge.net/
Property changes on: trunk/emulators/yabause/pkg-descr
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Modified: trunk/emulators/yabause/pkg-plist
===================================================================
--- trunk/emulators/yabause/pkg-plist 2015-11-13 01:17:24 UTC (rev 20762)
+++ trunk/emulators/yabause/pkg-plist 2015-11-13 01:20:02 UTC (rev 20763)
@@ -1,12 +1,17 @@
bin/yabause
+man/man1/yabause.1.gz
+share/applications/yabause.desktop
+share/pixmaps/yabause.png
+%%DATADIR%%/yts/ar.yts
%%DATADIR%%/yts/de.yts
%%DATADIR%%/yts/es.yts
%%DATADIR%%/yts/fr.yts
%%DATADIR%%/yts/it.yts
%%DATADIR%%/yts/lt.yts
+%%DATADIR%%/yts/nl.yts
%%DATADIR%%/yts/pt.yts
%%DATADIR%%/yts/pt_BR.yts
+%%DATADIR%%/yts/ru.yts
%%DATADIR%%/yts/sv.yts
-share/pixmaps/yabause.png
- at dirrmtry share/yabause/yts
- at dirrmtry share/yabause
+%%DATADIR%%/yts/zh_CN.yts
+%%DATADIR%%/yts/zh_TW.yts
More information about the Midnightbsd-cvs
mailing list