mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-02-03 04:27:14 +08:00
ppflash: pkgrel++, add back chromium flag file
- the chromium flag file is now installed by default to /etc/chromium - we're diverged from Arch as they're using customized launcher while we still based ours on gentoo and Debian, as the legacy one provided by Arch
This commit is contained in:
parent
e41719c20e
commit
a654b665fe
@ -1,20 +1,26 @@
|
||||
pkgname=pepperflashplugin
|
||||
pkgdesc="Adobe/Google Pepper Flash Player plugin installer"
|
||||
pkgver=23.0.0.205
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=('x86_64')
|
||||
url="http://www.adobe.com/downloads.html"
|
||||
license=('custom')
|
||||
source=("https://fpdownload.adobe.com/pub/flashplayer/pdc/$pkgver/flash_player_ppapi_linux.x86_64.tar.gz"
|
||||
"http://wwwimages.adobe.com/content/dam/acom/en/legal/licenses-terms/pdf/Flash_Player_${pkgver%%.*}_0.pdf")
|
||||
md5sums=('1ed9c0d030bb6e167acfb0d0e2a08d8a'
|
||||
'0208c2cf0629c79f2cd2d30016e0264f')
|
||||
"http://wwwimages.adobe.com/content/dam/acom/en/legal/licenses-terms/pdf/Flash_Player_${pkgver%%.*}_0.pdf"
|
||||
'chromium_pepperflashplayer.sh')
|
||||
sha1sums=('6682f6b9f58c348fe7bd617d6c4ea66f0df0c320'
|
||||
'05d437c6ec042fdf37d61db658efcc6780efb307'
|
||||
'9de6c84623820f3de10df6e33274794dfb808a01')
|
||||
|
||||
|
||||
package() {
|
||||
# install flashplayer plugin
|
||||
install -Dm644 libpepflashplayer.so manifest.json -t $pkgdir/usr/lib/PepperFlash/
|
||||
|
||||
# copy the script to enable pepperflash on chromium
|
||||
install -Dm644 "$srcdir/chromium_pepperflashplayer.sh" "$pkgdir/etc/chromium/default"
|
||||
sed -i "s/\@FLASH_VERSION\@/$pkgver/" "$pkgdir/etc/chromium/default"
|
||||
|
||||
# copy license
|
||||
install -Dm644 "${srcdir}"/README "${pkgdir}"/usr/share/licenses/${pkgname}/README
|
||||
install -Dm644 $srcdir/LGPL/LGPL.txt $pkgdir/usr/share/licenses/$pkgname/LPGL.txt
|
||||
|
7
pepperflashplugin/chromium_pepperflashplayer.sh
Normal file
7
pepperflashplugin/chromium_pepperflashplayer.sh
Normal file
@ -0,0 +1,7 @@
|
||||
# Include this script from /etc/chromium-browser/default to enable
|
||||
# the Adobe/Google Pepper Flash plugin.
|
||||
|
||||
FLASH_VERSION=@FLASH_VERSION@
|
||||
|
||||
CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so \
|
||||
--ppapi-flash-version=$FLASH_VERSION"
|
Loading…
Reference in New Issue
Block a user