1
0
Fork 0
mirror of https://aur.archlinux.org/ocp.git synced 2024-11-24 21:26:29 +00:00

Update to 0.2.106

- Removed warning message during build preparation to inform of the
  introduction of meta packages
- Removed deprecated build option
- Checking out commit 24ae3d0 to rectify build problems
  for ocp-curses with 0.2.106
This commit is contained in:
Xavier Moffett 2023-07-31 03:10:52 -04:00
parent 94e69d3722
commit 86a89c046e
2 changed files with 8 additions and 14 deletions

View file

@ -1,6 +1,6 @@
pkgbase = ocp pkgbase = ocp
pkgdesc = Open Cubic Player pkgdesc = Open Cubic Player
pkgver = 0.2.105 pkgver = 0.2.106
pkgrel = 1 pkgrel = 1
url = https://stian.cubic.org/project-ocp.php url = https://stian.cubic.org/project-ocp.php
arch = i686 arch = i686
@ -24,7 +24,7 @@ pkgbase = ocp
optdepends = libvorbis: Vorbis codec support optdepends = libvorbis: Vorbis codec support
optdepends = libmad: MPEG codec support optdepends = libmad: MPEG codec support
optdepends = flac: FLAC codec support optdepends = flac: FLAC codec support
source = ocp::git+https://github.com/mywave82/opencubicplayer.git#tag=v0.2.105 source = ocp::git+https://github.com/mywave82/opencubicplayer.git#tag=v0.2.106
sha256sums = SKIP sha256sums = SKIP
pkgname = ocp pkgname = ocp
@ -35,8 +35,8 @@ pkgname = ocp
depends = zlib depends = zlib
depends = libancient depends = libancient
depends = libdiscid depends = libdiscid
provides = ocp=0.2.105 provides = ocp=0.2.106
provides = ocp-curses=0.2.105 provides = ocp-curses=0.2.106
conflicts = ocp-curses conflicts = ocp-curses
conflicts = ocp-sdl2 conflicts = ocp-sdl2
@ -56,8 +56,8 @@ pkgname = ocp-sdl2
depends = libjpeg-turbo depends = libjpeg-turbo
depends = libpng depends = libpng
depends = ttf-unifont depends = ttf-unifont
provides = ocp=0.2.105 provides = ocp=0.2.106
provides = ocp-sdl2=0.2.105 provides = ocp-sdl2=0.2.106
conflicts = ocp conflicts = ocp
conflicts = ocp-sdl2 conflicts = ocp-sdl2
conflicts = ocp-curses conflicts = ocp-curses

View file

@ -3,7 +3,7 @@
_pkgbase=ocp _pkgbase=ocp
pkgname=('ocp' 'ocp-sdl2') pkgname=('ocp' 'ocp-sdl2')
pkgver=0.2.105 pkgver=0.2.106
pkgrel=1 pkgrel=1
pkgdesc="Open Cubic Player" pkgdesc="Open Cubic Player"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -34,12 +34,8 @@ makedepends=('alsa-lib'
'libvorbis') 'libvorbis')
prepare() { 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."
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 meta package.\033[0m"
echo "Thanks for flying ocp in the AUR! :)"
cd $_pkgbase cd $_pkgbase
git checkout 24ae3d0 -q # Fixes build problem without X11&SDL for ocp-curses
git submodule init git submodule init
git submodule update --init --recursive git submodule update --init --recursive
} }
@ -49,7 +45,6 @@ build() {
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core cross_compiling=yes\ ./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core cross_compiling=yes\
--without-update-desktop-database\ --without-update-desktop-database\
--without-update-mime-database\ --without-update-mime-database\
--with-unifontdir=/usr/share/fonts/Unifont\
--with-unifont-ttf=/usr/share/fonts/Unifont/Unifont.ttf\ --with-unifont-ttf=/usr/share/fonts/Unifont/Unifont.ttf\
--with-unifont-csur-ttf=/usr/share/fonts/Unifont/Unifont_CSUR.ttf\ --with-unifont-csur-ttf=/usr/share/fonts/Unifont/Unifont_CSUR.ttf\
--with-unifont-upper-ttf=/usr/share/fonts/Unifont/Unifont_Upper.ttf --with-unifont-upper-ttf=/usr/share/fonts/Unifont/Unifont_Upper.ttf
@ -80,7 +75,6 @@ package_ocp-sdl2() {
--without-sdl --without-x11\ --without-sdl --without-x11\
--without-update-desktop-database\ --without-update-desktop-database\
--without-update-mime-database\ --without-update-mime-database\
--with-unifontdir=/usr/share/fonts/Unifont\
--with-unifont-ttf=/usr/share/fonts/Unifont/Unifont.ttf\ --with-unifont-ttf=/usr/share/fonts/Unifont/Unifont.ttf\
--with-unifont-csur-ttf=/usr/share/fonts/Unifont/Unifont_CSUR.ttf\ --with-unifont-csur-ttf=/usr/share/fonts/Unifont/Unifont_CSUR.ttf\
--with-unifont-upper-ttf=/usr/share/fonts/Unifont/Unifont_Upper.ttf --with-unifont-upper-ttf=/usr/share/fonts/Unifont/Unifont_Upper.ttf