X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by lists.alpinelinux.org (Postfix) with ESMTP id 5382C5C4E81 for ; Fri, 2 Mar 2018 15:21:41 +0000 (GMT) Received: by mail-wm0-f42.google.com with SMTP id q83so3827509wme.5 for ; Fri, 02 Mar 2018 07:21:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=TxtGqDqRjYMV/g9bURZJY1Zqm/oTiUOf1vzxl7GX4kA=; b=QKRxoO4pKf1kV8F87H6QvTwDHLkRUCF0PGBjm6Qst3t9wuvX5uH9Z8pSPABzeYtCX/ caToZoKFuOLx2vl3QWpZ98X/Rkcd7WwKpjrKN4wQgtHhKX6uGryKUNLhtsWzLj6+gq5J zNNZkJP9BKxvFszydFpp8F9OXkFqsfpVRp58Zsmk/AWhwFphVr/++5eGKEPbpnMzzLDL AjDnV9xCf8+Emy/JkaekxmcEeDaEZvDBg9HsEKpN7JzIe86KLkx2OdwbtdQ6daQWPV0S xn2eBYl9rUB9MWRVxGLHGFmtrKbfgYbcwUjN/YzQkIKcd3p/59vS/WBywVQNrnSzRkwH YHlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TxtGqDqRjYMV/g9bURZJY1Zqm/oTiUOf1vzxl7GX4kA=; b=Nc7FpExW0bPj3+nxgffMqTAQzM4QS1zmxoTmJSKAbOdMfybD7TJV9noOR48murjlGY dWtiJhb6VVeY9DO1OV+J6en0qKnRn71+0HAB9tRI9K/NXQrY127/7QUXAo9nBJfC8XEB hQlQ0J/gD4xMO6Yx8ymy8udXwd/VDyl8Y/Bw9AfZpj7bbwD6MH2BhGcaqhlHX5qcXiTy 9mJ/DGhlS7fiPSZIaNHUocxe+w7Jth0AJwknmWlJRT4aIeosDR7hl/wJa/uPQSA/BboW Tcbs1AkFWJw8c996HoJXcT7/ulnti9/PiJIM6ciK8TT9tkUOWcDSW0Ak1xK1FYEMjO8D NCcA== X-Gm-Message-State: AElRT7HUem6AEPjimlf08pm1zw9GcgsPXZZ+6SxXV2W8WdJ+tv0cs6PV 4JMU8Z7j7yk0Y2FAttZgARiaeA== X-Google-Smtp-Source: AG47ELuPyL+5uOtXeim8+tEdmB0+16nHOj773y6WwsReAJkyEUuj1LKFXDkXN8ZDfK/s2PYWhEnECw== X-Received: by 10.28.150.138 with SMTP id y132mr1918834wmd.104.1520004100422; Fri, 02 Mar 2018 07:21:40 -0800 (PST) Received: from localhost.localdomain ([31.223.27.98]) by smtp.gmail.com with ESMTPSA id m62sm724828wmi.19.2018.03.02.07.21.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Mar 2018 07:21:39 -0800 (PST) From: Taner Tas To: alpine-aports@lists.alpinelinux.org Cc: Taner Tas Subject: [alpine-aports] [PATCH] testing/snes9x: new aport Date: Fri, 2 Mar 2018 15:20:17 +0000 Message-Id: <20180302152017.1199-1-taner76@gmail.com> X-Mailer: git-send-email 2.16.2 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- 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 +# Maintainer: Taner Tas +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 ---