Files
haikuports/haiku-apps/armyknife/armyknife-5.1.0.recipe
2017-10-12 21:04:44 +02: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 ID3 tags. You can \
copy data to and from ID3 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
2015-2016 Markus Himmel"
LICENSE="MIT"
REVISION="4"
srcGitRev="f31ef34748a0cb2cc77fff788085cffd84cd2204"
SOURCE_URI="https://github.com/HaikuArchives/ArmyKnife/archive/$srcGitRev.zip"
CHECKSUM_SHA256="0b6e92953a2779ccd477b9ac25a8e364141aa903446db7be09c0233c0623f550"
SOURCE_DIR="ArmyKnife-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86 x86_64"
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:gcc
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/armyknife_changelog.txt $appsDir/ArmyKnife/Documentation
cp bin/ArmyKnife $appsDir/ArmyKnife
addAppDeskbarSymlink $appsDir/ArmyKnife/ArmyKnife
}