vlc: provide a working icon, remove unused stuff.
--HG-- extra : convert_revision : dd31e10022274302d14fe4e69c745be7db5d2f0b
This commit is contained in:
parent
b9b83891ab
commit
35b9a4804e
1 changed files with 14 additions and 0 deletions
|
@ -31,8 +31,22 @@ _vlc_deps="${_vlc_deps} libnotify libogg libtheora libflac libmad libmatroska"
|
|||
_vlc_deps="${_vlc_deps} libcdio libdvdread libdvdnav libdvbpsi libdca"
|
||||
_vlc_deps="${_vlc_deps} libXv libXvMC libXxf86vm libXdamage libXinerama"
|
||||
_vlc_deps="${_vlc_deps} libmpeg2 ffmpeg x264 MesaLib SDL SDL_image qt"
|
||||
_vlc_deps="${_vlc_deps} avahi-libs"
|
||||
|
||||
for _dep_ in ${_vlc_deps}; do
|
||||
Add_dependency run ${_dep_}
|
||||
Add_dependency build ${_dep_}-devel
|
||||
done
|
||||
|
||||
post_install()
|
||||
{
|
||||
# Remove unused stuff
|
||||
rm -rf ${DESTDIR}/usr/include
|
||||
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
||||
rm -f ${DESTDIR}/usr/bin/vlc-config
|
||||
rm -f ${DESTDIR}/usr/share/man/man1/vlc-config.1
|
||||
|
||||
mkdir -p ${DESTDIR}/usr/share/pixmaps
|
||||
cd ${DESTDIR}/usr/share/pixmaps && \
|
||||
ln -sf ../vlc/vlc48x48.png vlc.png || return 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue