8a5725e5bc
Changes from 4.4.3 to 4.4.3.1 (March 2019) * Fix a regression with the dat tool not working with plugins (SiegeLord). Changes from 4.4.2 to 4.4.3 (February 2019) * Allow building the dependencies as shared libraries. (Michał Cichoń, Edgar Reynaldo) * Fix typo preventing get_executable_name from using System V procfs correctly. (Peter Wang) * Relicense loadpng under ZLib license. * Fix spelling of endianness in textconv (Andreas Rönnquist). * Fix format string warnings (Andreas Rönnquist). * Add Linux console tslib mouse "touch screen" driver. (Tobi Vollebregt) * Don't define a duplicate DLLMain. (SiegeLord) * Fix Allegro crashes/compilation under 64 bit Windows. (Sven Eden, David Capello) * Fix possible random crashes on Windows restoring DirectDraw surfaces. (David Capello) * Make internal function get_value in jpgalleg static. (Trent Gamblin) * Implemented load_midi_pf, play_fli_pf, open_fli_pf. (Ivan Mogilko) * Make use of in MSVS 2010 and higher. (Ivan Mogilko) * Fixes several issues related to fullscreen mode in Windows. (Etienne Vouga) * Windows: fixed TAB key getting stuck in key buffer when held before ALT. (Ivan Mogilko) * Fix building with Mesa 18.2.5 and later. (Andreas Rönnquist) * Remove f* variants of fixed math functions. (Andreas Rönnquist) * Fix complilation of datedit. (rofl0r) * Modernize and fix release zipup script. (rofl0r)
54 lines
1.7 KiB
Makefile
54 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.41 2019/06/18 17:38:18 nia Exp $
|
|
|
|
DISTNAME= allegro-4.4.3.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=liballeg/}
|
|
GITHUB_PROJECT= allegro5
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://liballeg.org/
|
|
COMMENT= Allegro game programming library
|
|
#LICENSE= # TODO: (see mk/license.mk)
|
|
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= pkg-config makeinfo
|
|
USE_LANGUAGES= c c++
|
|
|
|
INFO_FILES= yes
|
|
CMAKE_ARGS+= -DINFODIR=${PKGINFODIR:Q}
|
|
|
|
SUBST_CLASSES.NetBSD+= ossmidi
|
|
SUBST_STAGE.ossmidi= pre-configure
|
|
SUBST_MESSAGE.ossmidi= NetBSD's OSS midi emulation is non-existent.
|
|
SUBST_FILES.ossmidi= CMakeLists.txt
|
|
SUBST_SED.ossmidi= -e 's/ALLEGRO_WITH_OSSMIDI 1/ALLEGRO_WITH_OSSMIDI 0/'
|
|
|
|
PKGCONFIG_OVERRIDE+= misc/logg.pc.in
|
|
PKGCONFIG_OVERRIDE+= misc/loadpng.pc.in
|
|
PKGCONFIG_OVERRIDE+= misc/allegrogl.pc.in
|
|
PKGCONFIG_OVERRIDE+= misc/jpgalleg.pc.in
|
|
PKGCONFIG_OVERRIDE+= misc/allegro.pc.in
|
|
|
|
INSTALLATION_DIRS= share/aclocal
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/misc/allegro.m4 ${DESTDIR}${PREFIX}/share/aclocal
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
|
.include "../../x11/libICE/buildlink3.mk"
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/libXxf86dga/buildlink3.mk"
|
|
.include "../../x11/libXxf86vm/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|