streamradio-0.0.3_14.recipe revision c53247d4
1SUMMARY="Find and listen to internet radio stations"
2DESCRIPTION="'StreamRadio' helps you find and listen to internet radio \
3streams."
4HOMEPAGE="https://github.com/fishpond-haiku/Haiku-Radio"
5COPYRIGHT="2017 Kai Niessen"
6LICENSE="MIT"
7REVISION="3"
8srcGitRev="26f3bbda29da165c849d246038af98e17270249c"
9SOURCE_URI="https://github.com/fishpond-haiku/Haiku-Radio/archive/$srcGitRev.tar.gz"
10CHECKSUM_SHA256="05a015706082618e7282db537852aa697b949cb1a34f698733d0b69131938d3b"
11SOURCE_DIR="Haiku-Radio-$srcGitRev"
12PATCHES="streamradio-$portVersion.patchset"
13
14ARCHITECTURES="x86_gcc2 x86_64"
15
16USER_SETTINGS_FILES="
17	settings/StreamRadio.settings
18	"
19
20PROVIDES="
21	streamradio = $portVersion
22	app:StreamRadio = $portVersion
23	"
24REQUIRES="
25	haiku
26	lib:libxml2
27	"
28
29BUILD_REQUIRES="
30	haiku_devel
31	devel:libxml2
32	"
33BUILD_PREREQUIRES="
34	makefile_engine
35	cmd:gcc
36	cmd:make
37	"
38
39BUILD()
40{
41	mkdir -p dist
42	make $jobArgs
43}
44
45INSTALL()
46{
47	mkdir -p $appsDir
48	mv ./dist/StreamRadio $appsDir
49
50	addAppDeskbarSymlink $appsDir/StreamRadio
51}
52