summaryrefslogtreecommitdiff
path: root/extra/vlc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-23 23:15:11 +0000
committerroot <root@rshg054.dnsready.net>2012-02-23 23:15:11 +0000
commitd466ef49f224a9347fe0375eac8126725e10a0a4 (patch)
treec08a9d7437c4d6de169858ac98fb340fd90202c2 /extra/vlc
parent1d9fb21dff6df1679e536ab672edcbbdb4cf3a15 (diff)
Thu Feb 23 23:15:11 UTC 2012
Diffstat (limited to 'extra/vlc')
-rw-r--r--extra/vlc/PKGBUILD13
-rw-r--r--extra/vlc/access_smb_link_to_smbclient.patch15
2 files changed, 24 insertions, 4 deletions
diff --git a/extra/vlc/PKGBUILD b/extra/vlc/PKGBUILD
index fddc6c18e..577d754c6 100644
--- a/extra/vlc/PKGBUILD
+++ b/extra/vlc/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 150664 2012-02-19 17:21:32Z giovanni $
+# $Id: PKGBUILD 150788 2012-02-22 11:22:08Z ibiru $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Contributor: Martin Sandsmark <martin.sandsmark@kde.org>
pkgname=vlc
pkgver=2.0.0
-pkgrel=3
+pkgrel=4
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
arch=('i686' 'x86_64')
url="http://www.videolan.org/vlc/"
@@ -39,14 +39,19 @@ backup=('usr/share/vlc/lua/http/.hosts'
'usr/share/vlc/lua/http/dialogs/.hosts')
options=('!libtool')
install=vlc.install
-source=("http://download.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('8806bff2ea9c76791123d444a92f708c')
+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}"
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-faad \
diff --git a/extra/vlc/access_smb_link_to_smbclient.patch b/extra/vlc/access_smb_link_to_smbclient.patch
new file mode 100644
index 000000000..3891108d4
--- /dev/null
+++ b/extra/vlc/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