opera: symlink to system libfreetype.so.6
This commit is contained in:
parent
4079fdfaa0
commit
3c94369882
@ -1,8 +1,9 @@
|
|||||||
# Template file for 'opera'
|
# Template file for 'opera'
|
||||||
pkgname=opera
|
pkgname=opera
|
||||||
version=42.0.2393.94
|
version=42.0.2393.94
|
||||||
revision=1
|
revision=2
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
|
hostmakedepends="freetype-devel"
|
||||||
depends="ffmpeg desktop-file-utils"
|
depends="ffmpeg desktop-file-utils"
|
||||||
short_desc="Fast, secure, easy to use browser"
|
short_desc="Fast, secure, easy to use browser"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
@ -13,11 +14,9 @@ nopie=yes
|
|||||||
|
|
||||||
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
|
||||||
_debarch=amd64
|
_debarch=amd64
|
||||||
_platform=x86_64
|
|
||||||
checksum=bea99f2ef234a4eca05af4ef21489baa53eb062cf407628e524242b53dec88fb
|
checksum=bea99f2ef234a4eca05af4ef21489baa53eb062cf407628e524242b53dec88fb
|
||||||
else
|
else
|
||||||
_debarch=i386
|
_debarch=i386
|
||||||
_platform=i386
|
|
||||||
checksum=f02ea31cdddf37cf3ee1ebb0a35b0e3063e624e6988d50b10eae918de3f116c8
|
checksum=f02ea31cdddf37cf3ee1ebb0a35b0e3063e624e6988d50b10eae918de3f116c8
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -31,7 +30,12 @@ do_extract() {
|
|||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin ${FILESDIR}/opera
|
vbin ${FILESDIR}/opera
|
||||||
vcopy usr/lib/${_platform}-linux-gnu usr/lib
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
|
||||||
|
vcopy usr/lib/x86_64-linux-gnu usr/lib
|
||||||
|
else
|
||||||
|
vcopy usr/lib/i386-linux-gnu/opera usr/lib
|
||||||
|
fi
|
||||||
vcopy usr/share /usr/share
|
vcopy usr/share /usr/share
|
||||||
vlicense usr/share/doc/opera-stable/copyright
|
vlicense usr/share/doc/opera-stable/copyright
|
||||||
|
ln -sf /usr/lib/libfreetype.so.6 ${DESTDIR}/usr/lib/opera/libfreetype.so.6
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user