update all the packages, remove some unneeded ones
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
# 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.7.9
|
||||
pkgver=4.8.1
|
||||
pkgrel=1
|
||||
_jnaver=4.3.0
|
||||
_jnaver=4.5.1
|
||||
_fixedcommit=0761faded4cfacbb4005a5842d8b89ce0a36f811
|
||||
pkgdesc="The ultimate tool to rename TV/anime shows, download subtitles, and validate checksums."
|
||||
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
|
||||
url="http://filebot.sourceforge.net/"
|
||||
url="https://github.com/filebot/filebot"
|
||||
license=('GPL')
|
||||
install=$pkgname.install
|
||||
depends=('java-runtime>=8' 'fontconfig' 'chromaprint')
|
||||
makedepends=('unzip')
|
||||
depends=('java-runtime>=9' 'fontconfig' 'chromaprint')
|
||||
makedepends=('unzip' 'apache-ivy' 'jdk>=9')
|
||||
|
||||
[[ $CARCH == "i686" ]] && _intarch=x86
|
||||
[[ $CARCH == "x86_64" ]] && _intarch=x86-64
|
||||
@@ -21,13 +24,13 @@ makedepends=('unzip')
|
||||
[[ $CARCH == "armv6h" ]] && _intarch=arm
|
||||
[[ $CARCH == "armv7h" ]] && _intarch=arm
|
||||
|
||||
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/FileBot_$pkgver/FileBot_$pkgver-portable.tar.xz
|
||||
source=("${pkgname}::git+https://github.com/filebot/filebot.git"
|
||||
https://github.com/java-native-access/jna/archive/$_jnaver.tar.gz
|
||||
$pkgname-arch.sh $pkgname.svg $pkgname.desktop)
|
||||
|
||||
md5sums=('961dbdb7d6c62c133952df2f9f427d96'
|
||||
'2de8ba99fc91809935e6c2ab02f49a82'
|
||||
'd94b4245dd3b226872f05fd2bf75bd1c'
|
||||
md5sums=('SKIP'
|
||||
'3cf5c206ba2246386af2e9248fa6f035'
|
||||
'38c3f0029e094043cfca147981d41081'
|
||||
'04f46be047049448dba3f0de29fe192d'
|
||||
'f37edd0bba7570904d28ab1681c7a7f3')
|
||||
|
||||
@@ -38,17 +41,35 @@ optdepends=('libzen: Support for additional subtitle search engines (Sublight)'
|
||||
|
||||
#noextract=($(for i in ${source[@]}; do basename $i; done))
|
||||
|
||||
build() {
|
||||
/bin/true
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd jna-$_jnaver/lib/native/
|
||||
cd "$srcdir/$pkgname/"
|
||||
git checkout $_fixedcommit
|
||||
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: 780b986b22c35e6f7a134a2f392c2deb
|
||||
apikey.thetvdb: 694FAD89942D3827
|
||||
apikey.themoviedb: 66308fb6e3fd850dde4c7d21df2e8306
|
||||
apikey.omdb: 49d311ec
|
||||
apikey.acoustid: 0B3qZnQc
|
||||
apikey.anidb: filebot
|
||||
apikey.opensubtitles: FileBot
|
||||
EOT
|
||||
cd "$srcdir/jna-$_jnaver/lib/native/"
|
||||
unzip linux-$_intarch.jar 2>&1 >/dev/null
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
ant resolve
|
||||
ant fatjar
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 FileBot.jar "$pkgdir/usr/share/java/$pkgname/$pkgname.jar"
|
||||
install -Dm644 $pkgname/dist/FileBot_$pkgver.jar "$pkgdir/usr/share/java/$pkgname/$pkgname.jar"
|
||||
install -Dm644 jna-$_jnaver/lib/native/libjnidispatch.so "$pkgdir/usr/share/java/$pkgname/libjnidispatch.so"
|
||||
install -Dm755 $pkgname-arch.sh "$pkgdir/usr/bin/$pkgname"
|
||||
install -Dm644 $pkgname.svg "$pkgdir/usr/share/pixmaps/$pkgname.svg"
|
||||
|
@@ -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 -jar /usr/share/java/filebot/filebot.jar "$@"
|
||||
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 "$@"
|
||||
|
||||
|
Reference in New Issue
Block a user