mirror of
https://aur.archlinux.org/ocp.git
synced 2024-11-21 20:06:28 +00:00
Bump to release 5, ttf-unifont no longer required as make dependency
This commit is contained in:
parent
ed89d63eee
commit
9bf897c685
2 changed files with 15 additions and 19 deletions
5
.SRCINFO
5
.SRCINFO
|
@ -1,7 +1,7 @@
|
|||
pkgbase = ocp
|
||||
pkgdesc = Open Cubic Player
|
||||
pkgver = 0.2.103
|
||||
pkgrel = 4
|
||||
pkgrel = 5
|
||||
url = https://stian.cubic.org/project-ocp.php
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
|
@ -21,7 +21,6 @@ pkgbase = ocp
|
|||
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
|
||||
|
@ -57,6 +56,8 @@ pkgname = ocp-sdl2
|
|||
depends = libjpeg-turbo
|
||||
depends = libpng
|
||||
depends = ttf-unifont
|
||||
provides = ocp=0.2.103
|
||||
provides = ocp-sdl2=0.2.103
|
||||
conflicts = ocp
|
||||
conflicts = ocp-sdl2
|
||||
conflicts = ocp-curses
|
||||
|
|
21
PKGBUILD
21
PKGBUILD
|
@ -4,7 +4,7 @@
|
|||
_pkgbase=ocp
|
||||
pkgname=('ocp' 'ocp-sdl2')
|
||||
pkgver=0.2.103
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Open Cubic Player"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://stian.cubic.org/project-ocp.php"
|
||||
|
@ -28,17 +28,11 @@ makedepends=('alsa-lib'
|
|||
'libmad'
|
||||
'libjpeg-turbo'
|
||||
'libpng'
|
||||
'libvorbis'
|
||||
'ttf-unifont')
|
||||
'libvorbis')
|
||||
|
||||
source=(${_pkgbase}::git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver})
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $_pkgbase
|
||||
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
echo -e "\033[1;31m##!! NOTICE !!##\033[0m"
|
||||
echo -e "\033[0;33mStarting with ocp 0.2.103, the ocp package has been split into two meta packages."
|
||||
|
@ -52,7 +46,7 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd $_pkgbase
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core\
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core cross_compiling=yes\
|
||||
--without-update-desktop-database\
|
||||
--without-update-mime-database\
|
||||
--with-unifontdir=/usr/share/fonts/Unifont\
|
||||
|
@ -63,8 +57,9 @@ build() {
|
|||
}
|
||||
|
||||
package_ocp-sdl2() {
|
||||
provides=(${_pkgbase}-sdl2=${pkgver})
|
||||
conflicts=('ocp' 'ocp-curses')
|
||||
provides=(${_pkgbase}=${pkgver}
|
||||
${_pkgbase}-sdl2=${pkgver})
|
||||
conflicts=('ocp' 'ocp-sdl2' 'ocp-curses')
|
||||
install=${_pkgbase}.install
|
||||
depends=('alsa-lib'
|
||||
'bzip2'
|
||||
|
@ -81,7 +76,7 @@ package_ocp-sdl2() {
|
|||
'libpng'
|
||||
'ttf-unifont')
|
||||
cd $_pkgbase
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core\
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core cross_compiling=yes\
|
||||
--without-update-desktop-database\
|
||||
--without-update-mime-database\
|
||||
--with-unifontdir=/usr/share/fonts/Unifont\
|
||||
|
@ -104,7 +99,7 @@ package_ocp() {
|
|||
'libancient'
|
||||
'libdiscid')
|
||||
cd $_pkgbase
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core\
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core cross_compiling=yes\
|
||||
--without-x11 --without-sdl2\
|
||||
--without-update-desktop-database\
|
||||
--without-update-mime-database
|
||||
|
|
Loading…
Reference in a new issue