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 Haiku's BFS file system
- Integrated podcast, videoblog, imagefeeds, BitTorrentfeeds, newsfeeds and \
Internationalfeeds, 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
- Proxy support
- Automatic channels check
- Up to 5 enclosure downloads at the same time (multi-threading)"
HOMEPAGE="https://github.com/HaikuArchives/BePodder"
COPYRIGHT="2006-2014 Funky Idea Software"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="bce88aefa270f6d38227f83bcfab0745fd82fb9684599ef130544a2574dd7e5d"
SOURCE_DIR="BePodder-$portVersion"

ARCHITECTURES="all"

PROVIDES="
	bepodder = $portVersion
	app:BePodder = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	lib:libcurl$secondaryArchSuffix
	lib:libxml2$secondaryArchSuffix
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	devel:libcurl$secondaryArchSuffix
	devel:libxml2$secondaryArchSuffix
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc$secondaryArchSuffix
	cmd:make
	"

BUILD()
{
	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/BePodder
	cp sources/objects/BePodder $appsDir/BePodder
	cp -r release/* $appsDir/BePodder

	addAppDeskbarSymlink $appsDir/BePodder/BePodder
}
