summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIke Devolder2016-03-16 08:33:36 +0000
committerIke Devolder2016-03-16 08:33:36 +0000
commitcb004c2596f278fcb648dc61dadf75ca794a6dea (patch)
treea60b366e8a421339beea837be9215baecfc9da48
parent18f4a9a39ef0ced49991de83fe02aae9f00e4312 (diff)
downloadaur-cb004c2596f278fcb648dc61dadf75ca794a6dea.tar.gz
Add forgotten binary patch for proprietary codecs
-rw-r--r--PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7210376d064a..a18e6e6c4e2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"