<?xml version="1.0"?>
<package name="weather-wallpaper">
	<description>A program which connects to NOAA each hour to get the current weather at the specified location and creates and sets a wallpaper with the data retrieved</description>
	<!-- URL: http://mundogeek.net/weather-wallpaper -->
	<!-- Maintainer: Marc 'marcbroe' Broekhuis -->
	<releases>
		<release version="0.2.0-1" revision="2" branch="stable">
			<deps>
				<dep name="inkscape"/>
				<dep name="ImageMagick"/>
				<dep name="pygtk"/>
				<dep name="pymetar"/>
				<dep name="Python"/>
			</deps>
			<build>
				<script>
					<archive name="weather-wallpaper_$VERSION">
						<!-- Made patch to fix the bug of the wallpaper size, sent it upstream: https://bugs.launchpad.net/weather-wallpaper/+bug/247636 -->
						<patch name="weather-wallpaper_0.2.0-1-wallpapersize"/>
						<!-- Made patch to fix the bug regarding the location of the block of text on wallpaper, sent it upstream: https://bugs.launchpad.net/weather-wallpaper/+bug/247726 -->
						<patch name="weather-wallpaper_0.2.0-1-location-text"/>
						<cmd>sed -i -e 's/input_img = os.path.join(path, "images", image + ".svg")/input_img = os.path.join(path, "images", "%s.svg" % image)/' weather-wallpaper</cmd>
						<cmd>make install</cmd>
					</archive>
				</script>
			</build>
		</release>
	</releases>
</package>
