diff options
author | Ike Devolder | 2016-03-16 08:33:36 +0000 |
---|---|---|
committer | Ike Devolder | 2016-03-16 08:33:36 +0000 |
commit | cb004c2596f278fcb648dc61dadf75ca794a6dea (patch) | |
tree | a60b366e8a421339beea837be9215baecfc9da48 | |
parent | 18f4a9a39ef0ced49991de83fe02aae9f00e4312 (diff) | |
download | aur-cb004c2596f278fcb648dc61dadf75ca794a6dea.tar.gz |
Add forgotten binary patch for proprietary codecs
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -10,7 +10,7 @@ pkgname=opera pkgver=36.0.2130.32 -pkgrel=1 +pkgrel=2 pkgdesc="A fast and secure web browser" url="http://www.opera.com/" install=${pkgname}.install @@ -19,6 +19,7 @@ license=('custom:opera') backup=("etc/$pkgname/default") arch=('i686' 'x86_64') depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'libxtst' 'gconf' 'libxss' 'alsa-lib' 'nss' 'ttf-font' 'libnotify') +makedepends=('patchelf') optdepends=( 'curl: opera crash reporter and autoupdate checker' 'opera-ffmpeg-codecs: playback of proprietary video/audio' @@ -50,6 +51,10 @@ package() { ) rm -rf "$pkgdir/usr/lib/"*-linux-gnu + # patch rpath in opera-developer binary + patchelf --set-rpath \$ORIGIN/lib_extra:\$ORIGIN/. \ + "$pkgdir/usr/lib/$pkgname/$pkgname" + # suid opera_sandbox chmod 4755 "$pkgdir/usr/lib/$pkgname/opera_sandbox" |