FreeBSD Bugzilla – Attachment 240575 Details for
Bug 269956
New port for devel/godot35
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
New port for devel/godot35
godot35.shar.txt (text/plain), 10.39 KB, created by
Shane
on 2023-03-04 04:15:10 UTC
(
hide
)
Description:
New port for devel/godot35
Filename:
MIME Type:
Creator:
Shane
Created:
2023-03-04 04:15:10 UTC
Size:
10.39 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># devel/godot35 ># devel/godot35/pkg-message ># devel/godot35/Makefile ># devel/godot35/distinfo ># devel/godot35/files ># devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__frame__buffer.h ># devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__decoder.h ># devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__image.h ># devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__codec.h ># devel/godot35/files/patch-platform_x11_libudev-so__wrap.c ># devel/godot35/files/patch-platform_x11_detect.py ># devel/godot35/pkg-descr ># >echo c - devel/godot35 >mkdir -p devel/godot35 > /dev/null 2>&1 >echo x - devel/godot35/pkg-message >sed 's/^X//' >devel/godot35/pkg-message << 'c6de4420ef9c49f2e0b846ff31f1f058' >X[ >X{ type: install >X message: <<EOM >X >XNOTE: This port installs the godot runtime only. >X >XIf you want to create a game you need to install the IDE from devel/godot-tools. >X >XEOM >X} >X] >c6de4420ef9c49f2e0b846ff31f1f058 >echo x - devel/godot35/Makefile >sed 's/^X//' >devel/godot35/Makefile << '1f6e054109d257ea3f8d00bef0cf400d' >XPORTNAME= godot >XDISTVERSION= 3.5.1 >XDISTVERSIONSUFFIX= -stable >XPORTREVISION?= 0 >XCATEGORIES= devel games >XPKGNAMESUFFIX?= 35 >X >XMAINTAINER= FreeBSD@Shaneware.biz >XCOMMENT?= Game runtime engine - LTS v3.5 >XWWW= https://godotengine.org/ >X >XLICENSE= MIT CC-BY-3.0 >XLICENSE_COMB= multi >XLICENSE_FILE_CC-BY-3.0= ${WRKSRC}/LOGO_LICENSE.md >XLICENSE_FILE_MIT= ${WRKSRC}/LICENSE.txt >X >XBUILD_DEPENDS= yasm:devel/yasm >XLIB_DEPENDS= libfreetype.so:print/freetype2 \ >X libpcre2-8.so:devel/pcre2 \ >X libpng.so:graphics/png \ >X libvpx.so:multimedia/libvpx >XRUN_DEPENDS= xdg-user-dir:devel/xdg-user-dirs \ >X xdg-open:devel/xdg-utils \ >X xmessage:x11/xmessage >X >XUSES= compiler:c++14-lang cpe gl pkgconfig scons xorg >XUSE_XORG= x11 xcursor xext xi xinerama xrandr xrender >XUSE_GL= gl glew glu >X >XCPE_VENDOR= godotengine >X >XUSE_GITHUB= yes >XGH_ACCOUNT= godotengine >X >XMAKE_ARGS+= platform=x11 builtin_freetype=False \ >X builtin_libpng=False builtin_libvpx=False \ >X builtin_pcre2=False builtin_zlib=False verbose=True >XMAKE_ARGS+= ${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}} >XMAKE_ARGS_clang= use_llvm=True linker=lld >XCXXFLAGS_i386= ${CXXFLAGS_i386_${CHOSEN_COMPILER_TYPE}} >XCXXFLAGS_i386_gcc= -march=i586 >X >XOPTIONS_DEFINE= EXAMPLES TOOLS UDEV >XOPTIONS_DEFAULT= ALSA UDEV >X# Moved to devel/godot-tools >XOPTIONS_EXCLUDE?= EXAMPLES TOOLS >XOPTIONS_GROUP= AUDIO >XOPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO >X >XAUDIO_DESC= Audio support >XALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib >XALSA_MAKE_ARGS= alsa=True >XALSA_MAKE_ARGS_OFF= alsa=False >X# tagged 24/1 for 3.5.1 >XEXAMPLES_GH_TUPLE= godotengine:godot-demo-projects:9e68af38d9f2:DEMOS >XEXAMPLES_PORTEXAMPLES= * >XPULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio >XPULSEAUDIO_MAKE_ARGS= pulseaudio=True >XPULSEAUDIO_MAKE_ARGS_OFF= pulseaudio=False >XTOOLS_DESC= Include development tools (IDE) >XTOOLS_MAKE_ARGS= target=release_debug tools=True >XTOOLS_MAKE_ARGS_OFF= target=release tools=False >XTOOLS_DESKTOP_ENTRIES= "Godot" "${COMMENT}" "${GODOTFILE}" \ >X "${GODOTFILE}" "Development;IDE;" "" >XTOOLS_PLIST_FILES= share/pixmaps/${GODOTFILE}.png \ >X share/pixmaps/${GODOTFILE}.svg >XUDEV_DESC= Libudev support (Joystick) >XUDEV_BUILD_DEPENDS= ${PREFIX}/include/linux/input.h:devel/evdev-proto >XUDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd >XUDEV_MAKE_ARGS= udev=True >XUDEV_MAKE_ARGS_OFF= udev=False >X >XGODOTFILE= ${PORTNAME}${PKGNAMESUFFIX} >XPLIST_FILES= bin/${GODOTFILE} >X >X.ifmake makesum >X# Always include optional distfiles >X.MAKEFLAGS: WITH="${OPTIONS_DEFINE}" OPTIONS_EXCLUDE= >X.endif >X >X.include <bsd.port.options.mk> >X >X.if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*} >XMAKE_ARGS+= module_embree_enabled=no \ >X module_raycast_enabled=no \ >X module_webm_enabled=no >X.endif >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|custom_build|${OPSYS}_Ports_build|' \ >X ${WRKSRC}/methods.py >X @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ >X ${WRKSRC}/platform/x11/os_x11.cpp >X >X# The official godot binary name reflects options used to compile >X# We just want a simple name matching the portname >X# This gives us bin/godot for runtime and bin/godot-tools for the IDE >Xdo-install: >X @${RM} ${WRKSRC}/bin/*.debugsymbols >X cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} godot.x11* \ >X ${STAGEDIR}/${PREFIX}/bin/${GODOTFILE} >X >Xdo-install-EXAMPLES-on: >X (cd ${WRKSRC_DEMOS} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \ >X ${STAGEDIR}${EXAMPLESDIR}) >X >Xdo-install-TOOLS-on: >X ${INSTALL_DATA} ${WRKSRC}/icon.png \ >X ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.png >X ${INSTALL_DATA} ${WRKSRC}/icon.svg \ >X ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.svg >X >X.include <bsd.port.mk> >1f6e054109d257ea3f8d00bef0cf400d >echo x - devel/godot35/distinfo >sed 's/^X//' >devel/godot35/distinfo << '23765c284c2a1765a78db35cf2885112' >XTIMESTAMP = 1677901671 >XSHA256 (godotengine-godot-3.5.1-stable_GH0.tar.gz) = 164523c1c8aef0b69b135645794f5bece3f63788556a56aa293c118cde457023 >XSIZE (godotengine-godot-3.5.1-stable_GH0.tar.gz) = 56610604 >XSHA256 (godotengine-godot-demo-projects-9e68af38d9f2_GH0.tar.gz) = 0569a9862284c93cc45fd8305ed055322d4d337b1f593e639ec503ae844e2b72 >XSIZE (godotengine-godot-demo-projects-9e68af38d9f2_GH0.tar.gz) = 181537053 >23765c284c2a1765a78db35cf2885112 >echo c - devel/godot35/files >mkdir -p devel/godot35/files > /dev/null 2>&1 >echo x - devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__frame__buffer.h >sed 's/^X//' >devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__frame__buffer.h << 'c95bcfe04b081d71acb571678e5f1a3a' >X--- thirdparty/libvpx/vpx/vpx_frame_buffer.h.orig 2019-03-23 14:31:21 UTC >X+++ thirdparty/libvpx/vpx/vpx_frame_buffer.h >X@@ -8,8 +8,8 @@ >X * be found in the AUTHORS file in the root of the source tree. >X */ >X >X-#ifndef VPX_VPX_FRAME_BUFFER_H_ >X-#define VPX_VPX_FRAME_BUFFER_H_ >X+#ifndef VPX_VPX_VPX_FRAME_BUFFER_H_ >X+#define VPX_VPX_VPX_FRAME_BUFFER_H_ >X >X /*!\file >X * \brief Describes the decoder external frame buffer interface. >X@@ -80,4 +80,4 @@ typedef int (*vpx_release_frame_buffer_cb_fn_t)( >X } // extern "C" >X #endif >X >X-#endif // VPX_VPX_FRAME_BUFFER_H_ >X+#endif // VPX_VPX_VPX_FRAME_BUFFER_H_ >c95bcfe04b081d71acb571678e5f1a3a >echo x - devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__decoder.h >sed 's/^X//' >devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__decoder.h << '77493aea0b7970a0bad3f6e30d78b325' >X--- thirdparty/libvpx/vpx/vpx_decoder.h.orig 2019-03-23 14:46:15 UTC >X+++ thirdparty/libvpx/vpx/vpx_decoder.h >X@@ -7,8 +7,8 @@ >X * in the file PATENTS. All contributing project authors may >X * be found in the AUTHORS file in the root of the source tree. >X */ >X-#ifndef VPX_VPX_DECODER_H_ >X-#define VPX_VPX_DECODER_H_ >X+#ifndef VPX_VPX_VPX_DECODER_H_ >X+#define VPX_VPX_VPX_DECODER_H_ >X >X /*!\defgroup decoder Decoder Algorithm Interface >X * \ingroup codec >X@@ -374,5 +374,5 @@ extern "C" { >X #ifdef __cplusplus >X } >X #endif >X-#endif // VPX_VPX_DECODER_H_ >X+#endif // VPX_VPX_VPX_DECODER_H_ >X >77493aea0b7970a0bad3f6e30d78b325 >echo x - devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__image.h >sed 's/^X//' >devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__image.h << '6683bcaf5d6e787d0e60041b9c5dd27f' >X--- thirdparty/libvpx/vpx/vpx_image.h.orig 2019-03-23 14:18:30 UTC >X+++ thirdparty/libvpx/vpx/vpx_image.h >X@@ -13,8 +13,8 @@ >X * \brief Describes the vpx image descriptor and associated operations >X * >X */ >X-#ifndef VPX_VPX_IMAGE_H_ >X-#define VPX_VPX_IMAGE_H_ >X+#ifndef VPX_VPX_VPX_IMAGE_H_ >X+#define VPX_VPX_VPX_IMAGE_H_ >X >X #ifdef __cplusplus >X extern "C" { >X@@ -232,4 +232,4 @@ extern "C" { >X } // extern "C" >X #endif >X >X-#endif // VPX_VPX_IMAGE_H_ >X+#endif // VPX_VPX_VPX_IMAGE_H_ >6683bcaf5d6e787d0e60041b9c5dd27f >echo x - devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__codec.h >sed 's/^X//' >devel/godot35/files/patch-thirdparty_libvpx_vpx_vpx__codec.h << '9547e6764c631e09c939edb4cd407ea6' >X--- thirdparty/libvpx/vpx/vpx_codec.h.orig 2019-03-23 14:24:15 UTC >X+++ thirdparty/libvpx/vpx/vpx_codec.h >X@@ -36,8 +36,8 @@ >X * Once initialized, the instance is manged using other functions from >X * the vpx_codec_* family. >X */ >X-#ifndef VPX_VPX_CODEC_H_ >X-#define VPX_VPX_CODEC_H_ >X+#ifndef VPX_VPX_VPX_CODEC_H_ >X+#define VPX_VPX_VPX_CODEC_H_ >X >X #ifdef __cplusplus >X extern "C" { >X@@ -475,5 +475,5 @@ extern "C" { >X #ifdef __cplusplus >X } >X #endif >X-#endif // VPX_VPX_CODEC_H_ >X+#endif // VPX_VPX_VPX_CODEC_H_ >X >9547e6764c631e09c939edb4cd407ea6 >echo x - devel/godot35/files/patch-platform_x11_libudev-so__wrap.c >sed 's/^X//' >devel/godot35/files/patch-platform_x11_libudev-so__wrap.c << '0ad31973882a10039a9e66c73681dfc5' >X--- platform/x11/libudev-so_wrap.c.orig 2021-12-29 15:43:04 UTC >X+++ platform/x11/libudev-so_wrap.c >X@@ -279,7 +279,7 @@ int (*udev_util_encode_string_dylibloader_wrapper_libu >X int initialize_libudev() { >X void *handle; >X char *error; >X- handle = dlopen("libudev.so.1", RTLD_LAZY); >X+ handle = dlopen("libudev.so.0", RTLD_LAZY); >X if (!handle) { >X fprintf(stderr, "%s\n", dlerror()); >X return(1); >0ad31973882a10039a9e66c73681dfc5 >echo x - devel/godot35/files/patch-platform_x11_detect.py >sed 's/^X//' >devel/godot35/files/patch-platform_x11_detect.py << '9a56d82b77bf689b6d6033bf360c6751' >X--- platform/x11/detect.py.orig 2021-12-21 22:27:28 UTC >X+++ platform/x11/detect.py >X@@ -338,7 +338,7 @@ def configure(env): >X else: >X print("Warning: PulseAudio development libraries not found. Disabling the PulseAudio audio driver.") >X >X- if platform.system() == "Linux": >X+ if platform.system() in ["Linux","FreeBSD"]: >X env.Append(CPPDEFINES=["JOYDEV_ENABLED"]) >X if env["udev"]: >X if os.system("pkg-config --exists libudev") == 0: # 0 means found >X@@ -365,7 +365,7 @@ def configure(env): >X if env["execinfo"]: >X env.Append(LIBS=["execinfo"]) >X >X- if not env["tools"]: >X+ if not env["tools"] and False: # not building templates, just runtime >X import subprocess >X import re >X >9a56d82b77bf689b6d6033bf360c6751 >echo x - devel/godot35/pkg-descr >sed 's/^X//' >devel/godot35/pkg-descr << '7e9923830771838c49195fb144fa4f28' >XGodot is a multi-platform 2D and 3D game engine. >X >XEasily deploy your game on IOS, Android, OSX, Linux, Steam or Windows. >X >XThis is a runtime only port of godot. For the IDE to create games >Xuse devel/godot-tools. >7e9923830771838c49195fb144fa4f28 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
FreeBSD
:
maintainer-approval+
Actions:
View
Attachments on
bug 269956
: 240575