mirror of
https://aur.archlinux.org/ocp-git.git
synced 2024-11-21 20:06:27 +00:00
Bump to 0.2.102.r25.be056b7
This commit is contained in:
parent
a0050c07d6
commit
f7b5d876ce
2 changed files with 113 additions and 50 deletions
62
.SRCINFO
62
.SRCINFO
|
@ -1,34 +1,54 @@
|
|||
pkgbase = ocp-git
|
||||
pkgdesc = Open Cubic Player (GIT Version)
|
||||
pkgver = 0.2.102.r2.0065417
|
||||
pkgver = 0.2.102.r25.be056b7
|
||||
pkgrel = 1
|
||||
url = https://stian.cubic.org/project-ocp.php
|
||||
install = ocp.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = git
|
||||
makedepends = xa
|
||||
makedepends = desktop-file-utils
|
||||
depends = hicolor-icon-theme
|
||||
depends = libxxf86vm
|
||||
depends = libxpm
|
||||
depends = alsa-lib
|
||||
depends = sdl2
|
||||
depends = flac
|
||||
depends = libvorbis
|
||||
depends = libmad
|
||||
depends = libjpeg-turbo
|
||||
depends = libpng
|
||||
depends = shared-mime-info
|
||||
depends = freetype2
|
||||
depends = ttf-unifont
|
||||
depends = libdiscid
|
||||
depends = cjson
|
||||
depends = libancient
|
||||
provides = ocp=0.2.102.r2.0065417
|
||||
conflicts = ocp
|
||||
makedepends = alsa-lib
|
||||
makedepends = sdl2
|
||||
makedepends = freetype2
|
||||
makedepends = flac
|
||||
makedepends = cjson
|
||||
makedepends = libancient
|
||||
makedepends = libdiscid
|
||||
makedepends = libmad
|
||||
makedepends = libjpeg-turbo
|
||||
makedepends = libpng
|
||||
makedepends = libvorbis
|
||||
makedepends = ttf-unifont
|
||||
optdepends = libvorbis: Vorbis codec support
|
||||
optdepends = libmad: MPEG codec support
|
||||
optdepends = flac: FLAC codec support
|
||||
source = ocp::git+https://github.com/mywave82/opencubicplayer.git
|
||||
md5sums = SKIP
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = ocp-git
|
||||
depends = alsa-lib
|
||||
depends = cjson
|
||||
depends = libancient
|
||||
depends = libdiscid
|
||||
provides = ocp=0.2.102.r25.be056b7
|
||||
provides = ocp-curses=0.2.102.r25.be056b7
|
||||
conflicts = ocp-curses
|
||||
conflicts = ocp-sdl2
|
||||
|
||||
pkgname = ocp-sdl2-git
|
||||
install = ocp.install
|
||||
depends = alsa-lib
|
||||
depends = cjson
|
||||
depends = freetype2
|
||||
depends = hicolor-icon-theme
|
||||
depends = sdl2
|
||||
depends = shared-mime-info
|
||||
depends = libancient
|
||||
depends = libdiscid
|
||||
depends = libjpeg-turbo
|
||||
depends = libpng
|
||||
provides = ocp-sdl2=0.2.102.r25.be056b7
|
||||
conflicts = ocp
|
||||
conflicts = ocp-curses
|
||||
|
|
101
PKGBUILD
101
PKGBUILD
|
@ -2,43 +2,37 @@
|
|||
# Original Maintainer: Ossi Saukko <osaukko at gmail dot com>
|
||||
|
||||
_pkgbase=ocp
|
||||
pkgname=${_pkgbase}-git
|
||||
pkgver=0.2.102.r2.0065417
|
||||
pkgname=('ocp-git' 'ocp-sdl2-git')
|
||||
pkgver=0.2.102.r25.be056b7
|
||||
pkgrel=1
|
||||
pkgdesc="Open Cubic Player (GIT Version)"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://stian.cubic.org/project-ocp.php"
|
||||
license=('GPL')
|
||||
install=${_pkgbase}.install
|
||||
|
||||
conflicts=(${_pkgbase})
|
||||
provides=(${_pkgbase}=${pkgver})
|
||||
|
||||
|
||||
depends=('hicolor-icon-theme'
|
||||
'libxxf86vm'
|
||||
'libxpm'
|
||||
'alsa-lib'
|
||||
'sdl2'
|
||||
'flac'
|
||||
'libvorbis'
|
||||
'libmad'
|
||||
'libjpeg-turbo'
|
||||
'libpng'
|
||||
'shared-mime-info'
|
||||
'freetype2'
|
||||
'ttf-unifont'
|
||||
'libdiscid'
|
||||
'cjson'
|
||||
'libancient')
|
||||
optdepends=('libvorbis: Vorbis codec support'
|
||||
'libmad: MPEG codec support'
|
||||
'flac: FLAC codec support')
|
||||
|
||||
makedepends=('git'
|
||||
'xa'
|
||||
'desktop-file-utils')
|
||||
'desktop-file-utils'
|
||||
'alsa-lib'
|
||||
'sdl2'
|
||||
'freetype2'
|
||||
'flac'
|
||||
'cjson'
|
||||
'libancient'
|
||||
'libdiscid'
|
||||
'libmad'
|
||||
'libjpeg-turbo'
|
||||
'libpng'
|
||||
'libvorbis'
|
||||
'ttf-unifont')
|
||||
|
||||
|
||||
source=(${_pkgbase}::git+https://github.com/mywave82/opencubicplayer.git)
|
||||
md5sums=('SKIP')
|
||||
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $_pkgbase
|
||||
|
@ -46,6 +40,11 @@ pkgver() {
|
|||
}
|
||||
|
||||
prepare() {
|
||||
echo -e "\033[1;31m##!! NOTICE !!##\033[0m"
|
||||
echo -e "\033[0;33mStarting with ocp 0.2.103, the ocp-git package have been split into two meta packages."
|
||||
echo "Depending upon which features you use, no action will need to be taken."
|
||||
echo -e "X11/SDL2 functionality is now provided by the ocp-sdl2-git meta package.\033[0m"
|
||||
echo "Thanks for flying ocp-git in the AUR! :)"
|
||||
cd $_pkgbase
|
||||
git submodule init
|
||||
git submodule update --init --recursive
|
||||
|
@ -53,11 +52,55 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd $_pkgbase
|
||||
./configure --prefix=/usr --sysconfdir=/etc --without-update-desktop-database --without-update-mime-database --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"
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core\
|
||||
--without-update-desktop-database\
|
||||
--without-update-mime-database\
|
||||
--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 subdirs ocp ocp.hlp DESTDIR="$pkgdir"
|
||||
}
|
||||
|
||||
package() {
|
||||
package_ocp-sdl2-git() {
|
||||
provides=(${_pkgbase}-sdl2=${pkgver})
|
||||
conflicts=('ocp' 'ocp-curses')
|
||||
install=${_pkgbase}.install
|
||||
depends=('alsa-lib'
|
||||
'cjson'
|
||||
'freetype2'
|
||||
'hicolor-icon-theme'
|
||||
'sdl2'
|
||||
'shared-mime-info'
|
||||
'libancient'
|
||||
'libdiscid'
|
||||
'libjpeg-turbo'
|
||||
'libpng')
|
||||
cd $_pkgbase
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core\
|
||||
--without-update-desktop-database\
|
||||
--without-update-mime-database\
|
||||
--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" libocp.so
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
package_ocp-git() {
|
||||
provides=(${_pkgbase}=${pkgver}
|
||||
${_pkgbase}-curses=${pkgver})
|
||||
conflicts=('ocp-curses' 'ocp-sdl2')
|
||||
depends=('alsa-lib'
|
||||
'cjson'
|
||||
'libancient'
|
||||
'libdiscid')
|
||||
cd $_pkgbase
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core\
|
||||
--without-x11 --without-sdl2\
|
||||
--without-update-desktop-database\
|
||||
--without-update-mime-database
|
||||
make DESTDIR="$pkgdir" libocp.so
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue