pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/allegro allegro: Remove (for wrong build system)...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f656e29c3c24
branches: trunk
changeset: 410345:f656e29c3c24
user: nia <nia%pkgsrc.org@localhost>
date: Mon Jan 20 21:32:59 2020 +0000
description:
allegro: Remove (for wrong build system) esound support. Add alsa and jack.
Bump PKGREVISION because this changes default options (on Linux only)
diffstat:
devel/allegro/Makefile | 9 ++++--
devel/allegro/PLIST | 58 ++++++++++++++++++++++++------------------------
devel/allegro/PLIST.alsa | 3 ++
devel/allegro/PLIST.jack | 2 +
devel/allegro/options.mk | 28 ++++++++++++++++------
5 files changed, 60 insertions(+), 40 deletions(-)
diffs (175 lines):
diff -r 3d1d0b276e65 -r f656e29c3c24 devel/allegro/Makefile
--- a/devel/allegro/Makefile Mon Jan 20 21:31:02 2020 +0000
+++ b/devel/allegro/Makefile Mon Jan 20 21:32:59 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2019/06/18 17:38:18 nia Exp $
+# $NetBSD: Makefile,v 1.42 2020/01/20 21:32:59 nia Exp $
DISTNAME= allegro-4.4.3.1
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=liballeg/}
GITHUB_PROJECT= allegro5
@@ -18,9 +19,11 @@
INFO_FILES= yes
CMAKE_ARGS+= -DINFODIR=${PKGINFODIR:Q}
+PLIST_SUBST+= ALLEG_VER=${PKGVERSION_NOREV:R}
+
SUBST_CLASSES.NetBSD+= ossmidi
SUBST_STAGE.ossmidi= pre-configure
-SUBST_MESSAGE.ossmidi= NetBSD's OSS midi emulation is non-existent.
+SUBST_MESSAGE.ossmidi= NetBSD OSS midi emulation is non-existent.
SUBST_FILES.ossmidi= CMakeLists.txt
SUBST_SED.ossmidi= -e 's/ALLEGRO_WITH_OSSMIDI 1/ALLEGRO_WITH_OSSMIDI 0/'
@@ -35,6 +38,7 @@
post-install:
${INSTALL_DATA} ${WRKSRC}/misc/allegro.m4 ${DESTDIR}${PREFIX}/share/aclocal
+.include "options.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
@@ -50,5 +54,4 @@
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXxf86dga/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
diff -r 3d1d0b276e65 -r f656e29c3c24 devel/allegro/PLIST
--- a/devel/allegro/PLIST Mon Jan 20 21:31:02 2020 +0000
+++ b/devel/allegro/PLIST Mon Jan 20 21:32:59 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2019/06/18 17:38:18 nia Exp $
+@comment $NetBSD: PLIST,v 1.16 2020/01/20 21:32:59 nia Exp $
bin/allegro-config
bin/colormap
bin/dat
@@ -117,47 +117,47 @@
include/logg.h
include/xalleg.h
info/allegro.info
-lib/allegro/4.4.3/alleg-dga2.so
-lib/allegro/4.4.3/modules.lst
+lib/allegro/${ALLEG_VER}/alleg-dga2.so
+lib/allegro/${ALLEG_VER}/modules.lst
lib/liballeg.so
lib/liballeg.so.4.4
-lib/liballeg.so.4.4.3
+lib/liballeg.so.${ALLEG_VER}
lib/liballeggl.so
lib/liballeggl.so.4.4
-lib/liballeggl.so.4.4.3
+lib/liballeggl.so.${ALLEG_VER}
lib/libjpgalleg.so
lib/libjpgalleg.so.4.4
-lib/libjpgalleg.so.4.4.3
+lib/libjpgalleg.so.${ALLEG_VER}
lib/libloadpng.so
lib/libloadpng.so.4.4
-lib/libloadpng.so.4.4.3
+lib/libloadpng.so.${ALLEG_VER}
lib/liblogg.so
lib/liblogg.so.4.4
-lib/liblogg.so.4.4.3
+lib/liblogg.so.${ALLEG_VER}
lib/pkgconfig/allegro.pc
lib/pkgconfig/allegrogl.pc
lib/pkgconfig/jpgalleg.pc
lib/pkgconfig/loadpng.pc
lib/pkgconfig/logg.pc
share/aclocal/allegro.m4
-share/doc/allegro-4.4.3/AUTHORS
-share/doc/allegro-4.4.3/CHANGES
-share/doc/allegro-4.4.3/THANKS
-share/doc/allegro-4.4.3/abi.txt
-share/doc/allegro-4.4.3/addons.txt
-share/doc/allegro-4.4.3/ahack.txt
-share/doc/allegro-4.4.3/allegro.txt
-share/doc/allegro-4.4.3/api.txt
-share/doc/allegro-4.4.3/const.txt
-share/doc/allegro-4.4.3/dat.txt
-share/doc/allegro-4.4.3/dat2c.txt
-share/doc/allegro-4.4.3/dat2s.txt
-share/doc/allegro-4.4.3/datafile.txt
-share/doc/allegro-4.4.3/faq.txt
-share/doc/allegro-4.4.3/grabber.txt
-share/doc/allegro-4.4.3/help.txt
-share/doc/allegro-4.4.3/license.txt
-share/doc/allegro-4.4.3/makedoc.txt
-share/doc/allegro-4.4.3/mistakes.txt
-share/doc/allegro-4.4.3/packfile.txt
-share/doc/allegro-4.4.3/readme.txt
+share/doc/allegro-${ALLEG_VER}/AUTHORS
+share/doc/allegro-${ALLEG_VER}/CHANGES
+share/doc/allegro-${ALLEG_VER}/THANKS
+share/doc/allegro-${ALLEG_VER}/abi.txt
+share/doc/allegro-${ALLEG_VER}/addons.txt
+share/doc/allegro-${ALLEG_VER}/ahack.txt
+share/doc/allegro-${ALLEG_VER}/allegro.txt
+share/doc/allegro-${ALLEG_VER}/api.txt
+share/doc/allegro-${ALLEG_VER}/const.txt
+share/doc/allegro-${ALLEG_VER}/dat.txt
+share/doc/allegro-${ALLEG_VER}/dat2c.txt
+share/doc/allegro-${ALLEG_VER}/dat2s.txt
+share/doc/allegro-${ALLEG_VER}/datafile.txt
+share/doc/allegro-${ALLEG_VER}/faq.txt
+share/doc/allegro-${ALLEG_VER}/grabber.txt
+share/doc/allegro-${ALLEG_VER}/help.txt
+share/doc/allegro-${ALLEG_VER}/license.txt
+share/doc/allegro-${ALLEG_VER}/makedoc.txt
+share/doc/allegro-${ALLEG_VER}/mistakes.txt
+share/doc/allegro-${ALLEG_VER}/packfile.txt
+share/doc/allegro-${ALLEG_VER}/readme.txt
diff -r 3d1d0b276e65 -r f656e29c3c24 devel/allegro/PLIST.alsa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro/PLIST.alsa Mon Jan 20 21:32:59 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.alsa,v 1.1 2020/01/20 21:32:59 nia Exp $
+lib/allegro/${ALLEG_VER}/alleg-alsadigi.so
+lib/allegro/${ALLEG_VER}/alleg-alsamidi.so
diff -r 3d1d0b276e65 -r f656e29c3c24 devel/allegro/PLIST.jack
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro/PLIST.jack Mon Jan 20 21:32:59 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.jack,v 1.1 2020/01/20 21:32:59 nia Exp $
+lib/allegro/${ALLEG_VER}/alleg-jack.so
diff -r 3d1d0b276e65 -r f656e29c3c24 devel/allegro/options.mk
--- a/devel/allegro/options.mk Mon Jan 20 21:31:02 2020 +0000
+++ b/devel/allegro/options.mk Mon Jan 20 21:32:59 2020 +0000
@@ -1,14 +1,26 @@
-# $NetBSD: options.mk,v 1.2 2008/04/12 22:42:59 jlam Exp $
+# $NetBSD: options.mk,v 1.3 2020/01/20 21:32:59 nia Exp $
-PKG_OPTIONS_VAR= PKG_OPTIONS.allegro
-PKG_SUPPORTED_OPTIONS= esound
+PKG_OPTIONS_VAR= PKG_OPTIONS.allegro
+PKG_SUPPORTED_OPTIONS= alsa jack
+PKG_SUGGESTED_OPTIONS.Linux= alsa
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= esound
+PLIST_SRC+= PLIST
-.if !empty(PKG_OPTIONS:Mesound)
-CONFIGURE_ARGS+= --enable-esddigi
-PLIST.esound= yes
-.include "../../audio/esound/buildlink3.mk"
+.if !empty(PKG_OPTIONS:Malsa)
+PLIST_SRC+= PLIST.alsa
+CFLAGS.NetBSD+= -DESTRPIPE=EPIPE
+CMAKE_ARGS+= -DWANT_ALSA=1
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DWANT_ALSA=0
.endif
+
+PLIST_SRC+= PLIST.jack
+.if !empty(PKG_OPTIONS:Mjack)
+CMAKE_ARGS+= -DWANT_JACK=1
+.include "../../audio/jack/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DWANT_JACK=0
+.endif
Home |
Main Index |
Thread Index |
Old Index