# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           cmake 1.1
PortGroup           qt6 1.0

name                Heimdall
version             2.2.2
categories          comms
license             MIT
maintainers         {@sumirati buggycode.net:sumirati} openmaintainer
description         Tool to flash Samsung mobile phones
long_description    Reverse-engineered tool from Samsung provided Odin that allows to flash all Samsung phones since around 2010.

distname            v${version}
worksrcdir          ${name}-${distname}

homepage            https://git.sr.ht/~grimler/Heimdall
master_sites        https://git.sr.ht/~grimler/Heimdall/archive/

checksums           rmd160  cade5ca1359af61e01a81d89123a67d9e3f6383f \
                    sha256  7d01dd8bf9c2f93ea016ae8b059110c50cea49e78670e8a1333ebd5899cdaaa3 \
                    size    68059

depends_build-append \
                    path:bin/pkg-config:pkgconfig

depends_lib-append  port:libusb

cmake_share_module_dir   ${qt6.dir}/lib/cmake/Qt6Widgets/  
