api keys added

This commit is contained in:
max.bra 2018-04-06 13:28:52 +02:00
parent c2d2c76c5b
commit 18de967e2e
3 changed files with 16 additions and 6 deletions

View file

@ -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

View file

@ -1,12 +1,13 @@
# Maintainer: max.bra <max dot bra at alice dot it>
# Contributor: nadolph
# Contributor: dcelasun
# Contributor: said
# Contributor: Kaurin <milos dot kaurin at gmail>
# Contributor: Kaurin <milos dot kaurin at gmail>
# Contributor: Nathan Owe <ndowens04 at gmail>
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 <<EOT >> 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
}

View file

@ -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 "$@"