2022-09-23 16:47:02 +00:00
|
|
|
# Maintainer: Xavier (sapphirus at azorium dot net)
|
2022-09-24 02:38:04 +00:00
|
|
|
# Original Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
|
2015-06-08 13:54:40 +00:00
|
|
|
|
2022-09-24 02:12:18 +00:00
|
|
|
_pkgbase=ocp
|
|
|
|
pkgname=${_pkgbase}
|
2023-02-05 23:56:14 +00:00
|
|
|
pkgver=0.2.102
|
2020-02-05 18:53:22 +00:00
|
|
|
pkgrel=1
|
2015-06-08 13:54:40 +00:00
|
|
|
pkgdesc="Open Cubic Player"
|
|
|
|
arch=('i686' 'x86_64')
|
2022-09-23 16:47:02 +00:00
|
|
|
url="https://stian.cubic.org/project-ocp.php"
|
2015-06-08 13:54:40 +00:00
|
|
|
license=('GPL')
|
2022-09-24 02:12:18 +00:00
|
|
|
install=${_pkgbase}.install
|
|
|
|
|
|
|
|
conflicts=(${_pkgbase}-git)
|
|
|
|
provides=(${_pkgbase}=${pkgver})
|
2022-09-23 16:47:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
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')
|
|
|
|
|
2022-09-24 02:12:18 +00:00
|
|
|
source=(${_pkgbase}::git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver})
|
2022-09-23 16:47:02 +00:00
|
|
|
md5sums=('SKIP')
|
2020-02-05 18:53:22 +00:00
|
|
|
|
|
|
|
prepare() {
|
2022-09-24 02:12:18 +00:00
|
|
|
cd $_pkgbase
|
2020-02-05 18:53:22 +00:00
|
|
|
git submodule init
|
2022-09-23 16:47:02 +00:00
|
|
|
git submodule update --init --recursive
|
2020-02-05 18:53:22 +00:00
|
|
|
}
|
2015-06-08 13:54:40 +00:00
|
|
|
|
|
|
|
build() {
|
2022-09-24 02:12:18 +00:00
|
|
|
cd $_pkgbase
|
2022-09-23 16:47:02 +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
|
2021-06-24 07:28:59 +00:00
|
|
|
make DESTDIR="$pkgdir"
|
2015-06-08 13:54:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-09-24 02:12:18 +00:00
|
|
|
cd $_pkgbase
|
2021-06-24 07:28:59 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
2015-06-08 13:54:40 +00:00
|
|
|
}
|