pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Add devel/fifengine.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/615bcb5568e5
branches:  trunk
changeset: 399341:615bcb5568e5
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Aug 07 11:48:16 2019 +0000

description:
Add devel/fifengine.

Flexible Isometric Free Engine (FIFE) is a multi-platform isometric game
engine written in C++. It comes with Python bindings allowing users to create
games using Python as well as C++.

diffstat:

 devel/Makefile                               |   3 +-
 devel/fifengine/DESCR                        |   3 +
 devel/fifengine/Makefile                     |  43 ++++++++++++++++
 devel/fifengine/PLIST                        |  74 ++++++++++++++++++++++++++++
 devel/fifengine/distinfo                     |   7 ++
 devel/fifengine/patches/patch-CMakeLists.txt |  42 +++++++++++++++
 6 files changed, 171 insertions(+), 1 deletions(-)

diffs (206 lines):

diff -r f6d250b12457 -r 615bcb5568e5 devel/Makefile
--- a/devel/Makefile    Wed Aug 07 11:45:04 2019 +0000
+++ b/devel/Makefile    Wed Aug 07 11:48:16 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2877 2019/08/07 11:44:40 nia Exp $
+# $NetBSD: Makefile,v 1.2878 2019/08/07 11:48:16 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -280,6 +280,7 @@
 SUBDIR+=       fastdep
 SUBDIR+=       fhist
 SUBDIR+=       fifechan
+SUBDIR+=       fifengine
 SUBDIR+=       flatbuffers
 SUBDIR+=       flatzebra
 SUBDIR+=       flex
diff -r f6d250b12457 -r 615bcb5568e5 devel/fifengine/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/fifengine/DESCR     Wed Aug 07 11:48:16 2019 +0000
@@ -0,0 +1,3 @@
+Flexible Isometric Free Engine (FIFE) is a multi-platform isometric game
+engine written in C++. It comes with Python bindings allowing users to create
+games using Python as well as C++.
diff -r f6d250b12457 -r 615bcb5568e5 devel/fifengine/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/fifengine/Makefile  Wed Aug 07 11:48:16 2019 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2019/08/07 11:48:16 nia Exp $
+
+DISTNAME=      fifengine-0.4.2
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=fifengine/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.fifengine.net/
+COMMENT=       Multi-platform isometric game engine
+LICENSE=       gnu-lgpl-v2.1
+
+USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++11
+
+# C++11
+GCC_REQD+=     4.8
+
+TOOL_DEPENDS+= swig3>=3.0:../../devel/swig3
+
+CONFIGURE_DIRS=        build
+CMAKE_ARG_PATH=        ..
+
+PY_PATCHPLIST= yes
+
+CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE="Release"
+
+pre-configure:
+       ${MKDIR} ${WRKSRC}/build
+
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/fifechan/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../fonts/SDL2_ttf/buildlink3.mk"
+.include "../../graphics/SDL2_image/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../textproc/tinyxml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f6d250b12457 -r 615bcb5568e5 devel/fifengine/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/fifengine/PLIST     Wed Aug 07 11:48:16 2019 +0000
@@ -0,0 +1,74 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/07 11:48:16 nia Exp $
+${PYSITELIB}/fife/__init__.py
+${PYSITELIB}/fife/_fife.so
+${PYSITELIB}/fife/_fifechan.so
+${PYSITELIB}/fife/extensions/__init__.py
+${PYSITELIB}/fife/extensions/basicapplication.py
+${PYSITELIB}/fife/extensions/fife_compat.py
+${PYSITELIB}/fife/extensions/fife_settings.py
+${PYSITELIB}/fife/extensions/fife_timer.py
+${PYSITELIB}/fife/extensions/fife_utils.py
+${PYSITELIB}/fife/extensions/fifelog.py
+${PYSITELIB}/fife/extensions/loaders.py
+${PYSITELIB}/fife/extensions/pychan/__init__.py
+${PYSITELIB}/fife/extensions/pychan/attrs.py
+${PYSITELIB}/fife/extensions/pychan/autoposition.py
+${PYSITELIB}/fife/extensions/pychan/compat.py
+${PYSITELIB}/fife/extensions/pychan/dialog/__init__.py
+${PYSITELIB}/fife/extensions/pychan/dialog/filebrowser.py
+${PYSITELIB}/fife/extensions/pychan/dialogs.py
+${PYSITELIB}/fife/extensions/pychan/events.py
+${PYSITELIB}/fife/extensions/pychan/exceptions.py
+${PYSITELIB}/fife/extensions/pychan/fife_pychansettings.py
+${PYSITELIB}/fife/extensions/pychan/fontfileparser.py
+${PYSITELIB}/fife/extensions/pychan/fonts.py
+${PYSITELIB}/fife/extensions/pychan/internal.py
+${PYSITELIB}/fife/extensions/pychan/properties.py
+${PYSITELIB}/fife/extensions/pychan/pychanbasicapplication.py
+${PYSITELIB}/fife/extensions/pychan/tools.py
+${PYSITELIB}/fife/extensions/pychan/widgets/__init__.py
+${PYSITELIB}/fife/extensions/pychan/widgets/adjustingcontainer.py
+${PYSITELIB}/fife/extensions/pychan/widgets/animationicon.py
+${PYSITELIB}/fife/extensions/pychan/widgets/bargraph.py
+${PYSITELIB}/fife/extensions/pychan/widgets/basictextwidget.py
+${PYSITELIB}/fife/extensions/pychan/widgets/buttons.py
+${PYSITELIB}/fife/extensions/pychan/widgets/checkbox.py
+${PYSITELIB}/fife/extensions/pychan/widgets/common.py
+${PYSITELIB}/fife/extensions/pychan/widgets/containers.py
+${PYSITELIB}/fife/extensions/pychan/widgets/curvegraph.py
+${PYSITELIB}/fife/extensions/pychan/widgets/dockarea.py
+${PYSITELIB}/fife/extensions/pychan/widgets/dropdown.py
+${PYSITELIB}/fife/extensions/pychan/widgets/ext/__init__.py
+${PYSITELIB}/fife/extensions/pychan/widgets/flowcontainer.py
+${PYSITELIB}/fife/extensions/pychan/widgets/icon.py
+${PYSITELIB}/fife/extensions/pychan/widgets/iconprogressbar.py
+${PYSITELIB}/fife/extensions/pychan/widgets/imageprogressbar.py
+${PYSITELIB}/fife/extensions/pychan/widgets/label.py
+${PYSITELIB}/fife/extensions/pychan/widgets/layout.py
+${PYSITELIB}/fife/extensions/pychan/widgets/linegraph.py
+${PYSITELIB}/fife/extensions/pychan/widgets/listbox.py
+${PYSITELIB}/fife/extensions/pychan/widgets/panel.py
+${PYSITELIB}/fife/extensions/pychan/widgets/passwordfield.py
+${PYSITELIB}/fife/extensions/pychan/widgets/percentagebar.py
+${PYSITELIB}/fife/extensions/pychan/widgets/piegraph.py
+${PYSITELIB}/fife/extensions/pychan/widgets/pointgraph.py
+${PYSITELIB}/fife/extensions/pychan/widgets/radiobutton.py
+${PYSITELIB}/fife/extensions/pychan/widgets/resizablewindow.py
+${PYSITELIB}/fife/extensions/pychan/widgets/scrollarea.py
+${PYSITELIB}/fife/extensions/pychan/widgets/slider.py
+${PYSITELIB}/fife/extensions/pychan/widgets/spacer.py
+${PYSITELIB}/fife/extensions/pychan/widgets/tabbedarea.py
+${PYSITELIB}/fife/extensions/pychan/widgets/textbox.py
+${PYSITELIB}/fife/extensions/pychan/widgets/textfield.py
+${PYSITELIB}/fife/extensions/pychan/widgets/widget.py
+${PYSITELIB}/fife/extensions/pythonize.py
+${PYSITELIB}/fife/extensions/savers.py
+${PYSITELIB}/fife/extensions/serializers/__init__.py
+${PYSITELIB}/fife/extensions/serializers/simplexml.py
+${PYSITELIB}/fife/extensions/serializers/xml_loader_tools.py
+${PYSITELIB}/fife/extensions/serializers/xmlanimation.py
+${PYSITELIB}/fife/extensions/serializers/xmlmap.py
+${PYSITELIB}/fife/extensions/serializers/xmlmapsaver.py
+${PYSITELIB}/fife/extensions/serializers/xmlobject.py
+${PYSITELIB}/fife/fife.py
+${PYSITELIB}/fife/fifechan.py
diff -r f6d250b12457 -r 615bcb5568e5 devel/fifengine/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/fifengine/distinfo  Wed Aug 07 11:48:16 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/08/07 11:48:16 nia Exp $
+
+SHA1 (fifengine-0.4.2.tar.gz) = 964e5a1ad4f2c8acf7f35cd5d3e6008936fd133e
+RMD160 (fifengine-0.4.2.tar.gz) = ac07acea6996785d5ed5673627b16db4f66b74c4
+SHA512 (fifengine-0.4.2.tar.gz) = 2b92e936d3f900532c5dee235a217c338941c44da479dceb3e48b3e8b93a402b31dc5501a6533391a01af53d6dbd51b6793c74e8ac81301ae6f1fa18271761a4
+Size (fifengine-0.4.2.tar.gz) = 15713939 bytes
+SHA1 (patch-CMakeLists.txt) = 5cc3ade95e7011c460107d87d95f4001dc563ae2
diff -r f6d250b12457 -r 615bcb5568e5 devel/fifengine/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/fifengine/patches/patch-CMakeLists.txt      Wed Aug 07 11:48:16 2019 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/08/07 11:48:16 nia Exp $
+
+Use the standard method to find OpenAL, it's more portable.
+
+--- CMakeLists.txt.orig        2019-08-07 09:19:06.259170755 +0000
++++ CMakeLists.txt
+@@ -753,7 +753,7 @@ find_package(SDL2_image REQUIRED)
+ find_package(SDL2_ttf REQUIRED)
+ find_package(Boost 1.33.1 COMPONENTS system filesystem)
+ find_package(PNG REQUIRED)
+-find_package(OpenALSoft REQUIRED)
++find_package(OpenAL REQUIRED)
+ find_package(TinyXML REQUIRED)
+ find_package(OGG REQUIRED)
+ find_package(VORBIS REQUIRED)
+@@ -876,7 +876,7 @@ include_directories(${SDL2_INCLUDE_DIR}
+                     ${SDL2_TTF_INCLUDE_DIR})
+ include_directories(${Boost_INCLUDE_DIRS})
+ include_directories(${PNG_INCLUDE_DIRS})
+-include_directories(${OPENALSOFT_INCLUDE_DIR})
++include_directories(${OPENAL_INCLUDE_DIR})
+ include_directories(${OGG_INCLUDE_DIRS})
+ include_directories(${VORBIS_INCLUDE_DIRS})
+ include_directories(${TinyXML_INCLUDE_DIRS})
+@@ -920,7 +920,7 @@ if(build-python)
+   swig_link_libraries(fife ${SDL2_LIBRARY}
+                            ${SDL2_IMAGE_LIBRARIES}
+                            ${SDL2_TTF_LIBRARIES}
+-                           ${OPENALSOFT_LIBRARY})
++                           ${OPENAL_LIBRARY})
+   swig_link_libraries(fife ${Boost_LIBRARIES})
+   swig_link_libraries(fife ${PNG_LIBRARIES})
+   swig_link_libraries(fife ${VORBISFILE_LIBRARY})
+@@ -1022,7 +1022,7 @@ if(build-library)
+   target_link_libraries(fife ${SDL2_LIBRARY}
+                              ${SDL2_IMAGE_LIBRARIES}
+                              ${SDL2_TTF_LIBRARIES}
+-                             ${OPENALSOFT_LIBRARY})
++                             ${OPENAL_LIBRARY})
+   target_link_libraries(fife ${Boost_LIBRARIES})
+   target_link_libraries(fife ${PNG_LIBRARIES})
+   target_link_libraries(fife ${VORBISFILE_LIBRARY})



Home | Main Index | Thread Index | Old Index