SUMMARY="An image viewer/organiser designed for BeOS-compatible systems"
DESCRIPTION="
Album is a file browsing and tagging utility for BeOS and compatibles. It \
started out with a goal of the ultimate image organiser (code named \
Aberration), but ended up as something much more modest and BeOS-specific. The \
idea is to have a work pad for pictures from different locations where they \
can be previewed and tagged in one place. The program is not limited to \
picture files and BFS (Be File System) volumes, although that further limits \
whatever the usefulness since much of the functionality has to do with file \
attributes.
"
HOMEPAGE="http://users.volja.net/mkovac1/proj/album/"
SRC_URI="git://github.com/HaikuArchives/Album#64aa3371a9"
LICENSE="MIT"
COPYRIGHT="2006-2009 by Matjaž Kovač"
REVISION="3"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
	Album = $portVersion
	app:Album = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	cmd:mkdepend
	"

PATCHES="album-0.9.2.patchset"

USER_SETTINGS_FILES="
	settings/Album_settings
	"

BUILD()
{
	cd src
	make OBJ_DIR=objects \
		BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

INSTALL()
{
	mkdir -p $appsDir
	cp -a src/objects/Album $appsDir
	addAppDeskbarSymlink $appsDir/Album
}
