EAPI=8

inherit cmake git-r3

EGIT_COMMIT=62e0e099a8451821c255e9e0dfd3b087dd025aad

DESCRIPTION="C program to download VoD HLS (.m3u8) files"
HOMEPAGE="https://github.com/selsta/hlsdl"
EGIT_REPO_URI=${HOMEPAGE}

LICENSE=MIT
SLOT=0
KEYWORDS=~amd64

DEPEND="net-misc/curl
	dev-libs/openssl"

# found this at
# https://stackoverflow.com/questions/16132088/how-to-decrypt-aes-128-encrypted-m3u8-video-files?noredirect=1,
# where I had posted a hacky shell-script-based solution to the same problem