aboutsummaryrefslogtreecommitdiffstats
path: root/audio/pithos/Makefile
blob: ee8436cbd89c226587d1b8e0235a1a769dc8daa8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: John Hixson <john@pcbsd.org>
# $FreeBSD$

PORTNAME=   pithos
PORTVERSION=    1.0.0
PORTREVISION=   2
CATEGORIES= audio
DISTNAME=   ${PORTVERSION}

MAINTAINER= john@pcbsd.org
COMMENT=    Pandora client for the GNOME desktop

LICENSE=    GPLv3

USE_GITHUB= yes
GH_ACCOUNT= pithos
GH_PROJECT= pithos
GH_COMMIT=  1f5975e

RUN_DEPENDS+=   ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py3-xdg \
        ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py3-dbus \
        ${PYTHON_SITELIBDIR}/gi/overrides/Gst.py:${PORTSDIR}/multimedia/py3-gstreamer1 \
        ${PYTHON_PKGNAMEPREFIX}pylast>0:${PORTSDIR}/audio/py3-pylast \
        git:${PORTSDIR}/devel/git

USE_GNOME=  gtk30 py3gobject3
USES=       python:3
USE_PYTHON= distutils autoplist
USE_GSTREAMER=  core good bad soup

post-install:
    ${MKDIR} ${STAGEDIR}${DATADIR}
    (cd ${WRKSRC}/data/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR})
    (cd ${WRKSRC}/pithos/data/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR})

.include <bsd.port.mk>