2022-09-23 15:37:22 +00:00
|
|
|
# Maintainer: Xavier (sapphirus at azorium dot net)
|
|
|
|
# Original Maintainer: Ossi Saukko <osaukko at gmail dot com>
|
|
|
|
|
2022-09-24 02:00:24 +00:00
|
|
|
_pkgbase=ocp
|
|
|
|
pkgname=${_pkgbase}-git
|
2023-01-12 11:03:50 +00:00
|
|
|
pkgver=0.2.101.r25.b40a9ab
|
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-24 02:00:24 +00:00
|
|
|
install=${_pkgbase}.install
|
|
|
|
|
|
|
|
conflicts=(${_pkgbase})
|
|
|
|
provides=(${_pkgbase}=${pkgver})
|
2022-09-23 15:37:22 +00:00
|
|
|
|
2022-09-23 16:29:59 +00:00
|
|
|
|
|
|
|
depends=('hicolor-icon-theme'
|
|
|
|
'libxxf86vm'
|
2022-09-23 15:37:22 +00:00
|
|
|
'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-24 02:00:24 +00:00
|
|
|
source=(${_pkgbase}::git+https://github.com/mywave82/opencubicplayer.git)
|
2022-09-23 15:37:22 +00:00
|
|
|
md5sums=('SKIP')
|
2015-09-09 13:51:44 +00:00
|
|
|
|
2022-09-24 02:00:24 +00:00
|
|
|
|
2015-09-09 13:51:44 +00:00
|
|
|
pkgver() {
|
2022-09-24 02:00:24 +00:00
|
|
|
cd $_pkgbase
|
2022-09-23 15:37:22 +00:00
|
|
|
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
2022-09-24 02:00:24 +00:00
|
|
|
cd $_pkgbase
|
2022-09-23 15:37:22 +00:00
|
|
|
git submodule init
|
|
|
|
git submodule update --init --recursive
|
2015-09-09 13:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2022-09-24 02:00:24 +00:00
|
|
|
cd $_pkgbase
|
2022-09-23 15:37:22 +00:00
|
|
|
./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-24 02:00:24 +00:00
|
|
|
cd $_pkgbase
|
2022-09-23 15:37:22 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
2015-09-09 13:51:44 +00:00
|
|
|
}
|