mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
I got a failure when building xbmc, saying that "external ffmpeg does not support vdpau". Going through the vdpau build logs, it seems that vdpau was not installed prior to the ffmpeg build, and ffmpeg silently installed without it.
47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
################################################################################
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
#
|
|
# This Program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
# any later version.
|
|
#
|
|
# This Program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
# http://www.gnu.org/copyleft/gpl.html
|
|
################################################################################
|
|
|
|
PKG_NAME="ffmpeg"
|
|
PKG_VERSION="0.10.6"
|
|
PKG_REV="1"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="LGPL"
|
|
PKG_SITE="http://ffmpeg.org"
|
|
PKG_URL="http://ffmpeg.org/releases/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
|
PKG_DEPENDS="yasm zlib bzip2 libvorbis"
|
|
PKG_BUILD_DEPENDS="toolchain yasm zlib bzip2 libvorbis"
|
|
PKG_PRIORITY="optional"
|
|
PKG_SECTION="multimedia"
|
|
PKG_SHORTDESC="FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video."
|
|
PKG_LONGDESC="FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video."
|
|
|
|
PKG_IS_ADDON="no"
|
|
PKG_AUTORECONF="no"
|
|
|
|
if [ "$VAAPI" = yes ]; then
|
|
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libva"
|
|
PKG_DEPENDS="$PKG_DEPENDS libva"
|
|
fi
|
|
|
|
if [ "$VDPAU" = yes ]; then
|
|
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libvdpau"
|
|
PKG_DEPENDS="$PKG_DEPENDS libvdpau"
|
|
fi
|