Files
haikuports/haiku-apps/armyknife/armyknife-5.1.2.recipe
Humdinger c0148aa762 ArmyKnife update to v5.1.2
removed upstreamed patch
2022-11-20 14:09:57 +01:00

57 lines
1.4 KiB
Bash

SUMMARY="The all-in-one metadata editor for audio and MPEG files"
DESCRIPTION="ArmyKnife is an application that lets you edit the metadata of \
audio and MPEG files, both Haiku file attributes and in-file tags. You can \
copy data to and from tags and attributes, and rename files according to \
attributes or fill attributes according to file name.
Now also with support for cover art!"
HOMEPAGE="https://github.com/HaikuArchives/ArmyKnife"
COPYRIGHT="2000-2001 Jason Burgess
2008 Jonas Sundström, Ryan Leavengood
2009-2022 HaikuArchives team"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="cd03e7b12122be86cfdc9663fce6c05b94437fd8f251c17d16ebd63b409fd279"
SOURCE_DIR="ArmyKnife-$portVersion"
ARCHITECTURES="all"
PROVIDES="
armyknife = $portVersion
app:ArmyKnife = $portVersion
"
REQUIRES="
haiku
lib:libmusicbrainz5
lib:libtag
"
BUILD_REQUIRES="
haiku_devel
devel:libmusicbrainz5
devel:libtag
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
mkdir -p bin
make $jobArgs TARGET_DIR=bin
make bindcatalogs TARGET_DIR=bin
}
INSTALL()
{
mkdir -p $appsDir/ArmyKnife/documentation
cp -r documentation/armyknife $appsDir/ArmyKnife/documentation/
cp documentation/changelog.txt $appsDir/ArmyKnife/documentation
cp bin/ArmyKnife $appsDir/ArmyKnife
addAppDeskbarSymlink $appsDir/ArmyKnife/ArmyKnife
}