mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
51 lines
1.5 KiB
YAML
51 lines
1.5 KiB
YAML
app-id: org.sleuthkit.Autopsy
|
|
runtime: org.gnome.Platform
|
|
runtime-version: '47'
|
|
sdk: org.gnome.Sdk
|
|
sdk-extensions:
|
|
- org.freedesktop.Sdk.Extension.openjdk17
|
|
command: autopsy-wrapper
|
|
finish-args:
|
|
- --filesystem=host
|
|
- --device=all
|
|
- --share=network
|
|
- --socket=x11
|
|
|
|
modules:
|
|
- name: openjdk
|
|
buildsystem: simple
|
|
build-commands:
|
|
- /usr/lib/sdk/openjdk17/install.sh
|
|
|
|
# Build TSK without Java to avoid Ivy issues
|
|
- name: sleuthkit
|
|
sources:
|
|
- type: git
|
|
url: https://github.com/sleuthkit/sleuthkit.git
|
|
tag: sleuthkit-4.14.0
|
|
buildsystem: autotools
|
|
config-opts:
|
|
- --prefix=/app
|
|
- --disable-java # This avoids the Ivy download issue!
|
|
|
|
# Download pre-built Autopsy (includes TSK Java bindings)
|
|
- name: autopsy
|
|
sources:
|
|
- type: archive
|
|
url: https://github.com/sleuthkit/autopsy/releases/download/autopsy-4.22.1/autopsy-4.22.1.zip
|
|
# Get SHA256: wget -O - https://github.com/sleuthkit/autopsy/releases/download/autopsy-4.22.1/autopsy-4.22.1.zip | sha256sum
|
|
sha256: YOUR_SHA256_HERE
|
|
buildsystem: simple
|
|
build-commands:
|
|
- |
|
|
# Install Autopsy
|
|
cp -r autopsy-*/* /app/
|
|
cd /app
|
|
chmod +x unix_setup.sh
|
|
./unix_setup.sh -j /usr/lib/sdk/openjdk17/jvm/openjdk-17 -n autopsy
|
|
|
|
# Create wrapper to ensure environment is set
|
|
cat > /app/bin/autopsy-wrapper << 'EOF'
|
|
#!/bin/bash
|
|
export JAVA_HOME=/usr/lib/sdk/openjdk17/
|