Template
1
0
Fork 0
mirror of https://aur.archlinux.org/ocp-git.git synced 2025-05-09 19:44:28 -04: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:
Ossi Saukko 2017-07-02 08:41:25 +03:00
parent db79176646
commit ea36c745bb
2 changed files with 4 additions and 7 deletions

View file

@ -2,15 +2,14 @@
_name=ocp
pkgname=ocp-git
pkgver=0.1.22.r94.835bf80
pkgrel=1
pkgrel=2
pkgdesc="Open Cubic Player (GIT Version)"
arch=('i686' 'x86_64')
url="http://stian.cubic.org/project-ocp.php"
license=('GPL')
depends=('hicolor-icon-theme'
'libxpm'
'libxxf86vm'
'timidity++')
'libxxf86vm')
optdepends=('adplug: for OPL formats support'
'alsa-lib: for ALSA output'
'flac: for FLAC audio support'
@ -35,6 +34,7 @@ build() {
cd "${srcdir}/${_name}"
git submodule init
git submodule update
sed -i.orig 's/\*|4\.\*|5\.\*|6\.\*/&|7.*/' configure
./configure --prefix=/usr --sysconfdir=/etc --with-timidity-default-path=/etc/timidity++/
make
}