Merge pull request #409 from TwoFX/armyknife

Update ArmyKnife to 5.1.0
This commit is contained in:
diversys
2016-01-19 19:05:27 +03:00

View File

@@ -0,0 +1,56 @@
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="1"
SOURCE_REVISION="73dbd884fbf78b3d81f8a05b0c8be7470a91b5b9"
SOURCE_URI="https://github.com/HaikuArchives/ArmyKnife/archive/${SOURCE_REVISION}.zip"
CHECKSUM_SHA256="e4ecd4be23e15466bb92c424a0ebf823fab0dbfdea696808c1a6391959589c24"
SOURCE_DIR="ArmyKnife-${SOURCE_REVISION}"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
armyknife = $portVersion
app:ArmyKnife = $portVersion
"
REQUIRES="
haiku
lib:libtag
lib:libmusicbrainz5
"
BUILD_REQUIRES="
haiku_devel
taglib_devel
musicbrainz_devel
makefile_engine
"
BUILD_PREREQUIRES="
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/Documenation/
cp documentation/armyknife_changelog.txt $appsDir/ArmyKnife/Documentation
cp bin/ArmyKnife $appsDir/ArmyKnife
addAppDeskbarSymlink $appsDir/ArmyKnife/ArmyKnife
}