mirror of
https://aur.archlinux.org/ocp.git
synced 2024-12-04 01:27:15 +00:00
0.2.90-1
This commit is contained in:
parent
7f3d64e2ef
commit
17d5377fb7
3 changed files with 56 additions and 23 deletions
13
.SRCINFO
13
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = ocp
|
pkgbase = ocp
|
||||||
pkgdesc = Open Cubic Player
|
pkgdesc = Open Cubic Player
|
||||||
pkgver = 0.2.2
|
pkgver = 0.2.90
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/mywave82/opencubicplayer
|
url = https://github.com/mywave82/opencubicplayer
|
||||||
arch = i686
|
arch = i686
|
||||||
|
@ -22,14 +22,17 @@ pkgbase = ocp
|
||||||
depends = libpng
|
depends = libpng
|
||||||
depends = freetype2
|
depends = freetype2
|
||||||
depends = ttf-unifont
|
depends = ttf-unifont
|
||||||
source = git+https://github.com/mywave82/opencubicplayer.git#tag=v0.2.2
|
source = git+https://github.com/mywave82/opencubicplayer.git#tag=v0.2.90
|
||||||
source = git+https://github.com/mywave82/timidity.git
|
source = git+https://github.com/mywave82/timidity.git
|
||||||
source = git+https://github.com/mywave82/sidplay-residfp-ocp
|
source = git+https://github.com/mywave82/sidplay-residfp-ocp.git
|
||||||
|
source = git+https://github.com/libsidplayfp/exsid-driver.git
|
||||||
|
source = git+https://github.com/mywave82/resid.git
|
||||||
source = fix-unifont.diff
|
source = fix-unifont.diff
|
||||||
md5sums = SKIP
|
md5sums = SKIP
|
||||||
md5sums = SKIP
|
md5sums = SKIP
|
||||||
md5sums = SKIP
|
md5sums = SKIP
|
||||||
md5sums = 98a6ab1b11da171b118e0cf7b0485e7c
|
md5sums = SKIP
|
||||||
|
md5sums = SKIP
|
||||||
|
md5sums = 9eb83ffbabec3f1dd66f66c9100a9c08
|
||||||
|
|
||||||
pkgname = ocp
|
pkgname = ocp
|
||||||
|
|
||||||
|
|
29
PKGBUILD
29
PKGBUILD
|
@ -2,7 +2,7 @@
|
||||||
# Original PKGBUILD by: berkus [berkus_at_madfire_dot_net]
|
# Original PKGBUILD by: berkus [berkus_at_madfire_dot_net]
|
||||||
|
|
||||||
pkgname=ocp
|
pkgname=ocp
|
||||||
pkgver=0.2.2
|
pkgver=0.2.90
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Open Cubic Player"
|
pkgdesc="Open Cubic Player"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
@ -12,30 +12,43 @@ makedepends=('desktop-file-utils' 'git' 'xa' 'patch')
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
source=(git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver}
|
source=(git+https://github.com/mywave82/opencubicplayer.git#tag=v${pkgver}
|
||||||
git+https://github.com/mywave82/timidity.git
|
git+https://github.com/mywave82/timidity.git
|
||||||
git+https://github.com/mywave82/sidplay-residfp-ocp
|
git+https://github.com/mywave82/sidplay-residfp-ocp.git
|
||||||
|
git+https://github.com/libsidplayfp/exsid-driver.git
|
||||||
|
git+https://github.com/mywave82/resid.git
|
||||||
fix-unifont.diff)
|
fix-unifont.diff)
|
||||||
md5sums=('SKIP'
|
md5sums=('SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'98a6ab1b11da171b118e0cf7b0485e7c')
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'9eb83ffbabec3f1dd66f66c9100a9c08')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd opencubicplayer
|
cd opencubicplayer
|
||||||
|
|
||||||
|
patch -p1 -i "$srcdir/fix-unifont.diff"
|
||||||
|
|
||||||
git submodule init
|
git submodule init
|
||||||
git config submodule.playgmi/timidity-git.url $srcdir/timidity
|
git config submodule.playgmi/timidity-git.url "$srcdir/timidity"
|
||||||
git config submodule.playsid/sidplayfp-git.url $srcdir/sidplay-residfp-ocp
|
git config submodule.playsid/sidplayfp-git.url "$srcdir/sidplay-residfp-ocp"
|
||||||
|
git submodule update
|
||||||
|
|
||||||
|
cd playsid/libsidplayfp-git
|
||||||
|
|
||||||
|
git submodule init
|
||||||
|
git config submodule.src/builders/exsid-builder/driver.url "$srcdir/exsid-driver"
|
||||||
|
git config submodule.src/builders/resid-builder/resid.url "$srcdir/resid"
|
||||||
git submodule update
|
git submodule update
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd opencubicplayer
|
cd opencubicplayer
|
||||||
|
|
||||||
patch -p1 -i $srcdir/fix-unifont.diff
|
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --with-unifontdir=/usr/share/fonts/Unifont
|
./configure --prefix=/usr --sysconfdir=/etc --with-unifontdir=/usr/share/fonts/Unifont
|
||||||
make DESTDIR=$pkgdir
|
make DESTDIR="$pkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd opencubicplayer
|
cd opencubicplayer
|
||||||
make DESTDIR=$pkgdir install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ Index: asdf/configure
|
||||||
===================================================================
|
===================================================================
|
||||||
--- asdf.orig/configure
|
--- asdf.orig/configure
|
||||||
+++ asdf/configure
|
+++ asdf/configure
|
||||||
@@ -9849,15 +9849,15 @@ fi
|
@@ -9916,15 +9916,15 @@ fi
|
||||||
prefix=$prefix_save
|
prefix=$prefix_save
|
||||||
exec_prefix=$exec_prefix_save
|
exec_prefix=$exec_prefix_save
|
||||||
|
|
||||||
|
@ -22,12 +22,12 @@ Index: asdf/configure
|
||||||
eval "$as_ac_File=yes"
|
eval "$as_ac_File=yes"
|
||||||
else
|
else
|
||||||
eval "$as_ac_File=no"
|
eval "$as_ac_File=no"
|
||||||
@@ -9869,18 +9869,18 @@ $as_echo "$ac_res" >&6; }
|
@@ -9936,18 +9936,18 @@ $as_echo "$ac_res" >&6; }
|
||||||
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
|
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
|
||||||
|
|
||||||
else
|
else
|
||||||
- as_fn_error $? "$UNIFONTDIR/unifont.ttf not found - please use --with-unifontdir=/path/ (needed by SDL2)" "$LINENO" 5
|
- as_fn_error $? "$UNIFONTDIR/unifont.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)" "$LINENO" 5
|
||||||
+ as_fn_error $? "$UNIFONTDIR/Unifont.ttf not found - please use --with-unifontdir=/path/ (needed by SDL2)" "$LINENO" 5
|
+ as_fn_error $? "$UNIFONTDIR/Unifont.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- as_ac_File=`$as_echo "ac_cv_file_$UNIFONTDIR/unifont_csur.ttf" | $as_tr_sh`
|
- as_ac_File=`$as_echo "ac_cv_file_$UNIFONTDIR/unifont_csur.ttf" | $as_tr_sh`
|
||||||
|
@ -46,12 +46,12 @@ Index: asdf/configure
|
||||||
eval "$as_ac_File=yes"
|
eval "$as_ac_File=yes"
|
||||||
else
|
else
|
||||||
eval "$as_ac_File=no"
|
eval "$as_ac_File=no"
|
||||||
@@ -9892,18 +9892,18 @@ $as_echo "$ac_res" >&6; }
|
@@ -9959,18 +9959,18 @@ $as_echo "$ac_res" >&6; }
|
||||||
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
|
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
|
||||||
|
|
||||||
else
|
else
|
||||||
- as_fn_error $? "$UNIFONTDIR/unifont_csur.ttf not found - please use --with-unifontdir=/path/ (needed by SDL2)" "$LINENO" 5
|
- as_fn_error $? "$UNIFONTDIR/unifont_csur.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)" "$LINENO" 5
|
||||||
+ as_fn_error $? "$UNIFONTDIR/Unifont_CSUR.ttf not found - please use --with-unifontdir=/path/ (needed by SDL2)" "$LINENO" 5
|
+ as_fn_error $? "$UNIFONTDIR/Unifont_CSUR.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- as_ac_File=`$as_echo "ac_cv_file_$UNIFONTDIR/unifont_upper.ttf" | $as_tr_sh`
|
- as_ac_File=`$as_echo "ac_cv_file_$UNIFONTDIR/unifont_upper.ttf" | $as_tr_sh`
|
||||||
|
@ -70,15 +70,32 @@ Index: asdf/configure
|
||||||
eval "$as_ac_File=yes"
|
eval "$as_ac_File=yes"
|
||||||
else
|
else
|
||||||
eval "$as_ac_File=no"
|
eval "$as_ac_File=no"
|
||||||
@@ -9915,7 +9915,7 @@ $as_echo "$ac_res" >&6; }
|
@@ -9982,7 +9982,7 @@ $as_echo "$ac_res" >&6; }
|
||||||
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
|
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
|
||||||
|
|
||||||
else
|
else
|
||||||
- as_fn_error $? "$UNIFONTDIR/unifont_upper.ttf not found - please use --with-unifontdir=/path/ (needed by SDL2)" "$LINENO" 5
|
- as_fn_error $? "$UNIFONTDIR/unifont_upper.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)" "$LINENO" 5
|
||||||
+ as_fn_error $? "$UNIFONTDIR/Unifont_Upper.ttf not found - please use --with-unifontdir=/path/ (needed by SDL2)" "$LINENO" 5
|
+ as_fn_error $? "$UNIFONTDIR/Unifont_Upper.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
Index: asdf/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- asdf.orig/configure.ac
|
||||||
|
+++ asdf/configure.ac
|
||||||
|
@@ -582,9 +582,9 @@ if test "x$HAVE_SDL" = "x1" || test "x$H
|
||||||
|
|
||||||
|
dnl locate the ttf-unifont
|
||||||
|
AS_AC_EXPAND(UNIFONTDIR, $with_unifontdir)
|
||||||
|
- AC_CHECK_FILE($UNIFONTDIR/unifont.ttf, , AC_MSG_ERROR([$UNIFONTDIR/unifont.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)]))
|
||||||
|
- AC_CHECK_FILE($UNIFONTDIR/unifont_csur.ttf, , AC_MSG_ERROR([$UNIFONTDIR/unifont_csur.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)]))
|
||||||
|
- AC_CHECK_FILE($UNIFONTDIR/unifont_upper.ttf, , AC_MSG_ERROR([$UNIFONTDIR/unifont_upper.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)]))
|
||||||
|
+ AC_CHECK_FILE($UNIFONTDIR/Unifont.ttf, , AC_MSG_ERROR([$UNIFONTDIR/Unifont.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)]))
|
||||||
|
+ AC_CHECK_FILE($UNIFONTDIR/Unifont_CSUR.ttf, , AC_MSG_ERROR([$UNIFONTDIR/Unifont_CSUR.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)]))
|
||||||
|
+ AC_CHECK_FILE($UNIFONTDIR/Unifont_Upper.ttf, , AC_MSG_ERROR([$UNIFONTDIR/Unifont_Upper.ttf not found - please use --with-unifontdir=/path/ (needed by X11, SDL1.x and SDL2)]))
|
||||||
|
AC_DEFINE_UNQUOTED(UNIFONTDIR, "$UNIFONTDIR")
|
||||||
|
fi
|
||||||
|
|
||||||
Index: asdf/stuff/poutput-fontengine.c
|
Index: asdf/stuff/poutput-fontengine.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- asdf.orig/stuff/poutput-fontengine.c
|
--- asdf.orig/stuff/poutput-fontengine.c
|
||||||
|
|
Loading…
Reference in a new issue