pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Aug  7 11:48:16 UTC 2019

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/fifengine: DESCR Makefile PLIST distinfo
        pkgsrc/devel/fifengine/patches: patch-CMakeLists.txt

Log Message:
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++.


To generate a diff of this commit:
cvs rdiff -u -r1.2877 -r1.2878 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/fifengine/DESCR \
    pkgsrc/devel/fifengine/Makefile pkgsrc/devel/fifengine/PLIST \
    pkgsrc/devel/fifengine/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/fifengine/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2877 pkgsrc/devel/Makefile:1.2878
--- pkgsrc/devel/Makefile:1.2877        Wed Aug  7 11:44:40 2019
+++ pkgsrc/devel/Makefile       Wed Aug  7 11:48:16 2019
@@ -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+=    fann
 SUBDIR+=       fastdep
 SUBDIR+=       fhist
 SUBDIR+=       fifechan
+SUBDIR+=       fifengine
 SUBDIR+=       flatbuffers
 SUBDIR+=       flatzebra
 SUBDIR+=       flex

Added files:

Index: pkgsrc/devel/fifengine/DESCR
diff -u /dev/null pkgsrc/devel/fifengine/DESCR:1.1
--- /dev/null   Wed Aug  7 11:48:16 2019
+++ pkgsrc/devel/fifengine/DESCR        Wed Aug  7 11:48:16 2019
@@ -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++.
Index: pkgsrc/devel/fifengine/Makefile
diff -u /dev/null pkgsrc/devel/fifengine/Makefile:1.1
--- /dev/null   Wed Aug  7 11:48:16 2019
+++ pkgsrc/devel/fifengine/Makefile     Wed Aug  7 11:48:16 2019
@@ -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"
Index: pkgsrc/devel/fifengine/PLIST
diff -u /dev/null pkgsrc/devel/fifengine/PLIST:1.1
--- /dev/null   Wed Aug  7 11:48:16 2019
+++ pkgsrc/devel/fifengine/PLIST        Wed Aug  7 11:48:16 2019
@@ -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
Index: pkgsrc/devel/fifengine/distinfo
diff -u /dev/null pkgsrc/devel/fifengine/distinfo:1.1
--- /dev/null   Wed Aug  7 11:48:16 2019
+++ pkgsrc/devel/fifengine/distinfo     Wed Aug  7 11:48:16 2019
@@ -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

Index: pkgsrc/devel/fifengine/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/devel/fifengine/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Wed Aug  7 11:48:16 2019
+++ pkgsrc/devel/fifengine/patches/patch-CMakeLists.txt Wed Aug  7 11:48:16 2019
@@ -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