opera: ignore rpi-userland specific libGLESv2.so

resolves void-linux/void-packages#1321
This commit is contained in:
maxice8 2018-08-01 16:39:52 -03:00 committed by Enno Boland
parent d3cbc85f43
commit 84a1df2021
1 changed files with 6 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'opera'
pkgname=opera
version=54.0.2952.64
revision=1
revision=2
only_for_archs="x86_64"
repository="nonfree"
nostrip=yes
depends="ffmpeg desktop-file-utils hicolor-icon-theme"
depends="ffmpeg desktop-file-utils hicolor-icon-theme libGLES"
short_desc="Fast, secure, easy to use browser"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Proprietary"
@ -13,6 +13,10 @@ homepage="https://www.opera.com/computer"
distfiles="http://get.geo.opera.com/pub/opera/desktop/${version}/linux/${pkgname}-stable_${version}_amd64.deb"
checksum=d7fa007dce4bc89815c744c19cd05d3ed509482c53a3a52fff53b2f2c99c21cf
# This soname is wrong and is only available on rpi-userland, the correct one is
# libGLESv2.so.2, skip checking this and add libGLES explicitly to depends=
skiprdeps="/usr/lib/opera/libGLESv2.so"
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-stable_${version}_amd64.deb
tar xf data.tar.xz --exclude=./usr/share/{lintian,menu}