Mail archive
alpine-aports

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

From: Taner Tas <taner76_at_gmail.com>
Date: Sat, 10 Mar 2018 02:44:13 +0300

Hi,
Revised. Patch is attached.

Thanks.
Taner

On Fri, 9 Mar 2018 14:50:11 +0100
Leonardo Arena <rnalrd_at_gmail.com> wrote:

> Hi,
>
> On Fri, Mar 2, 2018 at 4:20 PM, Taner Tas <taner76_at_gmail.com> wrote:
>
> > ---
> > testing/snes9x/APKBUILD | 52 ++++++++++++++++++++++++++++++
> > +++++++++++++++++++
> > 1 file changed, 52 insertions(+)
> > create mode 100644 testing/snes9x/APKBUILD
> >
> > diff --git a/testing/snes9x/APKBUILD b/testing/snes9x/APKBUILD
> > new file mode 100644
> > index 0000000..0da8b81
> > --- /dev/null
> > +++ b/testing/snes9x/APKBUILD
> > _at_@ -0,0 +1,52 @@
> > +# Contributor: Taner Tas <taner76_at_gmail.com>
> > +# Maintainer: Taner Tas <taner76_at_gmail.com>
> > +pkgname=snes9x
> > +pkgver=1.55
> > +pkgrel=0
> > +pkgdesc="Super NES Emulator"
> > +url="http://www.snes9x.com"
> > +arch="all"
> > +license="LGPL-2.1-only"
> > +makedepends="nasm clang-dev mesa-dev libpng-dev zlib-dev libxv-dev
> > mesa-dev libxml2-dev \
> > + libxrandr-dev alsa-lib-dev minizip-dev portaudio-dev gtk+3.0-dev
> > sdl-dev"
> > +subpackages="$pkgname-lang"
> > +source="${pkgname}-${pkgver}.tar.gz::https://github.com/${
> > pkgname}git/${pkgname}/archive/${pkgver}.tar.gz"
> > +
> > +prepare() {
> > + default_prepare
> > +}
> > +
> > +check() {
> > + cd "$builddir"/gtk
> > + make check
> > +}
> > +
> > +build() {
> > + cd "$builddir"
> > + export CC="clang"
> > + export CXX="clang++"
> > + export ZLIB=1
> > + export UNZIP_SUPPORT=1
> > + export JMA_SUPPORT=1
> > + export RIGHTSHIFT_IS_SAR=1
> > +
> > + cd gtk
> > + ./autogen.sh
> >
>
> This should go to prepare(). Also I believe it requires autoconf and
> automake, which I don't see in makedepends.
>
> Thanks!
>
> /eo


-- 
Taner Tas <taner76_at_gmail.com>




---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Mar 10 2018 - 02:44:13 GMT