Package Details: elan 5.9-3

Git Clone URL: https://aur.archlinux.org/elan.git (read-only, click to copy)
Package Base: elan
Description: A video and audio annotation tool
Upstream URL: https://tla.mpi.nl/tools/tla-tools/elan/
Licenses: GPL3
Submitter: languitar
Maintainer: None
Last Packager: TheGoliath
Votes: 3
Popularity: 0.58
First Submitted: 2017-08-29 14:05
Last Updated: 2020-09-22 12:07

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

languitar commented on 2020-09-20 15:57

pkgname=elan
pkgver=5.9
pkgrel=1
pkgdesc="A video and audio annotation tool"
arch=(any)
url="https://tla.mpi.nl/tools/tla-tools/elan/"
license=('GPL3')
depends=('java-runtime>=9')
makedepends=('maven' 'java-environment>=9')
source=("http://www.mpi.nl/tools/elan/ELAN_$(echo "${pkgver}" | sed 's/\./-/g')_src.zip"
        "elan")
sha256sums=('7562128003f317fd698d5b9fa92bf86c1b8d6643fa958fd09b036542db1135ba'
            'c933caffc0daf1655ffb91564d234209205d9f49e0006c432d63a97a16f43363')

build() {
    cd "${pkgname}-${pkgver}"
    mvn package -P !linux -Dmaven.repo.local="${srcdir}/repo"
}

package() {
    cd "${pkgname}-${pkgver}/target"
    install -dm755 "${pkgdir}/usr/share/java/elan"
    install -Dm644 ./*.jar "${pkgdir}/usr/share/java/elan"
    install -Dm644 ./*.jar "${pkgdir}/usr/share/java/elan"
    install -dm755 "${pkgdir}/usr/share/java/elan/lib"
    install -Dm644 lib/*.* "${pkgdir}/usr/share/java/elan/lib"
    install -dm755 "${pkgdir}/usr/bin"
    install -Dm755 "${srcdir}/elan" "${pkgdir}/usr/bin"
}

nthorderindex commented on 2020-09-16 05:12

Thanks for this package — ELAN now requires openJDK > 9, so it seems that lines 26-27 of the PKGBUILD must be updated accordingly in order for the package to build.

languitar commented on 2017-10-08 13:20

@Lurchwart I cannot reproduce this here. Which java version are you using for compiling? Can you provide the output of javac -version?

Lurchwart commented on 2017-10-08 11:27

Won't compile for me, but this looks like an error in their source code.

[ERROR] /tmp/yaourt-tmp-felix/aur-elan/src/elan-4.9.4/src/main/java/mpi/eudico/client/annotator/imports/MergeStep2.java:290: error: incompatible types: Enumeration<TreeNode> cannot be converted to Enumeration<DefaultMutableTreeNode>
[ERROR] Enumeration<DefaultMutableTreeNode> en = transNode.breadthFirstEnumeration();
[ERROR] ^
[ERROR]
[ERROR] /tmp/yaourt-tmp-felix/aur-elan/src/elan-4.9.4/src/main/java/mpi/eudico/client/annotator/imports/MergeStep2.java:[457,73] error: incompatible types: Enumeration<TreeNode> cannot be converted to Enumeration<DefaultMutableTreeNode>
[ERROR]
[ERROR] /tmp/yaourt-tmp-felix/aur-elan/src/elan-4.9.4/src/main/java/mpi/eudico/client/annotator/imports/MergeStep2.java:[644,81] error: incompatible types: Enumeration<TreeNode> cannot be converted to Enumeration<DefaultMutableTreeNode>
[ERROR]
[ERROR] /tmp/yaourt-tmp-felix/aur-elan/src/elan-4.9.4/src/main/java/mpi/eudico/client/annotator/imports/MergeStep2.java:[749,77] error: incompatible types: Enumeration<TreeNode> cannot be converted to Enumeration<DefaultMutableTreeNode>