2013-03-21 10:38:14 +08:00
|
|
|
# Maintainer: abveritas@chakra-project.org
|
2010-03-14 23:48:48 +08:00
|
|
|
|
2012-10-19 13:07:47 +08:00
|
|
|
pkgname=vlc
|
2013-04-09 19:22:17 +08:00
|
|
|
pkgver=2.0.6
|
|
|
|
pkgrel=1
|
2012-11-02 10:21:08 +08:00
|
|
|
arch=('x86_64')
|
2010-03-14 23:48:48 +08:00
|
|
|
url="http://www.videolan.org/vlc/"
|
2013-04-09 19:22:17 +08:00
|
|
|
pkgdesc=('A multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols')
|
2010-03-14 23:48:48 +08:00
|
|
|
license=('GPL')
|
2011-12-22 03:30:12 +08:00
|
|
|
depends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'libxpm' 'libcdio'
|
|
|
|
'libdca' 'qt' 'libproxy' 'sdl_image' 'libdvdnav' 'mesa'
|
|
|
|
'lua' 'v4l-utils' 'libcddb' 'smbclient' 'libmatroska' 'zvbi'
|
|
|
|
'taglib' 'sysfsutils' 'libmpcdec' 'ffmpeg' 'faad2' 'libupnp'
|
2012-10-19 13:07:47 +08:00
|
|
|
'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug' 'opus'
|
2012-02-26 00:52:55 +08:00
|
|
|
'ttf-freefont' 'libxv' 'libass' 'xdg-utils' 'desktop-file-utils' 'xcb-util-keysyms')
|
2012-02-20 04:40:22 +08:00
|
|
|
makedepends=('avahi' 'pkgconfig' 'live-media' 'libnotify' 'libbluray'
|
2012-11-02 10:21:08 +08:00
|
|
|
'flac' 'libtheora' 'alsa-lib' 'jack' 'kdelibs' 'systemd'
|
2012-10-19 13:07:47 +08:00
|
|
|
'libraw1394' 'libdc1394' 'libavc1394' 'libva' 'pulseaudio'
|
2012-11-07 00:52:56 +08:00
|
|
|
'lirc-utils' 'gnutls' 'libcaca' 'librsvg' 'oss')
|
2011-12-22 03:30:12 +08:00
|
|
|
optdepends=('avahi: for service discovery using bonjour protocol'
|
|
|
|
'libnotify: for notification plugin'
|
2012-11-17 12:46:32 +08:00
|
|
|
'ncurses: for ncurses interface support'
|
2011-12-22 03:30:12 +08:00
|
|
|
'libdvdcss: for decoding encrypted DVDs'
|
|
|
|
'lirc-utils: for lirc plugin'
|
|
|
|
'libavc1394: for devices using the 1394ta AV/C'
|
|
|
|
'libdc1394: for IEEE 1394 plugin'
|
2012-10-19 13:07:47 +08:00
|
|
|
'pulseaudio: PulseAudio support'
|
2011-12-22 03:30:12 +08:00
|
|
|
'vdpau-video: vdpau back-end for nvidia'
|
2012-02-20 04:40:22 +08:00
|
|
|
'libva-driver-intel: back-end for intel cards'
|
2012-11-07 00:52:56 +08:00
|
|
|
'libbluray: for Blu-Ray disks'
|
|
|
|
'oss: for oss sound support')
|
2011-12-22 03:30:12 +08:00
|
|
|
conflicts=('vlc-plugin')
|
|
|
|
replaces=('vlc-plugin')
|
|
|
|
backup=('usr/share/vlc/http/.hosts'
|
|
|
|
'usr/share/vlc/http/dialogs/.hosts'
|
|
|
|
'usr/share/vlc/lua/http/.hosts'
|
|
|
|
'usr/share/vlc/lua/http/dialogs/.hosts')
|
2012-03-06 22:42:55 +08:00
|
|
|
categories=('multimedia')
|
2010-09-11 06:01:28 +08:00
|
|
|
options=('!libtool')
|
2012-01-25 08:22:06 +08:00
|
|
|
install="vlc.install"
|
2012-12-13 12:19:31 +08:00
|
|
|
source=("http://download.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
|
2013-04-09 19:22:17 +08:00
|
|
|
sha1sums=('2ce21c949275702452bb1327febf6e98748a7972')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
2011-12-22 03:30:12 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2010-03-14 23:48:48 +08:00
|
|
|
|
2012-02-20 04:40:22 +08:00
|
|
|
sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c
|
2011-12-22 03:30:12 +08:00
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
./configure --prefix=/usr \
|
2012-11-02 10:21:08 +08:00
|
|
|
--sysconfdir=/etc \
|
2010-03-14 23:48:48 +08:00
|
|
|
--disable-rpath \
|
|
|
|
--enable-faad \
|
2012-11-07 00:52:56 +08:00
|
|
|
--enable-oss \
|
2010-03-14 23:48:48 +08:00
|
|
|
--enable-dbus-control \
|
|
|
|
--enable-nls \
|
|
|
|
--enable-lirc \
|
|
|
|
--enable-pvr \
|
2011-12-22 03:30:12 +08:00
|
|
|
--enable-upnp \
|
2012-02-20 04:40:22 +08:00
|
|
|
--enable-realrtsp \
|
2012-10-19 13:07:47 +08:00
|
|
|
--enable-bluray \
|
2012-11-17 12:46:32 +08:00
|
|
|
--enable-opus \
|
|
|
|
--enable-ncurses
|
2010-07-23 04:44:57 +08:00
|
|
|
make
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|
2012-01-25 08:22:06 +08:00
|
|
|
|
2011-12-22 03:30:12 +08:00
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2010-03-14 23:48:48 +08:00
|
|
|
|
2012-01-25 08:22:06 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-07-23 04:44:57 +08:00
|
|
|
|
|
|
|
for res in 16 32 48 128; do
|
2011-12-22 03:30:12 +08:00
|
|
|
install -D -m644 "${srcdir}/vlc-${pkgver}/share/icons/${res}x${res}/vlc.png" \
|
|
|
|
"${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png"
|
2010-07-23 04:44:57 +08:00
|
|
|
done
|
2012-11-07 00:52:56 +08:00
|
|
|
|
2010-12-12 19:24:58 +08:00
|
|
|
}
|
2012-01-25 08:22:06 +08:00
|
|
|
|