Patches for aports can be sent to this list

3 2

[alpine-aports] [PATCH 1/2] testing/fs-uae: new aport

Taner Tas
Details
Message ID
<20180303180258.30560-1-taner76@gmail.com>
Sender timestamp
1520100177
DKIM signature
missing
Download raw message
Patch: +39 -0
https://fs-uae.net/
Amiga emulator.
---
 testing/fs-uae/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 testing/fs-uae/APKBUILD

diff --git a/testing/fs-uae/APKBUILD b/testing/fs-uae/APKBUILD
new file mode 100644
index 0000000..b2c996b
--- /dev/null
+++ b/testing/fs-uae/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Taner Tas <taner76@gmail.com>
+# Maintainer: Taner Tas <taner76@gmail.com>
+pkgname=fs-uae
+pkgver=2.8.3
+pkgrel=0
+pkgdesc="Amiga emulator."
+url="https://fs-uae.net/"
+arch="all"
+license="GPL-2.0-only"
+makedepends="zip clang-dev sdl2-dev openal-soft-dev mesa-dev glew-dev freetype-dev libmpeg2-dev"
+subpackages="$pkgname-lang"
+source="https://fs-uae.net/stable/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+options="!check"
+
+prepare() {
+	default_prepare
+}
+
+build() {
+	export CC=clang
+	export CXX=clang++
+	unset CFLAGS CXXFLAGS
+	cd "$builddir"
+	./configure \
+		--build=$CBUILD \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var \
+		--enable-sdl2
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+	rm -rf "$pkgdir"/usr/share/doc
+}
+sha512sums="1ccab4329a6b678a97f336b963bfaf9ea26bccccba31c90f1b7a8c2a6d3a9f343f9095733be744d4357495c808216d32c08a2bd8ce05bba73017147616d5e8cf  fs-uae-2.8.3.tar.gz"
-- 
2.16.2



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

[alpine-aports] [PATCH 2/2] testing/fs-uae-launcher: new aport

Taner Tas
Details
Message ID
<20180303180258.30560-2-taner76@gmail.com>
In-Reply-To
<20180303180258.30560-1-taner76@gmail.com> (view parent)
Sender timestamp
1520100178
DKIM signature
missing
Download raw message
Patch: +33 -0
https://fs-uae.net/launcher
FS-UAE emulator launcher.
---
 testing/fs-uae-launcher/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/fs-uae-launcher/APKBUILD

diff --git a/testing/fs-uae-launcher/APKBUILD b/testing/fs-uae-launcher/APKBUILD
new file mode 100644
index 0000000..828c76c
--- /dev/null
+++ b/testing/fs-uae-launcher/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Taner Tas <taner76@gmail.com>
+pkgname=fs-uae-launcher
+pkgver=2.8.3
+pkgrel=0
+pkgdesc="FS-UAE emulator launcher."
+url="https://fs-uae.net/launcher"
+arch="noarch"
+license="GPL-2.0-only"
+depends="fs-uae~$pkgver py3-qt5"
+makedepends="py3-setuptools gettext"
+subpackages="$pkgname-lang"
+source="https://fs-uae.net/stable/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+options="!check"
+
+prepare() {
+	default_prepare
+}
+
+build() {
+	return 0
+}
+
+package() {
+	cd "$builddir"
+	python3 setup.py install --root="${pkgdir}" \
+        --install-lib=/usr/share/fs-uae-launcher \
+        --install-scripts=/usr/share/fs-uae-launcher
+        make DESTDIR="${pkgdir}" prefix=/usr install-data
+	mkdir -p "${pkgdir}"/usr/bin
+	ln -s /usr/share/fs-uae-launcher/fs-uae-launcher "${pkgdir}"/usr/bin/fs-uae-launcher
+	rm -rf "${pkgdir}"/usr/share/doc
+}
+sha512sums="4eaa5979fe2e8f2c792d4878e9a9ad0a0433206aac42aa380d97aee21e4ba29a54caced2437b83357c2c4d2fab121bfb821fdb8a883ead971766866b02067a2d  fs-uae-launcher-2.8.3.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_d8A__c=0UXnKBAtTmv4VvaWFnYFF102w3eXJrYyJXzSOnQ@mail.gmail.com>
In-Reply-To
<20180303180258.30560-1-taner76@gmail.com> (view parent)
Sender timestamp
1520326585
DKIM signature
missing
Download raw message
Hi,

On Sat, Mar 3, 2018 at 7:02 PM, Taner Tas <taner76@gmail.com> wrote:

> https://fs-uae.net/
> Amiga emulator.
> ---
>  testing/fs-uae/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++
>  1 file changed, 39 insertions(+)
>  create mode 100644 testing/fs-uae/APKBUILD
>
>
checking for GLIB... no
configure: error: Package requirements (glib-2.0 >= 2.32 gthread-2.0) were
not met:

Package 'glib-2.0', required by 'virtual:world', not found
Package 'gthread-2.0', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
>>> ERROR: fs-uae: all failed



> diff --git a/testing/fs-uae/APKBUILD b/testing/fs-uae/APKBUILD
> new file mode 100644
> index 0000000..b2c996b
> --- /dev/null
> +++ b/testing/fs-uae/APKBUILD
> @@ -0,0 +1,39 @@
> +# Contributor: Taner Tas <taner76@gmail.com>
> +# Maintainer: Taner Tas <taner76@gmail.com>
> +pkgname=fs-uae
> +pkgver=2.8.3
> +pkgrel=0
> +pkgdesc="Amiga emulator."
> +url="https://fs-uae.net/"
> +arch="all"
> +license="GPL-2.0-only"
> +makedepends="zip clang-dev sdl2-dev openal-soft-dev mesa-dev glew-dev
> freetype-dev libmpeg2-dev"
> +subpackages="$pkgname-lang"
> +source="https://fs-uae.net/stable/${pkgver}/${pkgname}-${pkgver}.tar.gz"
> +options="!check"
> +
> +prepare() {
> +       default_prepare
> +}
> +
>

prepare() can be omitted if nothing custom is run. "default_prepare" runs
by... default.

Thanks!

/eo
Taner Tas
Details
Message ID
<1638494489.10928041.1520353404159@mail.yahoo.com>
In-Reply-To
<CAGG_d8A__c=0UXnKBAtTmv4VvaWFnYFF102w3eXJrYyJXzSOnQ@mail.gmail.com> (view parent)
Sender timestamp
1520353404
DKIM signature
missing
Download raw message

Hi,

Missing dependency... Please apply the patch attached.

Thanks.
Taner



On Tuesday, March 6, 2018, 11:56:26 AM GMT+3, Leonardo Arena <rnalrd@gmail.com> wrote: 




Hi,

On Sat, Mar 3, 2018 at 7:02 PM, Taner Tas <taner76@gmail.com> wrote:
> https://fs-uae.net/
> Amiga emulator.
> ---
>  testing/fs-uae/APKBUILD | 39 ++++++++++++++++++++++++++++++ +++++++++
>  1 file changed, 39 insertions(+)
>  create mode 100644 testing/fs-uae/APKBUILD
> 

checking for GLIB... no
configure: error: Package requirements (glib-2.0 >= 2.32 gthread-2.0) were not met:

Package 'glib-2.0', required by 'virtual:world', not found
Package 'gthread-2.0', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
>>> ERROR: fs-uae: all failed


 
>  diff --git a/testing/fs-uae/APKBUILD b/testing/fs-uae/APKBUILD
> new file mode 100644
> index 0000000..b2c996b
> --- /dev/null
> +++ b/testing/fs-uae/APKBUILD
> @@ -0,0 +1,39 @@
> +# Contributor: Taner Tas <taner76@gmail.com>
> +# Maintainer: Taner Tas <taner76@gmail.com>
> +pkgname=fs-uae
> +pkgver=2.8.3
> +pkgrel=0
> +pkgdesc="Amiga emulator."
> +url="https://fs-uae.net/"
> +arch="all"
> +license="GPL-2.0-only"
> +makedepends="zip clang-dev sdl2-dev openal-soft-dev mesa-dev glew-dev freetype-dev libmpeg2-dev"
> +subpackages="$pkgname-lang"
> +source="https://fs-uae.net/ stable/${pkgver}/${pkgname}-${ pkgver}.tar.gz"
> +options="!check"
> +
> +prepare() {
> +       default_prepare
> 
> +}
> +

prepare() can be omitted if nothing custom is run. "default_prepare" runs by... default.

Thanks!

/eo