summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a448b81eaa654e79168215fe7dfe4a5b7d969b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: queenbiscuit311 <sarahacv6002 At gmail Dot com>
# I don't know where the libffmpeg version numbers in this snap come from

pkgname=opera-ffmpeg-codecs-bin
pkgver=115541
pkgrel=1
pkgdesc="additional support for proprietary codecs for opera, extracted directly from the chromium-ffmpeg snap"
arch=('x86_64')
url="https://snapcraft.io/chromium-ffmpeg/"
options=('!debug')
license=('LGPL2.1')
depends=('opera')
provides=('opera-ffmpeg-codecs')
conflicts=('opera-ffmpeg-codecs')
makedepends=('p7zip')
source=(
  "https://api.snapcraft.io/api/v1/snaps/download/XXzVIXswXKHqlUATPqGCj2w2l7BxosS8_41.snap"
)
sha512sums=('4d17e904ad2ccac7946b87c9ccd437510980db0b2abe9ec17f957af3ebae332e3df94fb3d40ed2164880f69d946604d7e9947c541f208aa53273d4b38a2b0f0c')

prepare() {
  7z x XXzVIXswXKHqlUATPqGCj2w2l7BxosS8_41.snap -oextract
}

package() {
  cd "$srcdir/extract/chromium-ffmpeg-$pkgver/chromium-ffmpeg"
  install -Dm644 libffmpeg.so "$pkgdir/usr/lib/opera/lib_extra/libffmpeg.so"
}