mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
community/mplayer-vaapi to 35107-4
This commit is contained in:
parent
86ea60d916
commit
39ffe67b59
2 changed files with 48 additions and 3 deletions
|
@ -8,14 +8,14 @@
|
||||||
|
|
||||||
pkgname=mplayer-vaapi
|
pkgname=mplayer-vaapi
|
||||||
pkgver=35107
|
pkgver=35107
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="A movie player, compiled with vaapi support"
|
pkgdesc="A movie player, compiled with vaapi support"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://gitorious.org/vaapi/mplayer"
|
url="http://gitorious.org/vaapi/mplayer"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('libxxf86dga' 'libxxf86vm' 'libmad' 'libcdio' 'libxinerama' 'sdl'
|
depends=('libxxf86dga' 'libxxf86vm' 'libmad' 'libcdio-paranoia' 'libxinerama' 'sdl'
|
||||||
'lame' 'fontconfig' 'libtheora' 'xvidcore' 'libmng' 'libxss' 'glu'
|
'lame' 'fontconfig' 'libtheora' 'xvidcore' 'libmng' 'libxss' 'glu'
|
||||||
'smbclient' 'aalib' 'jack' 'libcaca' 'x264' 'faac' 'faad2'
|
'sdl' 'smbclient' 'aalib' 'jack' 'libcaca' 'x264' 'faac' 'faad2'
|
||||||
'lirc-utils' 'ttf-dejavu' 'libxvmc' 'enca' 'opencore-amr' 'libdca'
|
'lirc-utils' 'ttf-dejavu' 'libxvmc' 'enca' 'opencore-amr' 'libdca'
|
||||||
'a52dec' 'schroedinger' 'mpg123' 'libvpx' 'libpulse' 'fribidi'
|
'a52dec' 'schroedinger' 'mpg123' 'libvpx' 'libpulse' 'fribidi'
|
||||||
'libbluray' 'libva' 'libass' 'desktop-file-utils')
|
'libbluray' 'libva' 'libass' 'desktop-file-utils')
|
||||||
|
@ -24,10 +24,12 @@ provides=("mplayer=$pkgver")
|
||||||
conflicts=('mplayer')
|
conflicts=('mplayer')
|
||||||
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
|
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
|
||||||
source=(http://pkgbuild.com/~foutrelis/mplayer-vaapi-$pkgver.tar.xz
|
source=(http://pkgbuild.com/~foutrelis/mplayer-vaapi-$pkgver.tar.xz
|
||||||
|
cdio-includes.patch
|
||||||
tweak-desktop-file.patch)
|
tweak-desktop-file.patch)
|
||||||
options=('!buildflags' '!emptydirs')
|
options=('!buildflags' '!emptydirs')
|
||||||
install=mplayer-vaapi.install
|
install=mplayer-vaapi.install
|
||||||
sha256sums=('a6c645625cc2cd6ca48764db302c926049f831e757857ece351b37b674e05e56'
|
sha256sums=('a6c645625cc2cd6ca48764db302c926049f831e757857ece351b37b674e05e56'
|
||||||
|
'72e6c654f9733953ad2466d0ea1a52f23e753791d8232d90f13293eb1b358720'
|
||||||
'5a09fb462729a4e573568f9e8c1f57dbe7f69c0b68cfa4f6d70b3e52c450d93b')
|
'5a09fb462729a4e573568f9e8c1f57dbe7f69c0b68cfa4f6d70b3e52c450d93b')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
43
community/mplayer-vaapi/cdio-includes.patch
Normal file
43
community/mplayer-vaapi/cdio-includes.patch
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
Index: configure
|
||||||
|
===================================================================
|
||||||
|
--- configure (revision 35421)
|
||||||
|
+++ configure (working copy)
|
||||||
|
@@ -5968,8 +5968,8 @@
|
||||||
|
cat > $TMPC << EOF
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <cdio/version.h>
|
||||||
|
-#include <cdio/cdda.h>
|
||||||
|
-#include <cdio/paranoia.h>
|
||||||
|
+#include <cdio/paranoia/cdda.h>
|
||||||
|
+#include <cdio/paranoia/paranoia.h>
|
||||||
|
int main(void) {
|
||||||
|
void *test = cdda_verbose_set;
|
||||||
|
printf("%s\n", CDIO_VERSION);
|
||||||
|
Index: gui/win32/interface.c
|
||||||
|
===================================================================
|
||||||
|
--- gui/win32/interface.c (revision 35421)
|
||||||
|
+++ gui/win32/interface.c (working copy)
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#if defined(CONFIG_LIBCDIO)
|
||||||
|
-#include <cdio/cdda.h>
|
||||||
|
+#include <cdio/paranoia/cdda.h>
|
||||||
|
#elif defined(CONFIG_CDDA)
|
||||||
|
#include <cdda_interface.h>
|
||||||
|
#endif
|
||||||
|
Index: stream/stream_cdda.c
|
||||||
|
===================================================================
|
||||||
|
--- stream/stream_cdda.c (revision 35421)
|
||||||
|
+++ stream/stream_cdda.c (working copy)
|
||||||
|
@@ -21,8 +21,8 @@
|
||||||
|
#include <cdda_interface.h>
|
||||||
|
#include <cdda_paranoia.h>
|
||||||
|
#else
|
||||||
|
-#include <cdio/cdda.h>
|
||||||
|
-#include <cdio/paranoia.h>
|
||||||
|
+#include <cdio/paranoia/cdda.h>
|
||||||
|
+#include <cdio/paranoia/paranoia.h>
|
||||||
|
#endif
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
Loading…
Reference in a new issue