freebsd-ports/emulators/x49gp/Makefile
Tobias C. Berner fa81a4f5f8 accessibility/at-spi2-core: update to 2.46.0
What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
* xml: Add some missing DeviceEventController methods.
* Bind the AT-SPI bus to the graphical session.
* Mark bus service as belonging to the session slice.
* Add ATSPI_ROLE_PUSH_BUTTON_MENU.
* Add an "announcement" event/signal to allow objects to send
  notifications (!63).
* Various code clean-ups and test improvements.

What's new in at-spi2-core 2.45.1:
* Atk and at-spi2-atk are now merged into this project.
* Now requires meson 0.56.2 and glib 2.67.4.
* at-spi2-atk: Expose the accessible hierarchy via dbus introspection.
* Properly escape the AT-SPI bus address; fixes warnings about the address
  not containing a colon (!55).
* Add a text value to AtspiValue, so that a value can expose a textual
  description, as in the new Atk value API.
* Add atspi_event_listener_register_with_app, to allow an event listener
  to be registered only for a given application (!52).

- accessibility/atk and accessibility/at-spi2-atk have been merged into
  accessibility/at-spi2-core

- accessibility/at-spi2-core: bump consumers of removed ports atk and at-spi2-atk

PR:		269704
Exp-run by:	antoine
---
2023-03-02 06:23:10 +01:00

98 lines
2.9 KiB
Makefile

# Note: sdcard64.tar.gz contains just an empty 64MB FAT-16 disk image
PORTNAME= x49gp
PORTVERSION= 20100425
PORTREVISION= 8
CATEGORIES= emulators math
MASTER_SITES= LOCAL/shaun
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} sdcard64.tar.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= shaun@FreeBSD.org
COMMENT= HP 49g+/50g graphics calculator emulator
WWW= https://sourceforge.net/projects/x49gp/
BROKEN_i386= does not build on i386 (error: frame pointer required, but reserved)
BROKEN_powerpc64= fails to build: qemu/qemu-git/arm-softmmu/i386-dis.o: No such file or directory
NOT_FOR_ARCHS= aarch64 armv6 armv7
NOT_FOR_ARCHS_REASON= unsupported CPU = unknown
WRKSRC= ${WRKDIR}/x49gp/x49gp-code
USES= gmake gnome pkgconfig xorg
USE_GCC= yes
USE_XORG= x11
USE_GNOME= gtk20
OPTIONS_SINGLE= FIRMWARE
OPTIONS_SINGLE_FIRMWARE=FIRMWARE_215 FIRMWARE_209
#OPTIONS_SINGLE_FIRMWARE=FIRMWARE_215H3 FIRMWARE_215 FIRMWARE_209
#FIRMWARE_215H3_DESC= Calculator ROM firmware version 2.15 plus HPGCC3
FIRMWARE_215_DESC= Calculator ROM firmware version 2.15
FIRMWARE_209_DESC= Calculator ROM firmware version 2.09
OPTIONS_DEFINE= GRAYSCALE
GRAYSCALE_DESC= Apply patch for grayscale support
OPTIONS_DEFAULT=FIRMWARE_215 GRAYSCALE
SUB_FILES= hp50g.sh
.if defined(WITH_DEBUG)
MAKE_ENV+= DEBUGB=1
.endif
.include <bsd.port.options.mk>
MAKE_ARGS+=CC="${CC}"
.if ${PORT_OPTIONS:MGRAYSCALE}
EXTRA_PATCHES+= ${FILESDIR}/grayscale.diff
.endif
.if ${PORT_OPTIONS:MFIRMWARE_215H3} || ${PORT_OPTIONS:MFIRMWARE_215}
MAKE_ARGS+=FIRMWARE=4950_215.bin
DISTFILES+=hp4950v215.zip
EXTRACT_ONLY+=hp4950v215.zip
.else
MAKE_ARGS+=FIRMWARE=4950_92.bin
.endif
#.if ${PORT_OPTIONS:MFIRMWARE_215H3}
#DISTFILES+=rom215_hpgcc3_R004.tar.gz
#EXTRACT_ONLY+=rom215_hpgcc3_R004.tar.gz
#.endif
post-patch:
.if ${PORT_OPTIONS:MFIRMWARE_215H3} || ${PORT_OPTIONS:MFIRMWARE_215}
@${CP} ${WRKDIR}/hp4950v215/*.lib ${WRKSRC}/
@${CP} ${WRKDIR}/hp4950v215/*.bin ${WRKSRC}/
@${CP} ${WRKDIR}/hp4950v215/*.scp ${WRKSRC}/
.endif
#.if ${PORT_OPTIONS:MFIRMWARE_215H3}
# @${CP} ${WRKDIR}/rom215_hpgcc3_R004/hpgccrom.bin ${WRKSRC}/4950_215.bin
#.endif
do-configure:
cd ${WRKSRC}/qemu/qemu-git && ./configure-small --extra-cflags=-DX49GP --cc="${CC}"
do-build:
cd ${WRKSRC} && ${SETENV} -u MAKELEVEL -u MAKEFLAGS ${MAKE_CMD} ${MAKE_ARGS}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in flash-50g hp50g.png hp50g-hack.png hp49g+.png flash-49g+ sram s3c2410-sram
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/
.endfor
${INSTALL_DATA} ${FILESDIR}/config-hp50g ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${FILESDIR}/config-hp49g+ ${STAGEDIR}${DATADIR}/
${INSTALL_PROGRAM} ${WRKSRC}/x49gp ${STAGEDIR}${PREFIX}/bin/x49gp-bin
${INSTALL_SCRIPT} ${WRKDIR}/hp50g.sh ${STAGEDIR}${PREFIX}/bin/hp50g
${RM} ${STAGEDIR}${PREFIX}/bin/hp49g+
${LN} ${STAGEDIR}${PREFIX}/bin/hp50g ${STAGEDIR}${PREFIX}/bin/hp49g+
${INSTALL_DATA} ${DISTDIR}/sdcard64.tar.gz ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>