Unverified Commit 30fde91f authored by Boris Yumankulov's avatar Boris Yumankulov Committed by GitHub

epm play popcorn-time: fix PKGURL (eterbug #17865) (#485)

parent fcc4bc34
#!/bin/sh #!/bin/sh
PKGNAME=Popcorn-Time PKGNAME=popcorn-time-nightly
SUPPORTEDARCHES="x86_64" SUPPORTEDARCHES="x86_64"
VERSION="$2" VERSION="$2"
DESCRIPTION='Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player' DESCRIPTION='Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player'
...@@ -8,8 +8,9 @@ URL="https://github.com/popcorn-official/popcorn-desktop" ...@@ -8,8 +8,9 @@ URL="https://github.com/popcorn-official/popcorn-desktop"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
PKGURL=$(epm tool eget --list --latest https://github.com/popcorn-official/popcorn-desktop/releases "Popcorn-Time-$VERSION-amd64.deb") warn_version_is_not_supported
PKGURL=$(eget --list https://popcorntime.app/download "*.deb")
# repack always, ever for deb system (bad postinst script) # repack always, ever for deb system (bad postinst script)
install_pkgurl --repack install_pkgurl --repack
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=Popcorn-Time
PRODUCTCUR=popcorn-time
PRODUCTDIR=/opt/$PRODUCT
. $(dirname $0)/common-chromium-browser.sh
chmod -v -R a+rX .$PRODUCTDIR
add_bin_link_command $PRODUCT
add_bin_link_command $PRODUCTCUR $PRODUCT
fix_chrome_sandbox
fix_desktop_file
add_libs_requires
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
# drop dictionaries from lib folder
move_to_opt "/usr/lib/Popcorn Time Nightly"
fix_desktop_file "Categories=" "Categories=Network;Video;"
# workaround for Nvidia
fix_desktop_file "Exec=popcorntime-tauri" "Exec=WEBKIT_DISABLE_DMABUF_RENDERER=1 GDK_BACKEND=x11 popcorntime-tauri"
add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment