diff options
Diffstat (limited to 'vlc-branch')
-rw-r--r-- | vlc-branch/PKGBUILD | 63 | ||||
-rw-r--r-- | vlc-branch/vlc-branch.install | 35 | ||||
-rw-r--r-- | vlc-branch/vlc-branch.sh | 1 |
3 files changed, 0 insertions, 99 deletions
diff --git a/vlc-branch/PKGBUILD b/vlc-branch/PKGBUILD deleted file mode 100644 index 235564e..0000000 --- a/vlc-branch/PKGBUILD +++ /dev/null @@ -1,63 +0,0 @@ -# Contributor: Muhammad 'MJ' Jassim <UnbreakableMJ@gmail.com> -pkgname=vlc-branch -pkgver=0.9.2 -pkgrel=1 -#_ffmpegver=20071204 -pkgdesc="Bleeding-edge version of VideoLAN Client, the multi-platform MPEG/VCD/DVD/XviD/DivX player." -depends=('libmad' 'libmpeg2' 'ffmpeg' 'hal' 'libid3tag' \ - 'libdvbpsi4' 'fribidi' 'sysfsutils' 'libdvdnav' 'libdvdread' \ - 'xvidcore' 'libmatroska' 'libxv' 'alsa-lib' 'libtheora' \ - 'faad2' 'qt' 'libdca' 'libxml2' 'lirc-utils' 'lua' 'libcddb' \ - 'smbclient' 'taglib' 'flac' 'libmpcdec' 'libmodplug' 'avahi' \ - 'sdl_image' 'libraw1394' 'speex' 'libnotify' 'libraw1394') - ##namcap says 'libraw1394' dependency included and not needed -arch=('i686' 'x86_64') -makedepends=('live-media' 'gnome-vfs' 'mesa' 'sdl_image' 'libmpcdec' \ - 'speex' 'libnotify' 'libmodplug' 'gettext') -install=vlc-branch.install -url="http://www.videolan.org/vlc/" -license=('GPL2') -provides=('vlc' 'vlc-svn' 'vlc-git') -#install=vlc-branch.install -source=(http://download.videolan.org/pub/videolan/vlc/0.9.2/vlc-0.9.2.tar.bz2) -VLCINSTALLDIR="/usr" - -build() { - - ##older versions used "vlc-${_gitver}-git" or "vlc-${_gitver}-test1" - cd ${startdir}/src/vlc-0.9.2 - - [ "${CARCH}" = "i686" ] && EXTRAFEATURES="--enable-loader --disable-live555 --with-live555-tree=/usr/lib/live-media" - [ "${CARCH}" = "x86_64" ] && EXTRAFEATURES="--enable-fast-install" - ./configure --prefix=${VLCINSTALLDIR} --enable-dvdread --enable-dvdnav \ - --enable-madi --enable-ffmpeg --disable-rpath \ - --enable-qt4 --enable-faad --enable-alsa --enable-skins2 \ - --enable-dvb --enable-dmo --with-ffmpeg-faac \ - --with-ffmpeg-vorbis --with-ffmpeg-dts --with-ffmpeg-ogg \ - --with-ffmpeg-theora --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-debug --program-suffix= \ - --with-dv-raw1394=/usr/include/libraw1394 ${EXTRAFEATURES} || return 1 - ##Using "--enable-wxwidgets --with-wx-config=wx-config-2.6" is useless now - ##Don't enable real or realrtsp. They won't work anyway, and build might fail. - - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 - - for res in 16 32 48; do - install -D -m644 ${startdir}/src/vlc-${pkgver}/share/vlc${res}x${res}.png \ - ${startdir}/pkg/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png || return 1 - done - - if [ "${VLCINSTALLDIR}" != "/opt/vlc-branch" ] - then - sed -i -e 's:/opt/vlc-branch/bin:${VLCINSTALLDIR}/bin:' ${startdir}/src/vlc-branch.sh - fi - [ "${VLCINSTALLDIR}" != "/usr" ] && install -D -m555 ${startdir}/src/vlc-branch.sh \ - ${startdir}/pkg/etc/profile.d/vlc-branch.sh - rm -rf ${startdir}/pkg/usr/lib/mozilla -} -md5sums=('f7d843d0725abb57196c4012eeb0e636') -sha256sums=('b839353694fa5d47b8874573525a6612ce22654774c7cd2d9d4a16f7044b7854') diff --git a/vlc-branch/vlc-branch.install b/vlc-branch/vlc-branch.install deleted file mode 100644 index dfc5d76..0000000 --- a/vlc-branch/vlc-branch.install +++ /dev/null @@ -1,35 +0,0 @@ -post_install() { - source /etc/profile.d/vlc-branch.sh -# if [ -x "/usr/bin/vlc" ] -# then -# echo "vlc exists" >/dev/null -# else -# ln -s /opt/vlc-branch/bin/vlc-branch /usr/bin/vlc -# ln -s /opt/vlc-branch/bin/cvlc-branch /usr/bin/cvlc -# ln -s /opt/vlc-branch/bin/qvlc-branch /usr/bin/qvlc -# ln -s /opt/vlc-branch/bin/rvlc-branch /usr/bin/rvlc -# ln -s /opt/vlc/vlc-branch/svlc-branch /usr/bin/svlc -# ln -s /opt/vlc/vlc-branch/vlc-wrapper-branch /usr/bin/vlc-wrapper -# ln -s /opt/vlc-branch/bin/wxvlc-branch /usr/bin/wxvlc -# fi - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q -} - -post_upgrade() { -# post_install $1 - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q -} - -post_remove() { -# post_install $1 - ##remember removing softlinks, if used: -# rm /usr/bin/vlc /usr/bin/cvlc /usr/bin/qvlc /usr/bin/rvlc /usr/bin/svlc /usr/bin/vlc-wrapper /usr/bin/wxvlc - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q -} - -op=$1 -shift -$op $* diff --git a/vlc-branch/vlc-branch.sh b/vlc-branch/vlc-branch.sh deleted file mode 100644 index bc92dba..0000000 --- a/vlc-branch/vlc-branch.sh +++ /dev/null @@ -1 +0,0 @@ -export PATH="${PATH}:/opt/vlc-branch/bin"
\ No newline at end of file |