Code: Select all
make[5]: Entering directory `/home/phil/buildroot/platform-testing/vlc-dev/src/vlc-1.1.0-rc/modules/visualization'
CXX libprojectm_plugin_la-projectm.lo
CXXLD libprojectm_plugin.la
libtool: link: require no space between `-L' and `-lprojectM'
make[5]: *** [libprojectm_plugin.la] Error 1
make[5]: Leaving directory `/home/phil/buildroot/platform-testing/vlc-dev/src/vlc-1.1.0-rc/modules/visualization'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/phil/buildroot/platform-testing/vlc-dev/src/vlc-1.1.0-rc/modules/visualization'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/phil/buildroot/platform-testing/vlc-dev/src/vlc-1.1.0-rc/modules/visualization'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/phil/buildroot/platform-testing/vlc-dev/src/vlc-1.1.0-rc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/phil/buildroot/platform-testing/vlc-dev/src/vlc-1.1.0-rc'
make: *** [all] Error 2
==> ERROR: Build Failed.
and the one with same PKGBUILD as 1.0.6: http://pastebin.com/W0pEJPBK
I use gcc 4.5.0 btw. vlc 1.0.6 builds fine: http://pastebin.com/VtmU8k7S
Here are the flags:
Code: Select all
CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j3"
Code: Select all
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=vlc-dev
pkgver=1.1.0rc1
_dlver=1.1.0-rc
pkgrel=1
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player with VAAPI support"
arch=('i686' 'x86_64')
url="http://www.videolan.org/vlc/"
license=(GPL)
# NOTE: Here you choose whether or not to enable all the VAAPI stuff (GPU acceleration for video processing - which is faster).
# But with VLC this is still experimental (like this whole bleeding edge version of VLC). Thus, if for any reason you want to
# disable VAAPI, just set the value of the following variable to anything else than "1". You can also comment the variable itself,
# modify it or just remove it completely. We call this the 'Freedom of choice' down here.
_vaapi=1
makedepends=('libnotify' 'libxpm' 'lirc-utils' 'live-media' 'xulrunner')
optdepends=('libdvdcss: for decoding encrypted DVDs'
'libnotify: for notification plugin'
'lirc-utils: for lirc plugin')
if [ "$_vaapi" == "1" ]; then
depends=('a52dec' 'avahi' 'ffmpeg' 'fribidi' 'fluidsynth' 'libass' 'libcddb'
'libcdio' 'libdca' 'libdvbpsi' 'libdvdnav' 'libmad' 'libmatroska'
'libmodplug' 'libmpcdec' 'libmpeg2' 'libmtp' 'libproxy' 'libshout'
'libv4l' 'libva-sds' 'libxv' 'lua' 'mesa' 'qt' 'sdl_image' 'smbclient'
'sysfsutils' 'taglib' 'ttf-freefont' 'vdpau-video' 'xdg-utils' 'zvbi')
else # 'libva-sds' and 'vdpau-video' won't be installed, if "_vaapi" variable not set as "1"
depends=('a52dec' 'avahi' 'ffmpeg' 'fribidi' 'fluidsynth' 'libass' 'libcddb'
'libcdio' 'libdca' 'libdvbpsi' 'libdvdnav' 'libmad' 'libmatroska'
'libmodplug' 'libmpcdec' 'libmpeg2' 'libmtp' 'libproxy' 'libshout'
'libv4l' 'libxv' 'lua' 'mesa' 'qt' 'sdl_image' 'smbclient' 'sysfsutils'
'taglib' 'ttf-freefont' 'xdg-utils' 'zvbi')
fi
replaces=('vlc')
conflicts=('vlc')
provides=('vlc')
options=(!libtool)
install=vlc.install
source=(http://downloads.videolan.org/pub/videolan/testing/vlc-${_dlver}/vlc-${_dlver}.tar.bz2)
md5sums=('4983cbcaf206392c8fa7df6608fdf1ef')
build() {
cd $startdir/src/vlc-${_dlver}
sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
[ "${CARCH}" = "i686" ] && EXTRAFEATURES="--enable-loader --enable-live555 --with-live555-tree=/usr/lib/live"
[ "${CARCH}" = "x86_64" ] && EXTRAFEATURES="--enable-fast-install --enable-live555 --with-live555-tree=/usr/lib/live"
./configure --prefix=/usr \
--enable-libass \
--enable-dvdread \
--enable-jack \
--enable-dvdnav \
--disable-rpath \
--enable-zvbi \
--enable-qt4 \
--enable-faad \
--enable-alsa \
--enable-skins2 \
--enable-dvb \
--enable-v4l \
--enable-theora \
--enable-flac \
--enable-snapshot \
--enable-dbus \
--enable-ogg \
--enable-dbus-control \
--enable-shared \
--enable-nls \
--enable-lirc \
--enable-shout \
--enable-pvr \
--enable-ncurses \
--disable-mozilla \
--enable-merge-ffmpeg \
--program-suffix= \
--enable-realrtsp ${EXTRAFEATURES} || return 1
CFLAGS="-fPIC"
make || return 1
make DESTDIR=${pkgdir}/ install || return 1
for res in 16 32 48 128; do
install -D -m644 ${srcdir}/vlc-${_dlver}/share/vlc${res}x${res}.png \
${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png || return 1
done
#Enabling hardware acceleration option in the .desktop file
sed -i 's/Exec=vlc \%U/Exec=vlc \%U --ffmpeg-hw/g' ${pkgdir}/usr/share/applications/vlc.desktop
rm -rf ${pkgdir}/usr/lib/mozilla
}
Code: Select all
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=vlc
pkgname=('vlc'
'vlc-plugin')
pkgver=1.0.6
pkgrel=3
arch=('i686' 'x86_64')
url="http://www.videolan.org/vlc/"
license=('GPL')
makedepends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'lirc-utils'
'libdca' 'qt' 'libproxy' 'sdl_image' 'libdvdnav' 'mesa'
'lua' 'libv4l' 'libcddb' 'smbclient' 'libmatroska' 'zvbi'
'taglib' 'sysfsutils' 'libmpcdec' 'hal' 'ffmpeg'
'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug'
'avahi' 'ttf-freefont' 'libxv' 'libass' 'xdg-utils' 'libxpm'
'xulrunner' 'pkgconfig' 'live-media' 'libnotify' 'libcdio')
source=(http://download.videolan.org/pub/videolan/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.bz2
libpng-1.4.patch
vlc-1.0.4-new-xulrunner.patch)
md5sums=('246a3865ec037f8f5757ef6b973a80fc'
'b1961688a9be282a126bfa1cad4b28fa'
'b1fc5e2527ecc863b3665238d82ac2db')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
patch -Np1 -i ${srcdir}/libpng-1.4.patch || return 1
#http://trac.videolan.org/vlc/ticket/3185
patch -Np1 -i ${srcdir}/vlc-1.0.4-new-xulrunner.patch || return 1
sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
[ "${CARCH}" = "i686" ] && EXTRAFEATURES="--enable-loader --enable-live555 --with-live555-tree=/usr/lib/live"
[ "${CARCH}" = "x86_64" ] && EXTRAFEATURES="--enable-fast-install --enable-live555 --with-live555-tree=/usr/lib/live"
./configure --prefix=/usr \
--enable-libass \
--enable-dvdread \
--enable-jack \
--enable-dvdnav \
--disable-rpath \
--enable-zvbi \
--enable-qt4 \
--enable-faad \
--enable-alsa \
--enable-skins2 \
--enable-dvb \
--enable-v4l \
--enable-theora \
--enable-flac \
--enable-snapshot \
--enable-hal \
--enable-dbus \
--enable-ogg \
--enable-dbus-control \
--enable-shared \
--enable-nls \
--enable-lirc \
--enable-shout \
--enable-pvr \
--enable-ncurses \
--enable-mozilla \
--enable-release \
--program-suffix= \
--enable-realrtsp ${EXTRAFEATURES} || return 1
CFLAGS="-fPIC"
make || return 1
}
package_vlc() {
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
depends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'libcdio'
'libdca' 'qt' 'libproxy' 'sdl_image' 'libdvdnav' 'mesa'
'lua' 'libv4l' 'libcddb' 'smbclient' 'libmatroska' 'zvbi'
'taglib' 'sysfsutils' 'libmpcdec' 'hal' 'ffmpeg'
'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug'
'avahi' 'ttf-freefont' 'libxv' 'libass' 'xdg-utils')
optdepends=('libnotify: for notification plugin'
'ncurses: for ncurses interface support'
'libdvdcss: for decoding encrypted DVDs'
'lirc-utils: for lirc plugin')
options=('!libtool')
install=vlc.install
cd "${srcdir}/${pkgbase}-${pkgver}"
make DESTDIR=${pkgdir}/ install || return 1
for res in 16 32 48 128; do
install -D -m644 ${srcdir}/vlc-${pkgver}/share/vlc${res}x${res}.png \
${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png || return 1
done
rm -rf ${pkgdir}/usr/lib/mozilla
}
package_vlc-plugin() {
pkgdesc="VLC mozilla browser plugin"
depends=("${pkgbase}=${pkgver}" 'nspr' 'xulrunner')
cd "${srcdir}/${pkgbase}-${pkgver}"
install -Dm755 projects/mozilla/.libs/libvlcplugin.so ${pkgdir}/usr/lib/mozilla/plugins/libvlcplugin.so || return 1
}