~alpine/aports

Patches for aports can be sent to this list

4 2

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

Taner Tas
Details
Message ID
<20180302152017.1199-1-taner76@gmail.com>
Sender timestamp
1520004017
DKIM signature
missing
Download raw message
Patch: +52 -0
---
 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
@@ -0,0 +1,52 @@
+# Contributor: Taner Tas <taner76@gmail.com>
+# Maintainer: Taner Tas <taner76@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
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--with-netplay \
+		--with-opengl \
+		--with-gtk3 \
+		--without-pulseaudio
+	make
+}
+
+package() {
+	cd "$builddir"/gtk
+	make DESTDIR="${pkgdir}" install
+	mv "${pkgdir}"/usr/bin/snes9x-gtk "${pkgdir}"/usr/bin/snes9x
+}
+
+sha512sums="61d1d6f9c1fc4fbf6253ac7a7d214c771563d7d60238197b2f1525a58f8f9011446f400767d39ec464c69d80574a7dcd78557c8f47605df992af28cb107c0f6e  snes9x-1.55.tar.gz"
-- 
2.16.2



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Leonardo Arena
Details
Message ID
<CAGG_d8BcPHhG9+-Mv1bc0dN0HJimhSCohXxjcE+SB0fypwj2ew@mail.gmail.com>
In-Reply-To
<20180302152017.1199-1-taner76@gmail.com> (view parent)
Sender timestamp
1520603411
DKIM signature
missing
Download raw message
Hi,

On Fri, Mar 2, 2018 at 4:20 PM, Taner Tas <taner76@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
> @@ -0,0 +1,52 @@
> +# Contributor: Taner Tas <taner76@gmail.com>
> +# Maintainer: Taner Tas <taner76@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
Details
Message ID
<20180310024413.7a036cc76e79d7dd453480ed@gmail.com>
In-Reply-To
<CAGG_d8BcPHhG9+-Mv1bc0dN0HJimhSCohXxjcE+SB0fypwj2ew@mail.gmail.com> (view parent)
Sender timestamp
1520639053
DKIM signature
missing
Download raw message
Hi,
Revised. Patch is attached.

Thanks.
Taner

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

> Hi,
> 
> On Fri, Mar 2, 2018 at 4:20 PM, Taner Tas <taner76@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
> > @@ -0,0 +1,52 @@
> > +# Contributor: Taner Tas <taner76@gmail.com>
> > +# Maintainer: Taner Tas <taner76@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@gmail.com>
Taner Tas
Details
Message ID
<20180329112002.bb865ebafa7ae39670957d60@gmail.com>
In-Reply-To
<20180310024413.7a036cc76e79d7dd453480ed@gmail.com> (view parent)
Sender timestamp
1522311602
DKIM signature
missing
Download raw message
Hi,

Just a reminder: Requested fixes already sent with previous email.

Thanks.

-- 
Taner Tas <taner76@gmail.com>


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

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

Taner Tas
Details
Message ID
<20180423192937.fa7365a4cf5e3c70bf9bf6e9@gmail.com>
In-Reply-To
<CAGG_d8BcPHhG9+-Mv1bc0dN0HJimhSCohXxjcE+SB0fypwj2ew@mail.gmail.com> (view parent)
Sender timestamp
1524500977
DKIM signature
missing
Download raw message
Hi,

I prepared a new v2 patch and submitted as github PR.
Pleae refer to: https://github.com/alpinelinux/aports/pull/4097

Thanks.

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

> Hi,

> > +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


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---