diff options
author | Antoine Lubineau | 2012-02-26 19:27:40 +0100 |
---|---|---|
committer | Antoine Lubineau | 2012-02-26 19:27:40 +0100 |
commit | 1fe54070334f8b3fb9dcfa67cb6ec7f1db209357 (patch) | |
tree | 9f879667e23a793ef938dcd3f40be035503f9e40 | |
download | aur-1fe54070334f8b3fb9dcfa67cb6ec7f1db209357.tar.gz |
vlc-decklink: new package
-rw-r--r-- | .SRCINFO | 101 | ||||
-rw-r--r-- | .gitignore | 0 | ||||
-rw-r--r-- | PKGBUILD | 101 | ||||
-rw-r--r-- | access_smb_link_to_smbclient.patch | 15 | ||||
-rw-r--r-- | vlc.install | 18 |
5 files changed, 235 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..afaee7d489c3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,101 @@ +pkgbase = vlc-decklink + pkgdesc = A multi-platform MPEG, VCD/DVD, and DivX player (with decklink module) + pkgver = 2.0.0 + pkgrel = 8 + url = http://www.videolan.org/vlc/ + install = vlc.install + arch = i686 + arch = x86_64 + license = LGPL2.1 + license = GPL2 + makedepends = live-media + makedepends = libnotify + makedepends = libbluray + makedepends = flac + makedepends = kdelibs + makedepends = fluidsynth + makedepends = libdc1394 + makedepends = libavc1394 + makedepends = lirc-utils + makedepends = libcaca + makedepends = librsvg + makedepends = portaudio + makedepends = oss + makedepends = libgme + makedepends = xosd + makedepends = projectm + makedepends = twolame + makedepends = aalib + makedepends = libmtp + makedepends = libdvdcss + makedepends = gnome-vfs + makedepends = libgoom2 + makedepends = libtar + makedepends = vcdimager + makedepends = decklink-sdk + depends = a52dec + depends = libdvbpsi + depends = libxpm + depends = libdca + depends = qt + depends = libproxy + depends = sdl_image + depends = libdvdnav + depends = libtiger + depends = lua + depends = libmatroska + depends = zvbi + depends = taglib + depends = libmpcdec + depends = ffmpeg + depends = faad2 + depends = libupnp + depends = libshout + depends = libmad + depends = libmpeg2 + depends = libmodplug + depends = libass + depends = xcb-util-keysyms + depends = ttf-freefont + optdepends = avahi: for service discovery using bonjour protocol + optdepends = libnotify: for notification plugin + optdepends = ncurses: for ncurses interface support + optdepends = libdvdcss: for decoding encrypted DVDs + optdepends = lirc-utils: for lirc plugin + optdepends = libavc1394: for devices using the 1394ta AV/C + optdepends = libdc1394: for IEEE 1394 plugin + optdepends = kdelibs: KDE Solid hardware integration + optdepends = vdpau-video: vdpau back-end for nvidia + optdepends = libva-driver-intel: back-end for intel cards + optdepends = libbluray: for Blu-Ray support + optdepends = flac: for Free Lossless Audio Codec plugin + optdepends = oss: for OSS audio support + optdepends = portaudio: for portaudio support + optdepends = twolame: for TwoLAME mpeg2 encoder plugin + optdepends = projectm: for ProjectM visualisation plugin + optdepends = libcaca: for colored ASCII art video output + optdepends = libgme: for libgme plugin + optdepends = librsvg: for SVG plugin + optdepends = gnome-vfs: for GNOME Virtual File System support + optdepends = libgoom2: for libgoom plugin + optdepends = vcdimager: navigate VCD with libvcdinfo + optdepends = xosd: for xosd support + optdepends = aalib: for ASCII art plugin + optdepends = libmtp: for MTP devices support + optdepends = fluidsynth: for synthesizer MIDI FluidSynth + optdepends = smbclient: for SMB access plugin + provides = vlc + conflicts = vlc-plugin + conflicts = vlc + replaces = vlc-plugin + options = !libtool + options = !emptydirs + backup = usr/share/vlc/lua/http/.hosts + backup = usr/share/vlc/lua/http/dialogs/.hosts + source = http://download.videolan.org/pub/videolan/vlc/2.0.0/vlc-2.0.0.tar.xz + source = access_smb_link_to_smbclient.patch + md5sums = 8806bff2ea9c76791123d444a92f708c + md5sums = 5f510fdea99cdb7941423eb40045968a + +pkgname = vlc-decklink + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/.gitignore diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d94ad7e77157 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,101 @@ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> +# Contributor: Martin Sandsmark <martin.sandsmark@kde.org> + +_pkgname=vlc +pkgname=vlc-decklink +pkgver=2.0.0 +pkgrel=8 +pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player (with decklink module)" +arch=('i686' 'x86_64') +url="http://www.videolan.org/vlc/" +license=('LGPL2.1' 'GPL2') +depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'qt' 'libproxy' + 'sdl_image' 'libdvdnav' 'libtiger' 'lua' 'libmatroska' + 'zvbi' 'taglib' 'libmpcdec' 'ffmpeg' 'faad2' 'libupnp' + 'libshout' 'libmad' 'libmpeg2' 'libmodplug' 'libass' + 'xcb-util-keysyms' 'ttf-freefont') +makedepends=('live-media' 'libnotify' 'libbluray' 'flac' 'kdelibs' + 'fluidsynth' 'libdc1394' 'libavc1394' 'lirc-utils' + 'libcaca' 'librsvg' 'portaudio' 'oss' 'libgme' 'xosd' + 'projectm' 'twolame' 'aalib' 'libmtp' 'libdvdcss' + 'gnome-vfs' 'libgoom2' 'libtar' 'vcdimager' + 'decklink-sdk') +optdepends=('avahi: for service discovery using bonjour protocol' + 'libnotify: for notification plugin' + 'ncurses: for ncurses interface support' + 'libdvdcss: for decoding encrypted DVDs' + 'lirc-utils: for lirc plugin' + 'libavc1394: for devices using the 1394ta AV/C' + 'libdc1394: for IEEE 1394 plugin' + 'kdelibs: KDE Solid hardware integration' + 'vdpau-video: vdpau back-end for nvidia' + 'libva-driver-intel: back-end for intel cards' + 'libbluray: for Blu-Ray support' + 'flac: for Free Lossless Audio Codec plugin' + 'oss: for OSS audio support' + 'portaudio: for portaudio support' + 'twolame: for TwoLAME mpeg2 encoder plugin' + 'projectm: for ProjectM visualisation plugin' + 'libcaca: for colored ASCII art video output' + 'libgme: for libgme plugin' + 'librsvg: for SVG plugin' + 'gnome-vfs: for GNOME Virtual File System support' + 'libgoom2: for libgoom plugin' + 'vcdimager: navigate VCD with libvcdinfo' + 'xosd: for xosd support' + 'aalib: for ASCII art plugin' + 'libmtp: for MTP devices support' + 'fluidsynth: for synthesizer MIDI FluidSynth' + 'smbclient: for SMB access plugin') +conflicts=('vlc-plugin' 'vlc') +provides=('vlc') +replaces=('vlc-plugin') +backup=('usr/share/vlc/lua/http/.hosts' + 'usr/share/vlc/lua/http/dialogs/.hosts') +options=('!libtool' '!emptydirs') +install=vlc.install +source=("http://download.videolan.org/pub/videolan/${_pkgname}/${pkgver}/${_pkgname}-${pkgver}.tar.xz" + 'access_smb_link_to_smbclient.patch') +md5sums=('8806bff2ea9c76791123d444a92f708c' + '5f510fdea99cdb7941423eb40045968a') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + # dirty hack because of VLC's configure + [ -d decklink-sdk ] || mkdir decklink-sdk + ln -sf /usr/src/decklink-sdk decklink-sdk/include + + sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c + + patch -Np1 -i "${srcdir}/access_smb_link_to_smbclient.patch" + autoreconf -fi + + ./configure --prefix=/usr \ + --disable-rpath \ + --enable-oss \ + --enable-faad \ + --enable-nls \ + --enable-lirc \ + --enable-pvr \ + --enable-ncurses \ + --enable-realrtsp \ + --enable-xosd \ + --enable-aa \ + --enable-vcdx \ + --enable-decklink \ + --with-decklink-sdk="${srcdir}/${_pkgname}-${pkgver}/decklink-sdk" + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + for res in 16 32 48 128; do + install -D -m644 "${srcdir}/vlc-${pkgver}/share/icons/${res}x${res}/vlc.png" \ + "${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png" + done +} diff --git a/access_smb_link_to_smbclient.patch b/access_smb_link_to_smbclient.patch new file mode 100644 index 000000000000..3891108d4dfa --- /dev/null +++ b/access_smb_link_to_smbclient.patch @@ -0,0 +1,15 @@ +X-Git-Url: http://git.videolan.org/?p=vlc.git;a=blobdiff_plain;f=modules%2Faccess%2FModules.am;h=be8c47b8fee03e5f4fc42c61b8e13f2d6ad587df;hp=81d8e78edc214026ceff3b17996b7bdbc47b3c26;hb=718b1f9901e5077b50c2189604afba883ca87bf7;hpb=84a1a3461adf901ff134a09eb4341cc301fdc6dd + +diff --git a/modules/access/Modules.am b/modules/access/Modules.am +index 81d8e78..be8c47b 100644 +--- a/modules/access/Modules.am ++++ b/modules/access/Modules.am +@@ -36,7 +36,7 @@ libsdp_plugin_la_DEPENDENCIES = + + libaccess_smb_plugin_la_SOURCES = smb.c + libaccess_smb_plugin_la_CFLAGS = $(AM_CFLAGS) +-libaccess_smb_plugin_la_LIBADD = $(AM_LIBADD) ++libaccess_smb_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_access_smb) + if HAVE_WIN32 + libaccess_smb_plugin_la_LIBADD += -lmpr + endif diff --git a/vlc.install b/vlc.install new file mode 100644 index 000000000000..dc4961caee92 --- /dev/null +++ b/vlc.install @@ -0,0 +1,18 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +pre_remove() { + rm -f usr/lib/vlc/plugins/plugins-*.dat +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} |