2022-09-23 15:37:22 +00:00
|
|
|
# Maintainer: Xavier (sapphirus at azorium dot net)
|
|
|
|
# Original Maintainer: Ossi Saukko <osaukko at gmail dot com>
|
|
|
|
|
|
|
|
_pkgbdir=opencubicplayer
|
2015-09-09 13:51:44 +00:00
|
|
|
pkgname=ocp-git
|
2022-09-23 15:37:22 +00:00
|
|
|
pkgver=0.2.99.r43.1f55a2e
|
2019-11-27 11:20:55 +00:00
|
|
|
pkgrel=1
|
2015-09-09 13:56:18 +00:00
|
|
|
pkgdesc="Open Cubic Player (GIT Version)"
|
2015-09-09 13:51:44 +00:00
|
|
|
arch=('i686' 'x86_64')
|
2022-09-23 15:37:22 +00:00
|
|
|
url="https://stian.cubic.org/project-ocp.php"
|
2015-09-09 13:51:44 +00:00
|
|
|
license=('GPL')
|
2022-09-23 15:37:22 +00:00
|
|
|
|
|
|
|
depends=('libxxf86vm'
|
|
|
|
'libxpm'
|
|
|
|
'alsa-lib'
|
|
|
|
'sdl2'
|
|
|
|
'flac'
|
|
|
|
'libvorbis'
|
|
|
|
'libmad'
|
|
|
|
'libjpeg-turbo'
|
|
|
|
'libpng'
|
|
|
|
'freetype2'
|
|
|
|
'ttf-unifont'
|
|
|
|
'libdiscid'
|
|
|
|
'cjson')
|
|
|
|
|
2020-02-27 14:22:17 +00:00
|
|
|
makedepends=('git'
|
2022-09-23 15:37:22 +00:00
|
|
|
'xa'
|
|
|
|
'desktop-file-utils')
|
2020-04-19 12:54:12 +00:00
|
|
|
|
2022-09-23 15:37:22 +00:00
|
|
|
source=("git+https://github.com/mywave82/opencubicplayer.git")
|
|
|
|
md5sums=('SKIP')
|
2015-09-09 13:51:44 +00:00
|
|
|
|
|
|
|
pkgver() {
|
2022-09-23 15:37:22 +00:00
|
|
|
cd $_pkgbdir
|
|
|
|
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $_pkgbdir
|
|
|
|
git submodule init
|
|
|
|
git submodule update --init --recursive
|
2015-09-09 13:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2022-09-23 15:37:22 +00:00
|
|
|
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"
|
2015-09-09 13:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-09-23 15:37:22 +00:00
|
|
|
cd $_pkgbdir
|
|
|
|
make DESTDIR="$pkgdir" install
|
2015-09-09 13:51:44 +00:00
|
|
|
}
|