1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs
8 MY_PV="${PN}-nologo-${PV}"
10 DESCRIPTION="An HP-42S Calculator Simulator"
11 HOMEPAGE="https://thomasokken.com/free42/"
12 SRC_URI="https://thomasokken.com/free42/upstream/${MY_PV}.tgz"
24 alsa? ( media-libs/alsa-lib )"
30 S="${WORKDIR}/${MY_PV}"
33 "${FILESDIR}/${PN}-2.0.10-fix-makefile.patch"
34 "${FILESDIR}/${PN}-2.0.10-fix-build-intel-lib.patch"
43 use alsa && myconf="AUDIO_ALSA=yes"
44 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" BCD_MATH=1 ${myconf} -C "${S}/gtk"
48 dodoc CREDITS HISTORY README