# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name gtkpod version 2.0.2 revision 1 categories multimedia gnome platforms darwin maintainers rmstonecipher openmaintainer description gtkpod is a platform independent Graphical User Interface for Apple's iPod using GTK2.gpod is a library to access the contents of an iPod. long_description ${description} It supports the first to fifth Generation including the iPod mini, iPod Photo, iPod Shuffle, iPod nano, and iPod Video. homepage http://www.gtkpod.org/ master_sites sourceforge:gtkpod license GPL-2+ LGPL-2+ checksums md5 a24d4b882fa1e71c486ee90d87c7ce45 \ sha1 d93e7618653d00a8bc845fd070305c5b38eea1e8 \ rmd160 0810947c013c137f57599a999f63d07d6710b6c7 depends_build port:pkgconfig \ port:intltool depends_lib port:anjuta \ port:curl \ port:faad2 \ port:flex \ port:flac \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:libgpod \ port:libid3tag \ path:lib/libmp4v2.dylib:mp4v2 \ port:libvorbis \ port:webkit-gtk use_autoconf yes # python-related tweaks set python.branch 2.7 set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch} set python.bin ${python.prefix}/bin/python${python.branch} configure.args-append --prefix=${python.prefix} configure.env-append PYGOBJECT_CODEGEN=${python.prefix}/bin/pygobject-codegen-2.0 configure.pkg_config_path ${python.prefix}/lib/pkgconfig options python.link_binaries python.link_binaries_suffix default python.link_binaries yes default python.link_binaries_suffix {-${python.branch}} post-destroot { if {${python.link_binaries}} { foreach bin [glob -nocomplain -tails -directory "${destroot}${python.prefix}/bin" *] { if {[catch {file type "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}"}]} { ln -s "${python.prefix}/bin/${bin}" "${destroot}${prefix}/bin/${bin}${python.link_binaries_suffix}" } } } } patchfiles patch-configure.ac.diff \ patch-mp4file.c.diff \ patch-use_extern.diff \ patch_glib_2.30_G_CONST_RETURN.diff livecheck.type regex livecheck.url http://sourceforge.net/projects/gtkpod/files/gtkpod/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"