SUMMARY="A media aggregator (and more)"
DESCRIPTION="
BePodder helps you to find, subscribe to, and download multimedia contents.
It allows you to easily enjoy audio, video, images and news published around \
the web in RSS format. It's a Podcaster software.

BePodder includes many cool features:
 * Easy to use yet powerful Graphical User Interface
 * Handles all news/podcast feeds in RSS 0.9, 2.0, Atom, RDF and iTunes
 * Fully integrated with BFS
 * Integrated podcast, videoblog, imagefeeds, BitTorrentfeeds, newsfeeds and \
Iternationalfeeds built-in OPML directories with thousands of feeds
 * Advanced channels/lists management with drag and drop support
 * Easy to integrate with other applications like BitTorrent / Installer / \
Unzip / etc.
 * Players integration with a new Auto option
 * BePodder is 100% adwares/spywares free
 * You don't need an iPod or any kind of MP3 player to use and enjoy BePodder
 * The same licence-keyfile can be use on to unlock BeOS R5, Haiku and Zeta \
 version

The registered version adds some more nice features:
 * Unlimited number of channels
 * Small Channel view
 * Proxy support
 * Automatic channels check
 * Up to 5 enclosure downloads at the same time (multithreading)

BePodder is freeware, you need to install BePodder FREE licence key-file.
"
HOMEPAGE="https://github.com/HaikuArchives/BePodder"
SOURCE_URI="git://github.com/HaikuArchives/BePodder#0e3877a"
COPYRIGHT="2006-2007 Funky Idea Software"
LICENSE="MIT"
REVISION="1"

ARCHITECTURES="x86_gcc2 x86 ?x86_64"

PROVIDES="
	bepodder = $portVersion
	app:BePodder = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	lib:libcurl$secondaryArchSuffix
	lib:libxml2$secondaryArchSuffix
	"
BUILD_REQUIRES="
	devel:libcurl$secondaryArchSuffix
	devel:libxml2$secondaryArchSuffix
	"
BUILD_PREREQUIRES="
	haiku${secondaryArchSuffix}_devel
	cmd:gcc$secondaryArchSuffix
	cmd:make
	makefile_engine
	"

BUILD()
{
	make $jobArgs -C library/libclv
	make $jobArgs -C library/libfish
	make $jobArgs -C library/libfunky
	make $jobArgs -C library/librunview
	make $jobArgs OBJ_DIR=objects -C sources
}

INSTALL()
{
	mkdir -p $appsDir
	cp -r sources/objects/BePodder $appsDir
	
	addAppDeskbarSymlink $appsDir/BePodder
}
