mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/mplayer to 35421-2
This commit is contained in:
parent
262f0c35f6
commit
db5cdfe5ad
2 changed files with 51 additions and 6 deletions
|
@ -10,20 +10,22 @@
|
|||
pkgbase=mplayer
|
||||
pkgname=('mplayer' 'mencoder')
|
||||
pkgver=35421
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('i686' 'x86_64')
|
||||
makedepends=('libxxf86dga' 'libxxf86vm' 'libmad' 'cdparanoia' 'libxinerama' 'sdl' 'lame' 'libtheora' 'xvidcore' 'libmng' 'libxss' 'libgl' 'smbclient'
|
||||
'aalib' 'jack' 'libcaca' 'x264' 'faac' 'faad2' 'lirc-utils' 'libxvmc' 'enca' 'libvdpau' 'opencore-amr' 'libdca' 'a52dec' 'schroedinger' 'libvpx'
|
||||
'libpulse' 'fribidi' 'unzip' 'mesa' 'live-media' 'yasm' 'git' 'fontconfig' 'mpg123' 'ladspa' 'libass' 'libbluray' 'libcdio' 'subversion')
|
||||
'libpulse' 'fribidi' 'unzip' 'mesa' 'live-media' 'yasm' 'git' 'fontconfig' 'mpg123' 'ladspa' 'libass' 'libbluray' 'libcdio-paranoia' 'subversion')
|
||||
license=('GPL')
|
||||
url="http://www.mplayerhq.hu/"
|
||||
options=(!emptydirs)
|
||||
source=(ftp://mirrors.kernel.org/archlinux/other/$pkgbase/$pkgbase-$pkgver.tar.xz mplayer.desktop)
|
||||
source=(ftp://mirrors.kernel.org/archlinux/other/$pkgbase/$pkgbase-$pkgver.tar.xz mplayer.desktop cdio-includes.patch)
|
||||
md5sums=('b5d8c24fc106b4ed58acda3b86c468fa'
|
||||
'c0d6ef795cf6de48e3b87ff7c23f0319')
|
||||
'c0d6ef795cf6de48e3b87ff7c23f0319'
|
||||
'7b5be7191aafbea64218dc4916343bbc')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgbase"
|
||||
patch -Np0 -i ../cdio-includes.patch
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--enable-armv5te \
|
||||
|
@ -54,7 +56,7 @@ package_mplayer() {
|
|||
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
|
||||
depends=('desktop-file-utils' 'ttf-dejavu' 'enca' 'libxss' 'a52dec' 'libvpx' 'lirc-utils' 'x264' 'libmng' 'libdca' 'aalib' 'lame' 'fontconfig' 'libgl'
|
||||
'libxinerama' 'libvdpau' 'libpulse' 'smbclient' 'xvidcore' 'opencore-amr' 'jack' 'cdparanoia' 'libmad' 'sdl' 'libtheora' 'libcaca' 'libxxf86dga' 'fribidi'
|
||||
'libjpeg' 'faac' 'faad2' 'libxvmc' 'schroedinger' 'mpg123' 'libass' 'libxxf86vm' 'libbluray' 'libcdio')
|
||||
'libjpeg' 'faac' 'faad2' 'libxvmc' 'schroedinger' 'mpg123' 'libass' 'libxxf86vm' 'libbluray' 'libcdio-paranoia')
|
||||
|
||||
cd "$srcdir/$pkgbase"
|
||||
|
||||
|
@ -71,7 +73,7 @@ package_mplayer() {
|
|||
package_mencoder() {
|
||||
pkgdesc="Free command line video decoding, encoding and filtering tool"
|
||||
depends=('enca' 'a52dec' 'libvpx' 'x264' 'libmng' 'libdca' 'bzip2' 'lame' 'alsa-lib' 'fontconfig' 'giflib' 'libpng' 'smbclient' 'xvidcore' 'opencore-amr' 'cdparanoia'
|
||||
'libmad' 'libtheora' 'fribidi' 'libjpeg' 'faac' 'faad2' 'schroedinger' 'mpg123' 'libass' 'libbluray' 'libcdio' 'libvorbis')
|
||||
'libmad' 'libtheora' 'fribidi' 'libjpeg' 'faac' 'faad2' 'schroedinger' 'mpg123' 'libass' 'libbluray' 'libcdio-paranoia' 'libvorbis')
|
||||
|
||||
cd "$srcdir/$pkgbase"
|
||||
make DESTDIR="$pkgdir" install-mencoder install-mencoder-man
|
||||
|
|
43
extra/mplayer/cdio-includes.patch
Normal file
43
extra/mplayer/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