summaryrefslogtreecommitdiff
path: root/testing/pcsxr/APKBUILD
blob: 05afac69a13fca4c1ac253b44225e6092f4a9cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Cág <ca6c@bitmessage.ch>
# Maintainer: Cág <ca6c@bitmessage.ch>
pkgname=pcsxr
pkgver=1.9.92
pkgrel=1
pkgdesc="Sony PlayStation emulator"
url="https://pcsxr.codeplex.com/"
arch="all"
license="GPL-3.0"
depends="libtxc_dxtn"
makedepends="autoconf automake libglade-dev libtool gtk+2.0-dev sdl-dev mesa-dev
	libxv-dev libxtst-dev nasm libxxf86vm-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="http://http.debian.net/debian/pool/main/p/pcsxr/pcsxr_1.9.92.orig.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$builddir"
	default_prepare
	./autogen.sh
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--target=$CTARGET \
		--prefix=/usr \
		--enable-opengl
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="25b0caa1cc3715afddedfef7c069f4d334ce9f6bef9355c813c60b1462a2b68634d517a31373823d64a815bec4449234d13edb6ff5159f746820124d1993ef4c  pcsxr_1.9.92.orig.tar.bz2"