1
0

app-emulation/cemu: New package

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
Ryan Fox 2021-09-16 19:21:26 -07:00
parent c13f1db6e2
commit 34ad38a9ff
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
4 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,5 @@
DIST cemu-1.3.tar.gz 993425 BLAKE2B 7c6bc04faec755eab3ea82ceb7c5054c2690d4f0dc29f8dc390c8586d2913d2a4802e4c16bbd4c92dbfbdc9ecc4a4b72fec8aab370820eac24e76b41e1697f1f SHA512 2297dfa317d3f33efd76599d190374154559d19326554e50173794740901bfe4d684770fe3454b1c68a2faacde9f53f98b0b7a412bcf7e99798876887229d5b5
DIST zdis-7eb89e56d219bbca5ca5cd82c98dce69bd75004b.tar.gz 5507 BLAKE2B c55acc41d0c1fdcd6166aa96a8d5d27e27a4ba71963e6e6b1715397addb14f7762422f5825b1ffe1f4f98043cd1f7140c3fcaa6bc5bc44750337dd8c4266ad15 SHA512 ef49ea08fbe851de79e3a6e5351e3d321c237f278ba07fc8cb5ceeea9cd62e0199dda81908cf9a9f2b3e4afacc821b6a1d8ce51a383a436b4f092d9e5f5a19b7
EBUILD cemu-1.3.ebuild 1202 BLAKE2B f2eeaded4e4423fb90fdd2242c3cbd8a925e7597f07cd605eb3cc8224dbf969976ff471ab71dde707ab1ef356e6e3f899d9053a85c41383b80663de150d855a4 SHA512 a7dacd19e0d0307e0d354e9b184d040b3eb5a0224c749f354709d0bf96a8b29d034b272f7686285db53e67ad2067a9a13271535e7839fdd652bfd5409f7f5483
EBUILD cemu-9999.ebuild 651 BLAKE2B cc25ff4f07c42daba91a532c5dac8c2e420bf1283c7baa112a1e7dbb89451f3e6b73cc570b7eb8af771cd76d5ff6fceb137d5d1e067b506c577039e09622a7be SHA512 1128a93e6b037156da36e0e5e794e469144dc0e566d8478e4fe9f260a944f94478ceff825655f518607ca4fb698779b719dacf4621f38c72f7aade80996fb2b7
MISC metadata.xml 326 BLAKE2B bce06061c1c8000511444fe74c2aff5f1c92ecf9251ed34029d25c799a361e8cacb54c31924df473a0b928484129d78dcc4a2e86fcb8003735dfaffe67495a40 SHA512 35c632d075643ad9fb336d39b53e033ba039e3f577d4264b6f71b79de62edfd805a69256f724321f723fd6f0e2e0d37cb5552890e63acb0ef442f3c1d35410e4

View File

@ -0,0 +1,54 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit qmake-utils
ZDIS_COMMIT="7eb89e56d219bbca5ca5cd82c98dce69bd75004b"
MY_PN="CEmu"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}/gui/qt"
SRC_URI="
https://github.com/CE-Programming/CEmu/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/CE-Programming/zdis/archive/${ZDIS_COMMIT}.tar.gz -> zdis-${ZDIS_COMMIT}.tar.gz
"
KEYWORDS="~amd64"
DESCRIPTION="TI-84 Plus CE emulator"
HOMEPAGE="https://ce-programming.github.io/CEmu/"
LICENSE="GPL-3"
SLOT="0"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
media-libs/libpng[apng]
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_unpack() {
default
rm -rf "${S}/../../core/debug/zdis"
mv "${WORKDIR}/zdis-${ZDIS_COMMIT}" "${S}/../../core/debug/zdis"
}
src_prepare() {
default
sed -i "s/-Wextra/-Wextra#/" "${S}/CEmu.pro"
sed -i "s/CONFIG += c++11 console/CONFIG += c++11 console ltcg/" "${S}/CEmu.pro"
find tivarslib -type f -exec sed -i "/namespace tivars/i #include <stdexcept>" "${S}/"{} \;
}
src_configure() {
eqmake5 "CEmu.pro"
}
src_install() {
eqmake5 "CEmu.pro" PREFIX="${D}/usr"
default
}

View File

@ -0,0 +1,38 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3 qmake-utils
EGIT_REPO_URI="https://github.com/CE-Programming/CEmu.git"
S="${S}/gui/qt"
DESCRIPTION="TI-84 Plus CE emulator"
HOMEPAGE="https://ce-programming.github.io/CEmu/"
LICENSE="GPL-3"
SLOT="0"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
media-libs/libpng[apng]
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
default
sed -i "s/-Wextra/-Wextra#/" "${S}/CEmu.pro"
}
src_configure() {
eqmake5 "CEmu.pro"
}
src_install() {
eqmake5 "CEmu.pro" PREFIX="${D}/usr"
default
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="github">CE-Programming/CEmu</remote-id>
</upstream>
</pkgmetadata>