experimental changes
This commit is contained in:
parent
8447faa4b3
commit
3497cae854
6
.SRCINFO
6
.SRCINFO
|
@ -1,8 +1,6 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Wed Jan 11 23:35:43 UTC 2017
|
||||
pkgbase = desmume-git
|
||||
pkgdesc = Nintendo DS emulator
|
||||
pkgver = 0.9.11.r583.07a68db
|
||||
pkgver = 0.9.11.r800.e29e825d
|
||||
pkgrel = 2
|
||||
url = http://desmume.org/
|
||||
arch = i686
|
||||
|
@ -15,11 +13,11 @@ pkgbase = desmume-git
|
|||
makedepends = lua
|
||||
depends = gtkglext
|
||||
depends = libglade
|
||||
depends = lua51
|
||||
depends = libgl
|
||||
depends = openal
|
||||
depends = sdl
|
||||
depends = soundtouch
|
||||
depends = lua51
|
||||
provides = desmume
|
||||
conflicts = desmume
|
||||
conflicts = desmume-sourceforge
|
||||
|
|
26
PKGBUILD
26
PKGBUILD
|
@ -1,52 +1,35 @@
|
|||
#! /bin/bash
|
||||
# Maintainer: Markus Kitsinger (SwooshyCueb) <root@swooshalicio.us>
|
||||
|
||||
_pkgname=desmume
|
||||
pkgname=${_pkgname}-git
|
||||
pkgdesc='Nintendo DS emulator'
|
||||
url='http://desmume.org/'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
|
||||
# The developers do not seem to make consistent use of tags
|
||||
# I've manually specified the commit where the branch of the latest release (as
|
||||
# of this writing) split from master, and we use this to get the rev number.
|
||||
_last_rtm_ver=0.9.11
|
||||
_last_rtm_commit=ccbf85ed42e4350af415d56b1465e83614c85ef8
|
||||
pkgver="${_last_rtm_ver}.r583.07a68db"
|
||||
pkgver=0.9.11.r800.e29e825d
|
||||
pkgrel=2
|
||||
|
||||
depends=('gtkglext'
|
||||
'libglade'
|
||||
'lua51'
|
||||
'libgl'
|
||||
'openal'
|
||||
'sdl'
|
||||
'soundtouch'
|
||||
'lua51')
|
||||
'soundtouch')
|
||||
makedepends=('autoconf'
|
||||
'automake'
|
||||
'pkg-config'
|
||||
'git'
|
||||
'lua')
|
||||
|
||||
provides=('desmume')
|
||||
replaces=('desmume-sourceforge'
|
||||
'desmume-svn'
|
||||
'desmume-jit-svn')
|
||||
conflicts=("${provides[@]}" "${replaces[@]}")
|
||||
|
||||
source=('git+https://github.com/TASVideos/desmume.git')
|
||||
sha512sums=('SKIP')
|
||||
|
||||
_builddir="${_pkgname}/src/frontend/posix"
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
|
||||
local revnum="$(git rev-list --count ${_last_rtm_commit}..HEAD)"
|
||||
local shorthash="$(git rev-parse --short HEAD)"
|
||||
|
||||
printf "%s.r%s.%s" "${_last_rtm_ver}" "${revnum}" "${shorthash}"
|
||||
git describe --long | sed 's/v//;s/-/./g'
|
||||
}
|
||||
|
||||
prepare(){
|
||||
|
@ -67,6 +50,7 @@ build() {
|
|||
--prefix=/usr \
|
||||
--enable-osmesa \
|
||||
--enable-glx \
|
||||
--enable-hud \
|
||||
--enable-openal \
|
||||
--enable-glade
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user