mirror of
https://aur.archlinux.org/ocp-git.git
synced 2024-11-22 04:06:29 +00:00
GCC 7.* fix and timidy++ dependency removed
Using sed to add GCC version 7.* into supported version check. Also removed timidy++ dependency as timidy source files are downloaded and compiled into ocp binaries.
This commit is contained in:
parent
db79176646
commit
ea36c745bb
2 changed files with 4 additions and 7 deletions
5
.SRCINFO
5
.SRCINFO
|
@ -1,9 +1,7 @@
|
||||||
# Generated by mksrcinfo v8
|
|
||||||
# Fri May 13 14:50:38 UTC 2016
|
|
||||||
pkgbase = ocp-git
|
pkgbase = ocp-git
|
||||||
pkgdesc = Open Cubic Player (GIT Version)
|
pkgdesc = Open Cubic Player (GIT Version)
|
||||||
pkgver = 0.1.22.r94.835bf80
|
pkgver = 0.1.22.r94.835bf80
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://stian.cubic.org/project-ocp.php
|
url = http://stian.cubic.org/project-ocp.php
|
||||||
install = ocp-git.install
|
install = ocp-git.install
|
||||||
arch = i686
|
arch = i686
|
||||||
|
@ -13,7 +11,6 @@ pkgbase = ocp-git
|
||||||
depends = hicolor-icon-theme
|
depends = hicolor-icon-theme
|
||||||
depends = libxpm
|
depends = libxpm
|
||||||
depends = libxxf86vm
|
depends = libxxf86vm
|
||||||
depends = timidity++
|
|
||||||
optdepends = adplug: for OPL formats support
|
optdepends = adplug: for OPL formats support
|
||||||
optdepends = alsa-lib: for ALSA output
|
optdepends = alsa-lib: for ALSA output
|
||||||
optdepends = flac: for FLAC audio support
|
optdepends = flac: for FLAC audio support
|
||||||
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -2,15 +2,14 @@
|
||||||
_name=ocp
|
_name=ocp
|
||||||
pkgname=ocp-git
|
pkgname=ocp-git
|
||||||
pkgver=0.1.22.r94.835bf80
|
pkgver=0.1.22.r94.835bf80
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Open Cubic Player (GIT Version)"
|
pkgdesc="Open Cubic Player (GIT Version)"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://stian.cubic.org/project-ocp.php"
|
url="http://stian.cubic.org/project-ocp.php"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('hicolor-icon-theme'
|
depends=('hicolor-icon-theme'
|
||||||
'libxpm'
|
'libxpm'
|
||||||
'libxxf86vm'
|
'libxxf86vm')
|
||||||
'timidity++')
|
|
||||||
optdepends=('adplug: for OPL formats support'
|
optdepends=('adplug: for OPL formats support'
|
||||||
'alsa-lib: for ALSA output'
|
'alsa-lib: for ALSA output'
|
||||||
'flac: for FLAC audio support'
|
'flac: for FLAC audio support'
|
||||||
|
@ -35,6 +34,7 @@ build() {
|
||||||
cd "${srcdir}/${_name}"
|
cd "${srcdir}/${_name}"
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
|
sed -i.orig 's/\*|4\.\*|5\.\*|6\.\*/&|7.*/' configure
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --with-timidity-default-path=/etc/timidity++/
|
./configure --prefix=/usr --sysconfdir=/etc --with-timidity-default-path=/etc/timidity++/
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue