pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel devel: Import allegro5
details: https://anonhg.NetBSD.org/pkgsrc/rev/9821212927ca
branches: trunk
changeset: 425037:9821212927ca
user: nia <nia%pkgsrc.org@localhost>
date: Wed Mar 18 01:23:00 2020 +0000
description:
devel: Import allegro5
Allegro is a cross-platform library mainly aimed at video game and multimedia
programming. It handles common, low-level tasks such as creating windows,
accepting user input, loading data, drawing images, playing sounds, etc.
and generally abstracting away the underlying platform.
diffstat:
devel/Makefile | 3 +-
devel/allegro/DESCR | 9 +-
devel/allegro/Makefile | 4 +-
devel/allegro5/DESCR | 4 +
devel/allegro5/Makefile | 61 +++++++++
devel/allegro5/PLIST | 143 +++++++++++++++++++++++
devel/allegro5/buildlink3.mk | 24 +++
devel/allegro5/distinfo | 7 +
devel/allegro5/options.mk | 52 ++++++++
devel/allegro5/patches/patch-src_unix_uxthread.c | 16 ++
10 files changed, 312 insertions(+), 11 deletions(-)
diffs (truncated from 386 to 300 lines):
diff -r 9989faa67699 -r 9821212927ca devel/Makefile
--- a/devel/Makefile Wed Mar 18 00:35:19 2020 +0000
+++ b/devel/Makefile Wed Mar 18 01:23:00 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3060 2020/03/16 14:28:11 wiz Exp $
+# $NetBSD: Makefile,v 1.3061 2020/03/18 01:23:00 nia Exp $
#
COMMENT= Development utilities
@@ -96,6 +96,7 @@
SUBDIR+= ald
SUBDIR+= alex
SUBDIR+= allegro
+SUBDIR+= allegro5
SUBDIR+= amtk
SUBDIR+= anjuta
SUBDIR+= ant-contrib
diff -r 9989faa67699 -r 9821212927ca devel/allegro/DESCR
--- a/devel/allegro/DESCR Wed Mar 18 00:35:19 2020 +0000
+++ b/devel/allegro/DESCR Wed Mar 18 01:23:00 2020 +0000
@@ -6,11 +6,4 @@
"quick, lively, bright". It is also a recursive acronym which stands for
"Allegro Low LEvel Game ROutines".
-Cross-platform support
-
- o Dos (DJGPP, Watcom)
- o Unix (Linux, *BSD, Irix, Solaris, Darwin)
- o Windows (MSVC, MinGW, Cygwin, Borland)
- o BeOS
- o QNX
- o MacOS X
+This is the legacy 4.x branch, for the current version see devel/allegro5.
diff -r 9989faa67699 -r 9821212927ca devel/allegro/Makefile
--- a/devel/allegro/Makefile Wed Mar 18 00:35:19 2020 +0000
+++ b/devel/allegro/Makefile Wed Mar 18 01:23:00 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2020/01/20 21:32:59 nia Exp $
+# $NetBSD: Makefile,v 1.43 2020/03/18 01:23:00 nia Exp $
DISTNAME= allegro-4.4.3.1
PKGREVISION= 1
@@ -9,7 +9,7 @@
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://liballeg.org/
-COMMENT= Allegro game programming library
+COMMENT= Cross-platform library aimed at video game programming (4.x branch)
#LICENSE= # TODO: (see mk/license.mk)
USE_CMAKE= yes
diff -r 9989faa67699 -r 9821212927ca devel/allegro5/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro5/DESCR Wed Mar 18 01:23:00 2020 +0000
@@ -0,0 +1,4 @@
+Allegro is a cross-platform library mainly aimed at video game and multimedia
+programming. It handles common, low-level tasks such as creating windows,
+accepting user input, loading data, drawing images, playing sounds, etc.
+and generally abstracting away the underlying platform.
diff -r 9989faa67699 -r 9821212927ca devel/allegro5/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro5/Makefile Wed Mar 18 01:23:00 2020 +0000
@@ -0,0 +1,61 @@
+# $NetBSD: Makefile,v 1.1 2020/03/18 01:23:01 nia Exp $
+
+DISTNAME= allegro-5.2.6.0
+PKGNAME= ${DISTNAME:S/allegro-/allegro5-/1}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=liballeg/}
+GITHUB_PROJECT= allegro5
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://liballeg.org/
+COMMENT= Cross-platform library aimed at video game programming
+LICENSE= zlib
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -Wno-dev
+CMAKE_ARGS+= -DWANT_IMAGE_FREEIMAGE=OFF
+
+.include "../../mk/oss.buildlink3.mk"
+.if ${OSS_TYPE} != "none"
+LDFLAGS+= ${LIBOSSAUDIO}
+.else
+CMAKE_ARGS+= -DWANT_OSS=OFF
+.endif
+
+PKGCONFIG_OVERRIDE+= misc/allegro.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_acodec.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_audio.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_color.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_dialog.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_font.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_image.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_main.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_memfile.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_monolith.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_physfs.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_primitives.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_ttf.pc.in
+PKGCONFIG_OVERRIDE+= misc/allegro_video.pc.in
+
+.include "options.mk"
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "Darwin"
+. include "../../graphics/MesaLib/buildlink3.mk"
+. include "../../graphics/glu/buildlink3.mk"
+. include "../../graphics/png/buildlink3.mk"
+. include "../../mk/jpeg.buildlink3.mk"
+.endif
+.include "../../audio/dumb/buildlink3.mk"
+.include "../../audio/flac/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/opusfile/buildlink3.mk"
+.include "../../devel/physfs/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../multimedia/libtheora/buildlink3.mk"
+.include "../../net/enet/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9989faa67699 -r 9821212927ca devel/allegro5/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro5/PLIST Wed Mar 18 01:23:00 2020 +0000
@@ -0,0 +1,143 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/18 01:23:01 nia Exp $
+include/allegro5/alcompat.h
+include/allegro5/allegro.h
+include/allegro5/allegro5.h
+include/allegro5/allegro_acodec.h
+include/allegro5/allegro_audio.h
+include/allegro5/allegro_color.h
+include/allegro5/allegro_direct3d.h
+include/allegro5/allegro_font.h
+include/allegro5/allegro_image.h
+include/allegro5/allegro_memfile.h
+include/allegro5/allegro_native_dialog.h
+include/allegro5/allegro_opengl.h
+include/allegro5/allegro_physfs.h
+include/allegro5/allegro_primitives.h
+include/allegro5/allegro_ttf.h
+include/allegro5/allegro_video.h
+include/allegro5/allegro_x.h
+include/allegro5/altime.h
+include/allegro5/base.h
+include/allegro5/bitmap.h
+include/allegro5/bitmap_draw.h
+include/allegro5/bitmap_io.h
+include/allegro5/bitmap_lock.h
+include/allegro5/blender.h
+include/allegro5/clipboard.h
+include/allegro5/color.h
+include/allegro5/config.h
+include/allegro5/cpu.h
+include/allegro5/debug.h
+include/allegro5/display.h
+include/allegro5/drawing.h
+include/allegro5/error.h
+include/allegro5/events.h
+include/allegro5/file.h
+include/allegro5/fixed.h
+include/allegro5/fmaths.h
+include/allegro5/fshook.h
+include/allegro5/fullscreen_mode.h
+include/allegro5/haptic.h
+include/allegro5/inline/fmaths.inl
+include/allegro5/internal/alconfig.h
+include/allegro5/joystick.h
+include/allegro5/keyboard.h
+include/allegro5/keycodes.h
+include/allegro5/memory.h
+include/allegro5/monitor.h
+include/allegro5/mouse.h
+include/allegro5/mouse_cursor.h
+include/allegro5/opengl/GLext/gl_ext_alias.h
+include/allegro5/opengl/GLext/gl_ext_api.h
+include/allegro5/opengl/GLext/gl_ext_defs.h
+include/allegro5/opengl/GLext/gl_ext_list.h
+include/allegro5/opengl/GLext/glx_ext_alias.h
+include/allegro5/opengl/GLext/glx_ext_api.h
+include/allegro5/opengl/GLext/glx_ext_defs.h
+include/allegro5/opengl/GLext/glx_ext_list.h
+include/allegro5/opengl/GLext/wgl_ext_alias.h
+include/allegro5/opengl/GLext/wgl_ext_api.h
+include/allegro5/opengl/GLext/wgl_ext_defs.h
+include/allegro5/opengl/GLext/wgl_ext_list.h
+include/allegro5/opengl/gl_ext.h
+include/allegro5/path.h
+include/allegro5/platform/alandroid.h
+include/allegro5/platform/alandroidcfg.h
+include/allegro5/platform/albcc32.h
+include/allegro5/platform/aliphone.h
+include/allegro5/platform/aliphonecfg.h
+include/allegro5/platform/allegro_sdl_config.h
+include/allegro5/platform/almngw32.h
+include/allegro5/platform/almsvc.h
+include/allegro5/platform/alosx.h
+include/allegro5/platform/alosxcfg.h
+include/allegro5/platform/alplatf.h
+include/allegro5/platform/alraspberrypi.h
+include/allegro5/platform/alraspberrypicfg.h
+include/allegro5/platform/alucfg.h
+include/allegro5/platform/alunix.h
+include/allegro5/platform/alwatcom.h
+include/allegro5/platform/alwin.h
+include/allegro5/platform/astdbool.h
+include/allegro5/platform/astdint.h
+include/allegro5/render_state.h
+include/allegro5/shader.h
+include/allegro5/system.h
+include/allegro5/threads.h
+include/allegro5/timer.h
+include/allegro5/tls.h
+include/allegro5/touch_input.h
+include/allegro5/transformations.h
+include/allegro5/utf8.h
+lib/liballegro.so
+lib/liballegro.so.5.2
+lib/liballegro.so.5.2.6
+lib/liballegro_acodec.so
+lib/liballegro_acodec.so.5.2
+lib/liballegro_acodec.so.5.2.6
+lib/liballegro_audio.so
+lib/liballegro_audio.so.5.2
+lib/liballegro_audio.so.5.2.6
+lib/liballegro_color.so
+lib/liballegro_color.so.5.2
+lib/liballegro_color.so.5.2.6
+lib/liballegro_dialog.so
+lib/liballegro_dialog.so.5.2
+lib/liballegro_dialog.so.5.2.6
+lib/liballegro_font.so
+lib/liballegro_font.so.5.2
+lib/liballegro_font.so.5.2.6
+lib/liballegro_image.so
+lib/liballegro_image.so.5.2
+lib/liballegro_image.so.5.2.6
+lib/liballegro_main.so
+lib/liballegro_main.so.5.2
+lib/liballegro_main.so.5.2.6
+lib/liballegro_memfile.so
+lib/liballegro_memfile.so.5.2
+lib/liballegro_memfile.so.5.2.6
+lib/liballegro_physfs.so
+lib/liballegro_physfs.so.5.2
+lib/liballegro_physfs.so.5.2.6
+lib/liballegro_primitives.so
+lib/liballegro_primitives.so.5.2
+lib/liballegro_primitives.so.5.2.6
+lib/liballegro_ttf.so
+lib/liballegro_ttf.so.5.2
+lib/liballegro_ttf.so.5.2.6
+lib/liballegro_video.so
+lib/liballegro_video.so.5.2
+lib/liballegro_video.so.5.2.6
+lib/pkgconfig/allegro-5.pc
+lib/pkgconfig/allegro_acodec-5.pc
+lib/pkgconfig/allegro_audio-5.pc
+lib/pkgconfig/allegro_color-5.pc
+lib/pkgconfig/allegro_dialog-5.pc
+lib/pkgconfig/allegro_font-5.pc
+lib/pkgconfig/allegro_image-5.pc
+lib/pkgconfig/allegro_main-5.pc
+lib/pkgconfig/allegro_memfile-5.pc
+lib/pkgconfig/allegro_physfs-5.pc
+lib/pkgconfig/allegro_primitives-5.pc
+lib/pkgconfig/allegro_ttf-5.pc
+lib/pkgconfig/allegro_video-5.pc
diff -r 9989faa67699 -r 9821212927ca devel/allegro5/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro5/buildlink3.mk Wed Mar 18 01:23:00 2020 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/03/18 01:23:01 nia Exp $
+
+BUILDLINK_TREE+= allegro5
+
+.if !defined(ALLEGRO5_BUILDLINK3_MK)
+ALLEGRO5_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.allegro5+= allegro5>=5.2.6.0
+BUILDLINK_PKGSRCDIR.allegro5?= ../../devel/allegro5
+
+pkgbase:= allegro5
+
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.MesaLib:Mx11)
+. include "../../x11/libX11/buildlink3.mk"
+.endif
+
+.if ${OPSYS} != "Darwin"
+. include "../../graphics/MesaLib/buildlink3.mk"
+.endif
+.endif # ALLEGRO5_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -allegro5
diff -r 9989faa67699 -r 9821212927ca devel/allegro5/distinfo
Home |
Main Index |
Thread Index |
Old Index