Recipe to package 3DMov (#1799)

Made with mmu_man for practising my packaging skills at KDC.
This commit is contained in:
oco27
2017-11-23 20:03:35 +01:00
committed by waddlesplash
parent 1b91a72b2f
commit 9b6608b339

View File

@@ -0,0 +1,52 @@
SUMMARY="Play movies on 3D objects"
DESCRIPTION="Haiku version of the famous BeInc demo 3Dmov.
Just drag'n'drop media files to the 3D objects.
See the famous video at : https://www.youtube.com/watch?v=BsVydyC8ZGQ."
HOMEPAGE="https://github.com/HaikuArchives/3DMov"
COPYRIGHT="Zenja Solaja
2009 Haiku Inc"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/3DMov/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="973ff84de9dd601e94e6912a2613088fd5fd851c615f81aaae6991922862fc47"
SOURCE_DIR="3DMov-$portVersion"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
3dmov = $portVersion
app:3dmov = $portVersion
"
REQUIRES="
haiku
lib:libgl
"
BUILD_REQUIRES="
haiku_devel
devel:libgl
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
"
BUILD()
{
cd src
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
cd src
mkdir -p $appsDir
cp -a objects/3DMov $appsDir
addAppDeskbarSymlink $appsDir/3DMov
}
TEST()
{
make check
}