Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 7C82A781B33 for <~alpine/aports@lists.alpinelinux.org>; Sun, 11 Aug 2019 01:57:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 47F7F27E37 for <~alpine/aports@lists.alpinelinux.org>; Sun, 11 Aug 2019 03:57:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NmAuGwVf0lC9; Sun, 11 Aug 2019 03:57:07 +0200 (CEST) From: Bart Ribbers DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1565488627; bh=BO9raPnFboAbQMVv3ltwmoGp4VtSqGykq8mei5m7kIc=; h=From:To:Cc:Subject:Date; b=CvL4MXWxfYMmazoHBzQwFK2mnrVIlGl4YKbyerdXrXzRj0YSO4AkfnoL3MVsYa51D bipMLOP/J90eLaySjQakcDOw4tXFBzfUagVhx1QE2v6lz3U6Oq+uasc5vHUPk5Apfm fhr0PLH8aMb7MVSqWi3hemhlGQlW1Wf+s5CqxAN9/9LUbHYyQ58QMfQU+JOnmFRSiT 5d87oYomq/UoA5HwzstKdQlACTXyNSYPY7XdaDVD5kkRmtca09z5MieKhfdekN027I H5O/V4xAqWCUxCa/dc1OZHatoctBtacAbIFwn+MnwoAi6tGMuIYgUYsTiNB6NvOJfy 73UR6PhGys+mA== To: ~alpine/aports@lists.alpinelinux.org Cc: Bart Ribbers Subject: [PATCH v3] testing/libretro-beetle-psx: new aport Date: Sun, 11 Aug 2019 03:57:06 +0200 Message-Id: <20190811015706.28773-1-bribbers@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Damn I'm messing this one up, sorry for that. This is the proper commit --- testing/libretro-beetle-psx/APKBUILD | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/libretro-beetle-psx/APKBUILD diff --git a/testing/libretro-beetle-psx/APKBUILD b/testing/libretro-beetle-psx/APKBUILD new file mode 100644 index 0000000000..012c3c70a1 --- /dev/null +++ b/testing/libretro-beetle-psx/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=libretro-beetle-psx +_pkgname=beetle-psx-libretro +pkgver=0_git20190802 +pkgrel=0 +_commit="7b584a4ce05968482a1e5e3719ba341807f42277" +arch="all" +url="https://github.com/libretro/beetle-psx-libretro" +pkgdesc="Standalone port/fork of Mednafen PSX to the Libretro API" +license="GPL-2.0-or-later" +makedepends="mesa-dev" +source="$pkgname-$_commit.tar.gz::https://github.com/libretro/$_pkgname/archive/$_commit.tar.gz" +subpackages="$pkgname-hw" +builddir="$srcdir/$_pkgname-$_commit" +options="!check" # No tests + +prepare() { + default_prepare + + mkdir -p "$srcdir"/libretro-beetle-psx && mkdir -p "$srcdir"/libretro-beetle-psx-hw + cp -r "$builddir"/* "$srcdir"/libretro-beetle-psx && cp -r "$builddir"/* "$srcdir"/libretro-beetle-psx-hw + mv "$srcdir"/libretro-beetle-psx "$builddir" + mv "$srcdir"/libretro-beetle-psx-hw "$builddir" +} + +build() { + make -C libretro-beetle-psx + HAVE_HW=1 make -C libretro-beetle-psx-hw +} + +package() { + install -Dm644 "$builddir"/libretro-beetle-psx/mednafen_psx_libretro.so "$pkgdir"/usr/lib/libretro +} + +hw() { + install -Dm644 "$builddir"/libretro-beetle-psx-hw/mednafen_psx_hw_libretro.so "$subpkgdir"/usr/lib/libretro +} + +sha512sums="e8f2cbb6823ee3b1bedc137a1de5b681e86c9e11d04a00fd7e7496dad613b9e07bb56c64d588ec82551e09d869b62cbf5c5a630ce72fc7452cb38fd97a026c45 libretro-beetle-psx-7b584a4ce05968482a1e5e3719ba341807f42277.tar.gz" -- 2.21.0