Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
104 lines (80 sloc) 3.4 KB
# -*- 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
PortSystem 1.0
name gpodder
version 3.9.6
categories gnome audio
license GPL-3
maintainers {elelay @elelay}
platforms darwin
description A media aggregator and podcast client
long_description gPodder is a standalone podcast manager. \
It provides anything to manage feeds and podcasts \
but requires an external player to actually listen/view \
the content, e.g. Apple QuickTime Player.
distfiles ${version}.tar.gz
checksums rmd160 a104f2f22e80c7f693b784bb190706ac3ff6d43d \
sha256 5ae1c6d4337834fd29697250dffd439bd3f234a6878ef461b53cd218898b5e72
depends_build port:help2man\
depends_lib port:vorbis-tools\
port:lame \
port:py27-podcastparser \
port:dbus-python27 \
port:py27-mygpoclient \
set python.version 27
set python.branch "[string range ${python.version} 0 end-1].[string index ${python.version} end]"
set my_python "${frameworks_dir}/Python.framework/Versions/${python.branch}"
post-patch {
reinplace s|python|${my_python}/bin/python|g ${worksrcpath}/makefile
# DISPLAY is not needed with quartz
if {[variant_isset quartz]} {
reinplace -E {s|if not gpodder.ui.win32|if not gpodder.ui.osx|} \
# install in python 2.7 prefix
destroot.args PREFIX=${my_python}
# Install the apps in the standard path :
post-destroot {
foreach {app} {gpodder gpo gpodder-backup gpodder-migrate2tres} {
ln -s ${my_python}/bin/${app} ${destroot}${prefix}/bin/${app}
variant quartz {
depends_lib-append port:py27-gtk-osx-application-gtk2
post-destroot {
# Command-XX shortcuts in gPodder menus
system "/usr/bin/xsltproc -o ${destroot}${my_python}/share/gpodder/ui/gtk/gpodder.ui \
${filespath}/adjust-modifiers.xsl ${worksrcpath}/share/gpodder/ui/gtk/gpodder.ui"
variant html_notes description {Use WebkitGtk+ to show episode notes in HTML format} {
notes-append "HTML shownotes are not available in this version of gPodder"
use_configure no
build {}
post-destroot {
# build a MacOS X application
set install_path "${my_python}"
system "cd ${worksrcpath}/tools/mac-osx && make \
OSXVERSION=\"${os.platform}${os.major}\" all"
# ticket #39613 gPodder +x11 keeps bouncing otherwise
if {![variant_isset quartz]} {
reinplace -E {s|(<string>org.gpodder.gpodder</string>)|\1 <key>LSUIElement</key><string>1</string>|} \
notes-append "
To subscribe to YouTube user feeds (e.g. yt:gobelins),
you must enter a google API key.
See for detailed instructions.
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex "gpodder-(\\d+(?:\\.\\d+)*)${extract.suffix}"