mirror of
https://aur.archlinux.org/ocp.git
synced 2025-04-27 05:54:27 -04:00
Overhauled PKGBUILD with update to 0.2.99
This commit is contained in:
parent
17d5377fb7
commit
5a8ed16c40
3 changed files with 68 additions and 55 deletions
71
PKGBUILD
71
PKGBUILD
|
@ -1,54 +1,53 @@
|
|||
# Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
|
||||
# Original PKGBUILD by: berkus [berkus_at_madfire_dot_net]
|
||||
# Maintainer: Xavier (sapphirus at azorium dot net)
|
||||
# Original Maintainer: Ossi Saukko <osaukko at gmail dot com>
|
||||
|
||||
_pkgbdir=opencubicplayer
|
||||
pkgname=ocp
|
||||
pkgver=0.2.90
|
||||
pkgver=0.2.99
|
||||
pkgrel=1
|
||||
pkgdesc="Open Cubic Player"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/mywave82/opencubicplayer"
|
||||
depends=('libxxf86vm' 'libvorbis' 'libxpm' 'alsa-lib' 'libmad' 'flac' 'sdl2' 'adplug' 'libjpeg-turbo' 'libpng' 'freetype2' 'ttf-unifont')
|
||||
makedepends=('desktop-file-utils' 'git' 'xa' 'patch')
|
||||
url="https://stian.cubic.org/project-ocp.php"
|
||||
license=('GPL')
|
||||
source=(git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver}
|
||||
git+https://github.com/mywave82/timidity.git
|
||||
git+https://github.com/mywave82/sidplay-residfp-ocp.git
|
||||
git+https://github.com/libsidplayfp/exsid-driver.git
|
||||
git+https://github.com/mywave82/resid.git
|
||||
fix-unifont.diff)
|
||||
md5sums=('SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'9eb83ffbabec3f1dd66f66c9100a9c08')
|
||||
install=ocp.install
|
||||
|
||||
conflicts=('ocp-git')
|
||||
|
||||
depends=('hicolor-icon-theme'
|
||||
'libxxf86vm'
|
||||
'libxpm'
|
||||
'alsa-lib'
|
||||
'sdl2'
|
||||
'flac'
|
||||
'libvorbis'
|
||||
'libmad'
|
||||
'libjpeg-turbo'
|
||||
'libpng'
|
||||
'freetype2'
|
||||
'ttf-unifont'
|
||||
'libdiscid'
|
||||
'cjson')
|
||||
|
||||
makedepends=('git'
|
||||
'xa'
|
||||
'desktop-file-utils')
|
||||
|
||||
source=(git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver})
|
||||
md5sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd opencubicplayer
|
||||
|
||||
patch -p1 -i "$srcdir/fix-unifont.diff"
|
||||
|
||||
cd $_pkgbdir
|
||||
git submodule init
|
||||
git config submodule.playgmi/timidity-git.url "$srcdir/timidity"
|
||||
git config submodule.playsid/sidplayfp-git.url "$srcdir/sidplay-residfp-ocp"
|
||||
git submodule update
|
||||
|
||||
cd playsid/libsidplayfp-git
|
||||
|
||||
git submodule init
|
||||
git config submodule.src/builders/exsid-builder/driver.url "$srcdir/exsid-driver"
|
||||
git config submodule.src/builders/resid-builder/resid.url "$srcdir/resid"
|
||||
git submodule update
|
||||
git submodule update --init --recursive
|
||||
}
|
||||
|
||||
build() {
|
||||
cd opencubicplayer
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-unifontdir=/usr/share/fonts/Unifont
|
||||
cd $_pkgbdir
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-unifontdir=/usr/share/fonts/Unifont --with-unifont-ttf=/usr/share/fonts/Unifont/Unifont.ttf --with-unifont-csur-ttf=/usr/share/fonts/Unifont/Unifont_CSUR.ttf --with-unifont-upper-ttf=/usr/share/fonts/Unifont/Unifont_Upper.ttf
|
||||
make DESTDIR="$pkgdir"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd opencubicplayer
|
||||
cd $_pkgbdir
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue