Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/advancemame: new aport

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Mon, 18 Dec 2017 13:54:10 +0100

Hi,

Thank you for your contriubtion. Please see question below.

On Sat, 9 Dec 2017 21:49:53 +0000
Taner Tas <taner76_at_gmail.com> wrote:

> http://www.advancemame.it
> A port of the MAME and MESS emulators for Arcade Monitors and TVs but also for LCDs and PC monitors
> ---
> testing/advancemame/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
> create mode 100644 testing/advancemame/APKBUILD
>
> diff --git a/testing/advancemame/APKBUILD b/testing/advancemame/APKBUILD
> new file mode 100644
> index 000000000..cf2c8b9b1
> --- /dev/null
> +++ b/testing/advancemame/APKBUILD
> _at_@ -0,0 +1,40 @@
> +# Maintainer: Taner Tas <taner76_at_gmail.com>
> +pkgname=advancemame
> +pkgver=3.5
> +pkgrel=0
> +pkgdesc="A port of the MAME and MESS emulators for Arcade Monitors and TVs but also for LCDs and PC monitors"
> +url="http://www.advancemame.it"
> +arch="all"
> +license="GPL"
> +makedepends="sdl2-dev alsa-lib-dev freetype-dev zlib-dev expat-dev slang-dev"
> +subpackages="$pkgname-doc"
> +source="https://github.com/amadvance/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
> +options="!check"
> +
> +prepare() {
> + default_prepare
> +}
> +
> +build() {
> + cd "$builddir"
> + ./configure \
> + --build=$CBUILD \
> + --host=$CHOST \
> + --prefix=/usr \
> + --sysconfdir=/etc \
> + --mandir=/usr/share/man \
> + --localstatedir=/var \
> + --enable-sdl2
> + make -j4

Why can this build only use 4 cores for building? Our arm server has 48
cores and our ppc64le may have up to 160 threads.

> +}
> +
> +package() {
> + cd "$builddir"
> + make bindir="${pkgdir}/usr/bin/" \
> + datadir="${pkgdir}/usr/share/" \
> + mandir="${pkgdir}/usr/share/man/" \
> + pkgdocdir="${pkgdir}/usr/share/doc/${pkgname}/" \
> + install
> +}
> +
> +sha512sums="5deeadbbdc4fd61c8fbfdcf22e3c846523c77afaf3d2ff7759d3c0d723fec8549020c67883505eea3b19ada3f1f20ef455013c0ef696c669b4e3c4b1f48178b9 advancemame-3.5.tar.gz"

-nc


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Dec 18 2017 - 13:54:10 GMT