diff options
author | kmoore <kmoore@FreeBSD.org> | 2014-08-09 23:54:11 +0800 |
---|---|---|
committer | kmoore <kmoore@FreeBSD.org> | 2014-08-09 23:54:11 +0800 |
commit | 79732e1ef5ff7bfcf52f8ddcc6fa4af33d3e02b3 (patch) | |
tree | d043c1f9c00233d71f270a56119baabc0e2083c0 /audio | |
parent | 628190fabfeb8c1639391774b2aea02d156ad50f (diff) | |
download | freebsd-ports-gnome-79732e1ef5ff7bfcf52f8ddcc6fa4af33d3e02b3.tar.gz freebsd-ports-gnome-79732e1ef5ff7bfcf52f8ddcc6fa4af33d3e02b3.tar.zst freebsd-ports-gnome-79732e1ef5ff7bfcf52f8ddcc6fa4af33d3e02b3.zip |
- Update to 1.0.0
Approved by: Maintainer
Diffstat (limited to 'audio')
-rw-r--r-- | audio/pithos/Makefile | 22 | ||||
-rw-r--r-- | audio/pithos/distinfo | 4 | ||||
-rw-r--r-- | audio/pithos/files/patch-setup.py | 37 | ||||
-rw-r--r-- | audio/pithos/pkg-plist | 27 |
4 files changed, 49 insertions, 41 deletions
diff --git a/audio/pithos/Makefile b/audio/pithos/Makefile index 891732d23c96..e7089644b5f9 100644 --- a/audio/pithos/Makefile +++ b/audio/pithos/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= pithos -PORTVERSION= 0.3.18 -PORTREVISION= 2 +PORTVERSION= 1.0.0 CATEGORIES= audio DISTNAME= ${PORTVERSION} @@ -15,19 +14,20 @@ LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= pithos GH_PROJECT= pithos -GH_COMMIT= 0770210 +GH_COMMIT= 1f5975e -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg \ - ${LOCALBASE}/libdata/pkgconfig/pygobject-2.0.pc:${PORTSDIR}/devel/py-gobject \ - ${LOCALBASE}/libdata/pkgconfig/notify-python.pc:${PORTSDIR}/devel/py-notify \ - ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus \ - ${PYTHON_PKGNAMEPREFIX}pylast>0:${PORTSDIR}/audio/py-pylast +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_PYTHON= yes -USE_GNOME= pygtk2 +USE_GNOME= gtk30 py3gobject3 +USE_PYTHON= 3 USE_PYDISTUTILS=yes -USE_GSTREAMER= good bad python +USE_GSTREAMER= core good bad PYDISTUTILS_AUTOPLIST= yes +INSTALLS_EGGINFO= yes post-install: ${MKDIR} ${STAGEDIR}${DATADIR} diff --git a/audio/pithos/distinfo b/audio/pithos/distinfo index 3096cec90a86..02e83376d85c 100644 --- a/audio/pithos/distinfo +++ b/audio/pithos/distinfo @@ -1,2 +1,2 @@ -SHA256 (0.3.18.tar.gz) = e676d455341c03cf271bffc698771713d42f86655f2171a493ffb1a74b51fdac -SIZE (0.3.18.tar.gz) = 115198 +SHA256 (1.0.0.tar.gz) = cc0173eef1266945d6f9cb58cdf53b9cb15434e72ffff5d28a0dd0af2e260f99 +SIZE (1.0.0.tar.gz) = 107150 diff --git a/audio/pithos/files/patch-setup.py b/audio/pithos/files/patch-setup.py index 54423c2d4035..2445832bd5ea 100644 --- a/audio/pithos/files/patch-setup.py +++ b/audio/pithos/files/patch-setup.py @@ -1,22 +1,23 @@ ---- setup.py 2013-12-05 06:59:17.000000000 -0800 -+++ setup.py 2014-01-01 23:25:57.944668958 -0800 -@@ -50,12 +50,13 @@ - 'License :: OSI Approved :: GPL License', - 'Programming Language :: Python' - ], -+ - data_files=[ -- ('/usr/share/icons/hicolor/scalable/apps', [ -+ ('share/pithos/icons/hicolor/scalable/apps', [ - 'data/icons/scalable/apps/pithos-mono.svg', - 'data/icons/scalable/apps/pithos.svg' - ]), +--- setup.py.orig 2014-05-01 18:33:16.000000000 -0400 ++++ setup.py 2014-07-24 20:19:53.091960936 -0400 +@@ -37,11 +37,11 @@ + + if sys.platform != 'win32': + data_files = [ +- ('/usr/share/icons/hicolor/scalable/apps', ['data/icons/hicolor/pithos.svg']), +- ('/usr/share/icons/hicolor/48x48/apps', ['data/icons/hicolor/pithos-tray-icon.png']), +- ('/usr/share/icons/ubuntu-mono-dark/apps/16', ['data/icons/ubuntu-mono-dark/pithos-tray-icon.svg']), +- ('/usr/share/icons/ubuntu-mono-light/apps/16', ['data/icons/ubuntu-mono-light/pithos-tray-icon.svg']), - ('/usr/share/applications', ['data/pithos.desktop']) -+ ('share/pithos/applications', ['data/pithos.desktop']) - ], - package_data={ - 'pithos': [ -@@ -70,6 +71,7 @@ ++ ('share/icons/hicolor/scalable/apps', ['data/icons/hicolor/pithos.svg']), ++ ('share/icons/hicolor/48x48/apps', ['data/icons/hicolor/pithos-tray-icon.png']), ++ ('share/icons/ubuntu-mono-dark/apps/16', ['data/icons/ubuntu-mono-dark/pithos-tray-icon.svg']), ++ ('share/icons/ubuntu-mono-light/apps/16', ['data/icons/ubuntu-mono-light/pithos-tray-icon.svg']), ++ ('share/applications', ['data/pithos.desktop']) + ] + else: + data_files = [] +@@ -78,6 +78,7 @@ ], packages=find_packages(), include_package_data=True, diff --git a/audio/pithos/pkg-plist b/audio/pithos/pkg-plist index 0726506656b8..e3681524c5d8 100644 --- a/audio/pithos/pkg-plist +++ b/audio/pithos/pkg-plist @@ -1,11 +1,14 @@ -%%DATADIR%%/media/pithos-mono.png -%%DATADIR%%/media/icon.png -%%DATADIR%%/media/rate_bg.svg %%DATADIR%%/media/album_default.png -%%DATADIR%%/media/rate_bg.png %%DATADIR%%/media/album_default.svg -%%DATADIR%%/icons/scalable/apps/pithos-mono.svg -%%DATADIR%%/icons/scalable/apps/pithos.svg +%%DATADIR%%/media/icon.svg +%%DATADIR%%/media/pithos-tray-icon.png +%%DATADIR%%/media/rate_bg.png +%%DATADIR%%/media/rate_bg.svg +%%DATADIR%%/icons/hicolor/pithos-tray-icon.png +%%DATADIR%%/icons/hicolor/pithos-tray-icon.svg +%%DATADIR%%/icons/hicolor/pithos.svg +%%DATADIR%%/icons/ubuntu-mono-dark/pithos-tray-icon.svg +%%DATADIR%%/icons/ubuntu-mono-light/pithos-tray-icon.svg %%DATADIR%%/pithos.desktop %%DATADIR%%/ui/PithosWindow.ui %%DATADIR%%/ui/preferences_pithos_dialog.xml @@ -17,7 +20,11 @@ %%DATADIR%%/ui/about_pithos_dialog.xml %%DATADIR%%/ui/SearchDialog.ui %%DATADIR%%/ui/StationsDialog.ui -@dirrm %%DATADIR%%/icons/scalable/apps -@dirrm %%DATADIR%%/icons/scalable -@dirrm %%DATADIR%%/media -@dirrm %%DATADIR%%/ui +%%DATADIR%%/ui/app_menu.ui +@dirrmtry %%DATADIR%%/icons/hicolor +@dirrmtry %%DATADIR%%/icons/ubuntu-mono-dark +@dirrmtry %%DATADIR%%/icons/ubuntu-mono-light +@dirrmtry %%DATADIR%%/icons +@dirrmtry %%DATADIR%%/media +@dirrmtry %%DATADIR%%/ui +@dirrmtry %%DATADIR%% |