mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
59 lines
1.4 KiB
Bash
59 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"
|
|
LICENSE="MIT"
|
|
REVISION="3"
|
|
commit="49f9a12cf288b061449edf5049e5de6a6501093c"
|
|
SOURCE_URI="$HOMEPAGE/archive/$commit.tar.gz"
|
|
SOURCE_DIR="ArmyKnife-$commit"
|
|
SOURCE_FILENAME="$portName-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="e223d01114256e1e57291fdb8cd22eb3c5c1e034a41971d7a283433c6344d786"
|
|
|
|
ARCHITECTURES="x86_gcc2 !x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 !x86"
|
|
|
|
PROVIDES="
|
|
armyknife = $portVersion
|
|
app:ArmyKnife = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libtag$secondaryArchSuffix
|
|
lib:libsanta$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
taglib${secondaryArchSuffix}_devel
|
|
libsanta${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:find
|
|
cmd:make
|
|
cmd:unzip
|
|
cmd:xargs
|
|
cmd:zip
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make zipfile
|
|
|
|
mkdir -p $appsDir
|
|
unzip release/ArmyKnife-*.zip -d $appsDir
|
|
|
|
addAppDeskbarSymlink $appsDir/ArmyKnife/ArmyKnife
|
|
}
|