Package Details: elan 6.5-1

Git Clone URL: https://aur.archlinux.org/elan.git (read-only, click to copy)
Package Base: elan
Description: video and audio annotation tool
Upstream URL: https://tla.mpi.nl/tools/tla-tools/elan/
Licenses: GPL3
Submitter: languitar
Maintainer: None
Last Packager: TrialnError
Votes: 4
Popularity: 0.000000
First Submitted: 2017-08-29 14:05 (UTC)
Last Updated: 2023-06-27 20:59 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

malexan commented on 2022-07-22 17:31 (UTC)

pkgname=elan
pkgver=6.4
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>=14')
makedepends=('maven>3.3' 'java-environment>=14')
source=("http://www.mpi.nl/tools/elan/ELAN_$(echo "${pkgver}" | sed 's/\./-/g')_src.zip"
        "elan")
sha256sums=('4c0561be05032c6b2da2707e20ac8616f6de3a17c37cae81aa4fb5df7bf353bd'
            '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"
}

languitar commented on 2020-09-20 15:57 (UTC) (edited on 2020-09-20 15:57 (UTC) by languitar)

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 (UTC)

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 (UTC)

@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 (UTC)

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>