mirror of
https://aur.archlinux.org/ocp.git
synced 2024-11-22 04:16:28 +00:00
Bump to 0.2.103, and introduction of meta packages
This commit is contained in:
parent
6b083f1206
commit
dfb014a1ad
2 changed files with 124 additions and 57 deletions
68
.SRCINFO
68
.SRCINFO
|
@ -1,34 +1,54 @@
|
||||||
pkgbase = ocp
|
pkgbase = ocp
|
||||||
pkgdesc = Open Cubic Player
|
pkgdesc = Open Cubic Player (GIT Version)
|
||||||
pkgver = 0.2.102
|
pkgver = 0.2.103
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://stian.cubic.org/project-ocp.php
|
url = https://stian.cubic.org/project-ocp.php
|
||||||
install = ocp.install
|
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL
|
license = GPL
|
||||||
makedepends = git
|
makedepends = git
|
||||||
makedepends = xa
|
makedepends = xa
|
||||||
makedepends = desktop-file-utils
|
makedepends = desktop-file-utils
|
||||||
depends = hicolor-icon-theme
|
makedepends = alsa-lib
|
||||||
depends = libxxf86vm
|
makedepends = sdl2
|
||||||
depends = libxpm
|
makedepends = freetype2
|
||||||
depends = alsa-lib
|
makedepends = flac
|
||||||
depends = sdl2
|
makedepends = cjson
|
||||||
depends = flac
|
makedepends = libancient
|
||||||
depends = libvorbis
|
makedepends = libdiscid
|
||||||
depends = libmad
|
makedepends = libmad
|
||||||
depends = libjpeg-turbo
|
makedepends = libjpeg-turbo
|
||||||
depends = libpng
|
makedepends = libpng
|
||||||
depends = freetype2
|
makedepends = libvorbis
|
||||||
depends = ttf-unifont
|
makedepends = ttf-unifont
|
||||||
depends = libdiscid
|
optdepends = libvorbis: Vorbis codec support
|
||||||
depends = cjson
|
optdepends = libmad: MPEG codec support
|
||||||
depends = shared-mime-info
|
optdepends = flac: FLAC codec support
|
||||||
depends = libancient
|
source = ocp::git+https://github.com/mywave82/opencubicplayer.git#tag=v0.2.103
|
||||||
provides = ocp=0.2.102
|
sha256sums = SKIP
|
||||||
conflicts = ocp-git
|
|
||||||
source = ocp::git+https://github.com/mywave82/opencubicplayer.git#tag=v0.2.102
|
|
||||||
md5sums = SKIP
|
|
||||||
|
|
||||||
pkgname = ocp
|
pkgname = ocp
|
||||||
|
depends = alsa-lib
|
||||||
|
depends = cjson
|
||||||
|
depends = libancient
|
||||||
|
depends = libdiscid
|
||||||
|
provides = ocp=0.2.103
|
||||||
|
provides = ocp-curses=0.2.103
|
||||||
|
conflicts = ocp-curses
|
||||||
|
conflicts = ocp-sdl2
|
||||||
|
|
||||||
|
pkgname = ocp-sdl2
|
||||||
|
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.103
|
||||||
|
conflicts = ocp
|
||||||
|
conflicts = ocp-curses
|
||||||
|
|
111
PKGBUILD
111
PKGBUILD
|
@ -1,58 +1,105 @@
|
||||||
# Maintainer: Xavier (sapphirus at azorium dot net)
|
# Maintainer: Xavier (sapphirus at azorium dot net)
|
||||||
# Original Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
|
# Original Maintainer: Ossi Saukko <osaukko at gmail dot com>
|
||||||
|
|
||||||
_pkgbase=ocp
|
_pkgbase=ocp
|
||||||
pkgname=${_pkgbase}
|
pkgname=('ocp' 'ocp-sdl2')
|
||||||
pkgver=0.2.102
|
pkgver=0.2.103
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Open Cubic Player"
|
pkgdesc="Open Cubic Player (GIT Version)"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://stian.cubic.org/project-ocp.php"
|
url="https://stian.cubic.org/project-ocp.php"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
install=${_pkgbase}.install
|
|
||||||
|
|
||||||
conflicts=(${_pkgbase}-git)
|
optdepends=('libvorbis: Vorbis codec support'
|
||||||
provides=(${_pkgbase}=${pkgver})
|
'libmad: MPEG codec support'
|
||||||
|
'flac: FLAC codec support')
|
||||||
|
|
||||||
depends=('hicolor-icon-theme'
|
|
||||||
'libxxf86vm'
|
|
||||||
'libxpm'
|
|
||||||
'alsa-lib'
|
|
||||||
'sdl2'
|
|
||||||
'flac'
|
|
||||||
'libvorbis'
|
|
||||||
'libmad'
|
|
||||||
'libjpeg-turbo'
|
|
||||||
'libpng'
|
|
||||||
'freetype2'
|
|
||||||
'ttf-unifont'
|
|
||||||
'libdiscid'
|
|
||||||
'cjson'
|
|
||||||
'shared-mime-info'
|
|
||||||
'libancient')
|
|
||||||
|
|
||||||
makedepends=('git'
|
makedepends=('git'
|
||||||
'xa'
|
'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#tag=v${pkgver})
|
source=(${_pkgbase}::git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver})
|
||||||
md5sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd $_pkgbase
|
||||||
|
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
|
||||||
|
}
|
||||||
|
|
||||||
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 submodule init
|
git submodule init
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
git merge 006541750261fe6b0a06a1792170719cca09d548
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $_pkgbase
|
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
|
./configure --prefix=/usr --sysconfdir=/etc --with-builtin=core\
|
||||||
make DESTDIR="$pkgdir"
|
--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() {
|
||||||
|
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
|
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() {
|
||||||
|
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
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue