From 18de967e2ef435793bcd65ed60cf3c82785807c3 Mon Sep 17 00:00:00 2001 From: "max.bra" Date: Fri, 6 Apr 2018 13:28:52 +0200 Subject: [PATCH] api keys added --- .SRCINFO | 4 ++-- PKGBUILD | 16 +++++++++++++--- filebot-arch.sh | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 1ac3e7e2818b..42d8a680e09d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = filebot pkgdesc = The ultimate tool to rename TV/anime shows, download subtitles, and validate checksums. pkgver = 4.8.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/filebot/filebot install = filebot.install arch = i686 @@ -27,7 +27,7 @@ pkgbase = filebot source = filebot.desktop md5sums = SKIP md5sums = 3cf5c206ba2246386af2e9248fa6f035 - md5sums = 81b701ce1a1b52226f432aa86c6e1386 + md5sums = 38c3f0029e094043cfca147981d41081 md5sums = 04f46be047049448dba3f0de29fe192d md5sums = f37edd0bba7570904d28ab1681c7a7f3 diff --git a/PKGBUILD b/PKGBUILD index 63b88b8e1eb1..efbac1505f5d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,12 +1,13 @@ # Maintainer: max.bra # Contributor: nadolph +# Contributor: dcelasun # Contributor: said -# Contributor: Kaurin +# Contributor: Kaurin # Contributor: Nathan Owe pkgname=filebot pkgver=4.8.0 -pkgrel=2 +pkgrel=3 _jnaver=4.5.1 pkgdesc="The ultimate tool to rename TV/anime shows, download subtitles, and validate checksums." arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') @@ -28,7 +29,7 @@ source=("${pkgname}::git+https://github.com/filebot/filebot.git" md5sums=('SKIP' '3cf5c206ba2246386af2e9248fa6f035' - '81b701ce1a1b52226f432aa86c6e1386' + '38c3f0029e094043cfca147981d41081' '04f46be047049448dba3f0de29fe192d' 'f37edd0bba7570904d28ab1681c7a7f3') @@ -44,6 +45,15 @@ prepare() { sed -i -E 's/release="([^"]*)"/target="\1" source="\1"/' build.xml sed -i -E 's/jre.version: 10/jre.version: 9/' app.properties sed -i -E 's/jvm.version: 10/jvm.version: 9/' app.properties +cat <> app.properties +url.data: https://app.filebot.net/data +apikey.fanart.tv: BA864DEE427E384A +apikey.thetvdb: BA864DEE427E384A +apikey.themoviedb: 66308fb6e3fd850dde4c7d21df2e8306 +apikey.omdb: 49d311ec +apikey.acoustid: 0B3qZnQc +apikey.anidb: filebot +EOT cd "$srcdir/jna-$_jnaver/lib/native/" unzip linux-$_intarch.jar 2>&1 >/dev/null } diff --git a/filebot-arch.sh b/filebot-arch.sh index 7abac07c6c9f..65cbecba2a95 100644 --- a/filebot-arch.sh +++ b/filebot-arch.sh @@ -18,5 +18,5 @@ EXTRACTOR="ApacheVFS" # use Apache Commons VFS2 with junrar plugin # EXTRACTOR="SevenZipNativeBindings" # use the lib7-Zip-JBinding.so native library # start filebot -java -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=false -Dapplication.deployment=portable -Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8" -Djna.nosys=false -Djna.nounpack=true -Dnet.filebot.Archive.extractor="$EXTRACTOR" -Dnet.filebot.AcoustID.fpcalc="fpcalc" -Dapplication.dir=$HOME/.config/filebot -Djava.io.tmpdir=/tmp/filebot -Dapplication.update=skip -Djna.library.path=/usr/share/java $JAVA_OPTS -cp /usr/share/java/filebot/filebot.jar net.filebot.Main "$@" +java -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=false -Dapplication.deployment=AUR -Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8" -Djna.nosys=false -Djna.nounpack=true -Dnet.filebot.Archive.extractor="$EXTRACTOR" -Dnet.filebot.AcoustID.fpcalc="fpcalc" -Dapplication.dir=$HOME/.config/filebot -Djava.io.tmpdir=/tmp/filebot -Dapplication.update=skip -Djna.library.path=/usr/share/java $JAVA_OPTS -cp /usr/share/java/filebot/filebot.jar net.filebot.Main "$@"