# Template file for 'gtkpod'
pkgname=gtkpod
version=2.1.5
revision=4
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="flex intltool pkg-config glib"
makedepends="libcurl-devel libflac-devel libgpod-devel libmusicbrainz5-devel
 libdiscid-devel clutter-gtk-devel libmp4v2-devel libvorbis-devel
 libid3tag-devel faad2-devel gst-plugins-base1-devel gdl-devel anjuta-devel"
short_desc="Platform independent GUI for Apple's iPod using GTK3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.gtkpod.org/libgpod"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76
# Line 55: print in python 2 style
python_version=2

CFLAGS="-fcommon"

post_patch() {
	vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}
