extra/vlc: finish bringing in changes

This commit is contained in:
Kevin Mihelich 2013-08-02 14:11:57 +00:00
parent fd53cad77e
commit d98a03dfe3

View file

@ -76,7 +76,7 @@ prepare() {
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}-${pkgver/.a}"
CFLAGS+="-I/usr/include/samba-4.0" CPPFLAGS+="-I/usr/include/samba-4.0" \
PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" \
@ -103,12 +103,12 @@ build() {
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}-${pkgver/.a}"
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" \
install -D -m644 "${srcdir}/vlc-${pkgver/.a}/share/icons/${res}x${res}/vlc.png" \
"${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png"
done
}