diff options
author | olivierd <olivierd@FreeBSD.org> | 2015-05-01 01:09:04 +0800 |
---|---|---|
committer | olivierd <olivierd@FreeBSD.org> | 2015-05-01 01:09:04 +0800 |
commit | 1a85479538dd97f2f5112c08eb0acbd1526a2869 (patch) | |
tree | 90035297eb26140479db748fad9346cd1737a767 /audio/lollypop | |
parent | 65fa2b192965d59198dd497e2092a2d48539c130 (diff) | |
download | freebsd-ports-gnome-1a85479538dd97f2f5112c08eb0acbd1526a2869.tar.gz freebsd-ports-gnome-1a85479538dd97f2f5112c08eb0acbd1526a2869.tar.zst freebsd-ports-gnome-1a85479538dd97f2f5112c08eb0acbd1526a2869.zip |
Update to 0.9.15
Diffstat (limited to 'audio/lollypop')
-rw-r--r-- | audio/lollypop/Makefile | 5 | ||||
-rw-r--r-- | audio/lollypop/distinfo | 4 | ||||
-rw-r--r-- | audio/lollypop/files/patch-src_application.py | 67 | ||||
-rw-r--r-- | audio/lollypop/pkg-plist | 112 |
4 files changed, 111 insertions, 77 deletions
diff --git a/audio/lollypop/Makefile b/audio/lollypop/Makefile index b4d8ca686369..7f4ebaefeb1f 100644 --- a/audio/lollypop/Makefile +++ b/audio/lollypop/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= lollypop -PORTVERSION= 0.9.11 +PORTVERSION= 0.9.15 CATEGORIES= audio MASTER_SITES= https://github.com/gnumdk/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTNAME}/releases/download/${PORTVERSION} @@ -16,7 +16,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.8:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}dbus>=1.1.1:${PORTSDIR}/devel/py3-dbus \ ${PYTHON_PKGNAMEPREFIX}gstreamer1>=1.4.0:${PORTSDIR}/multimedia/py3-gstreamer1 -LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify +LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify \ + libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser USES= shebangfix python:3 pkgconfig gettext gmake tar:xz GNU_CONFIGURE= yes diff --git a/audio/lollypop/distinfo b/audio/lollypop/distinfo index 64e61c026c2a..2a4ad74b2414 100644 --- a/audio/lollypop/distinfo +++ b/audio/lollypop/distinfo @@ -1,2 +1,2 @@ -SHA256 (lollypop-0.9.11.tar.xz) = 5ec85d3a860cb3e360a3bf6e94d1d544f8001af7bb26f47435653376ee3f7c64 -SIZE (lollypop-0.9.11.tar.xz) = 375140 +SHA256 (lollypop-0.9.15.tar.xz) = 7d86463fe229cecc779db3db98f720dbb1b8ee97144fb7f7e242650c510bc960 +SIZE (lollypop-0.9.15.tar.xz) = 397220 diff --git a/audio/lollypop/files/patch-src_application.py b/audio/lollypop/files/patch-src_application.py index bcdd0fde1c26..48fcb535883c 100644 --- a/audio/lollypop/files/patch-src_application.py +++ b/audio/lollypop/files/patch-src_application.py @@ -1,63 +1,10 @@ ---- src/application.py.orig 2015-04-17 13:26:29 UTC +--- src/application.py.orig 2015-04-30 06:37:18 UTC +++ src/application.py -@@ -11,7 +11,7 @@ - # You should have received a copy of the GNU General Public License - # along with this program. If not, see <http://www.gnu.org/licenses/>. +@@ -326,6 +326,7 @@ class Application(Gtk.Application): --from gi.repository import Gtk, Gio, GLib, Gdk, Notify, TotemPlParser -+from gi.repository import Gtk, Gio, GLib, Gdk, Notify - from locale import getlocale + helpAction = Gio.SimpleAction.new('help', None) + helpAction.connect('activate', self._help) ++ helpAction.set_enabled(False) + self.set_accels_for_action('app.help', ["<Control>h"]) + self.add_action(helpAction) - from lollypop.utils import is_audio, is_gnome -@@ -75,9 +75,6 @@ class Application(Gtk.Application): - dark = Objects.settings.get_value('dark-ui') - settings.set_property("gtk-application-prefer-dark-theme", dark) - -- self._parser = TotemPlParser.Parser.new() -- self._parser.connect("entry-parsed", self._on_entry_parsed) -- self._parser.connect("playlist-ended", self._on_playlist_ended) - self._parsing = 0 - - self.add_action(Objects.settings.create_action('shuffle')) -@@ -140,10 +137,7 @@ class Application(Gtk.Application): - def do_open(self, files, hint, data): - self._external_files = [] - for f in files: -- if self._parser.parse(f.get_uri(), False) ==\ -- TotemPlParser.ParserResult.SUCCESS: -- self._parsing += 1 -- elif is_audio(f): -+ if is_audio(f): - self._external_files.append(f.get_path()) - if not Objects.window.is_visible(): - self.do_activate() -@@ -185,29 +179,6 @@ class Application(Gtk.Application): - # PRIVATE # - ####################### - """ -- Add playlist entry to external files -- @param parser as TotemPlParser.Parser -- @param track uri as str -- @param metadata as GLib.HastTable -- """ -- def _on_entry_parsed(self, parser, uri, metadata): -- # Check if it's really a file uri -- if uri.startswith('file://'): -- self._external_files.append(GLib.filename_from_uri(uri)[0]) -- else: -- self._external_files.append(uri) -- -- """ -- Load tracks if no parsing running -- @param parser as TotemPlParser.Parser -- @param playlist uri as str -- """ -- def _on_playlist_ended(self, parser, uri): -- self._parsing -= 1 -- if self._parsing == 0: -- Objects.window.load_external(self._external_files) -- -- """ - Hide window - @param widget as Gtk.Widget - @param event as Gdk.Event diff --git a/audio/lollypop/pkg-plist b/audio/lollypop/pkg-plist index d32f1ed6daff..b83510164c93 100644 --- a/audio/lollypop/pkg-plist +++ b/audio/lollypop/pkg-plist @@ -1,7 +1,4 @@ bin/lollypop -%%PYTHON_SITELIBDIR%%/lollypop/album_widgets.py -%%PYTHON_SITELIBDIR%%/lollypop/album_widgets.pyc -%%PYTHON_SITELIBDIR%%/lollypop/album_widgets.pyo %%PYTHON_SITELIBDIR%%/lollypop/albumart.py %%PYTHON_SITELIBDIR%%/lollypop/albumart.pyc %%PYTHON_SITELIBDIR%%/lollypop/albumart.pyo @@ -29,9 +26,6 @@ bin/lollypop %%PYTHON_SITELIBDIR%%/lollypop/database_tracks.py %%PYTHON_SITELIBDIR%%/lollypop/database_tracks.pyc %%PYTHON_SITELIBDIR%%/lollypop/database_tracks.pyo -%%PYTHON_SITELIBDIR%%/lollypop/devicemanager.py -%%PYTHON_SITELIBDIR%%/lollypop/devicemanager.pyc -%%PYTHON_SITELIBDIR%%/lollypop/devicemanager.pyo %%PYTHON_SITELIBDIR%%/lollypop/define.py %%PYTHON_SITELIBDIR%%/lollypop/define.pyc %%PYTHON_SITELIBDIR%%/lollypop/define.pyo @@ -47,9 +41,27 @@ bin/lollypop %%PYTHON_SITELIBDIR%%/lollypop/player.py %%PYTHON_SITELIBDIR%%/lollypop/player.pyc %%PYTHON_SITELIBDIR%%/lollypop/player.pyo -%%PYTHON_SITELIBDIR%%/lollypop/playlist_widgets.py -%%PYTHON_SITELIBDIR%%/lollypop/playlist_widgets.pyc -%%PYTHON_SITELIBDIR%%/lollypop/playlist_widgets.pyo +%%PYTHON_SITELIBDIR%%/lollypop/player_base.py +%%PYTHON_SITELIBDIR%%/lollypop/player_base.pyc +%%PYTHON_SITELIBDIR%%/lollypop/player_base.pyo +%%PYTHON_SITELIBDIR%%/lollypop/player_bin.py +%%PYTHON_SITELIBDIR%%/lollypop/player_bin.pyc +%%PYTHON_SITELIBDIR%%/lollypop/player_bin.pyo +%%PYTHON_SITELIBDIR%%/lollypop/player_linear.py +%%PYTHON_SITELIBDIR%%/lollypop/player_linear.pyc +%%PYTHON_SITELIBDIR%%/lollypop/player_linear.pyo +%%PYTHON_SITELIBDIR%%/lollypop/player_queue.py +%%PYTHON_SITELIBDIR%%/lollypop/player_queue.pyc +%%PYTHON_SITELIBDIR%%/lollypop/player_queue.pyo +%%PYTHON_SITELIBDIR%%/lollypop/player_rg.py +%%PYTHON_SITELIBDIR%%/lollypop/player_rg.pyc +%%PYTHON_SITELIBDIR%%/lollypop/player_rg.pyo +%%PYTHON_SITELIBDIR%%/lollypop/player_shuffle.py +%%PYTHON_SITELIBDIR%%/lollypop/player_shuffle.pyc +%%PYTHON_SITELIBDIR%%/lollypop/player_shuffle.pyo +%%PYTHON_SITELIBDIR%%/lollypop/player_userplaylist.py +%%PYTHON_SITELIBDIR%%/lollypop/player_userplaylist.pyc +%%PYTHON_SITELIBDIR%%/lollypop/player_userplaylist.pyo %%PYTHON_SITELIBDIR%%/lollypop/playlists.py %%PYTHON_SITELIBDIR%%/lollypop/playlists.pyc %%PYTHON_SITELIBDIR%%/lollypop/playlists.pyo @@ -74,23 +86,95 @@ bin/lollypop %%PYTHON_SITELIBDIR%%/lollypop/settings.py %%PYTHON_SITELIBDIR%%/lollypop/settings.pyc %%PYTHON_SITELIBDIR%%/lollypop/settings.pyo +%%PYTHON_SITELIBDIR%%/lollypop/tagreader.py +%%PYTHON_SITELIBDIR%%/lollypop/tagreader.pyc +%%PYTHON_SITELIBDIR%%/lollypop/tagreader.pyo %%PYTHON_SITELIBDIR%%/lollypop/toolbar.py %%PYTHON_SITELIBDIR%%/lollypop/toolbar.pyc %%PYTHON_SITELIBDIR%%/lollypop/toolbar.pyo -%%PYTHON_SITELIBDIR%%/lollypop/tracks.py -%%PYTHON_SITELIBDIR%%/lollypop/tracks.pyc -%%PYTHON_SITELIBDIR%%/lollypop/tracks.pyo %%PYTHON_SITELIBDIR%%/lollypop/utils.py %%PYTHON_SITELIBDIR%%/lollypop/utils.pyc %%PYTHON_SITELIBDIR%%/lollypop/utils.pyo %%PYTHON_SITELIBDIR%%/lollypop/view.py %%PYTHON_SITELIBDIR%%/lollypop/view.pyc %%PYTHON_SITELIBDIR%%/lollypop/view.pyo +%%PYTHON_SITELIBDIR%%/lollypop/view_album.py +%%PYTHON_SITELIBDIR%%/lollypop/view_album.pyc +%%PYTHON_SITELIBDIR%%/lollypop/view_album.pyo +%%PYTHON_SITELIBDIR%%/lollypop/view_container.py +%%PYTHON_SITELIBDIR%%/lollypop/view_container.pyc +%%PYTHON_SITELIBDIR%%/lollypop/view_container.pyo +%%PYTHON_SITELIBDIR%%/lollypop/view_device.py +%%PYTHON_SITELIBDIR%%/lollypop/view_device.pyc +%%PYTHON_SITELIBDIR%%/lollypop/view_device.pyo +%%PYTHON_SITELIBDIR%%/lollypop/view_playlists.py +%%PYTHON_SITELIBDIR%%/lollypop/view_playlists.pyc +%%PYTHON_SITELIBDIR%%/lollypop/view_playlists.pyo +%%PYTHON_SITELIBDIR%%/lollypop/widgets_album.py +%%PYTHON_SITELIBDIR%%/lollypop/widgets_album.pyc +%%PYTHON_SITELIBDIR%%/lollypop/widgets_album.pyo +%%PYTHON_SITELIBDIR%%/lollypop/widgets_device.py +%%PYTHON_SITELIBDIR%%/lollypop/widgets_device.pyc +%%PYTHON_SITELIBDIR%%/lollypop/widgets_device.pyo +%%PYTHON_SITELIBDIR%%/lollypop/widgets_playlist.py +%%PYTHON_SITELIBDIR%%/lollypop/widgets_playlist.pyc +%%PYTHON_SITELIBDIR%%/lollypop/widgets_playlist.pyo +%%PYTHON_SITELIBDIR%%/lollypop/widgets_track.py +%%PYTHON_SITELIBDIR%%/lollypop/widgets_track.pyc +%%PYTHON_SITELIBDIR%%/lollypop/widgets_track.pyo %%PYTHON_SITELIBDIR%%/lollypop/window.py %%PYTHON_SITELIBDIR%%/lollypop/window.pyc %%PYTHON_SITELIBDIR%%/lollypop/window.pyo share/appdata/lollypop.appdata.xml share/applications/lollypop.desktop +share/help/C/lollypop/figures/lollypop-logo.png +share/help/C/lollypop/index.page +share/help/C/lollypop/legal.xml +share/help/ca/lollypop/figures/lollypop-logo.png +share/help/ca/lollypop/index.page +share/help/ca/lollypop/legal.xml +share/help/cs/lollypop/figures/lollypop-logo.png +share/help/cs/lollypop/index.page +share/help/cs/lollypop/legal.xml +share/help/de/lollypop/figures/lollypop-logo.png +share/help/de/lollypop/index.page +share/help/de/lollypop/legal.xml +share/help/es/lollypop/figures/lollypop-logo.png +share/help/es/lollypop/index.page +share/help/es/lollypop/legal.xml +share/help/fi/lollypop/figures/lollypop-logo.png +share/help/fi/lollypop/index.page +share/help/fi/lollypop/legal.xml +share/help/fr/lollypop/figures/lollypop-logo.png +share/help/fr/lollypop/index.page +share/help/fr/lollypop/legal.xml +share/help/he/lollypop/figures/lollypop-logo.png +share/help/he/lollypop/index.page +share/help/he/lollypop/legal.xml +share/help/it/lollypop/figures/lollypop-logo.png +share/help/it/lollypop/index.page +share/help/it/lollypop/legal.xml +share/help/nl/lollypop/figures/lollypop-logo.png +share/help/nl/lollypop/index.page +share/help/nl/lollypop/legal.xml +share/help/pl/lollypop/figures/lollypop-logo.png +share/help/pl/lollypop/index.page +share/help/pl/lollypop/legal.xml +share/help/pt_BR/lollypop/figures/lollypop-logo.png +share/help/pt_BR/lollypop/index.page +share/help/pt_BR/lollypop/legal.xml +share/help/ru/lollypop/figures/lollypop-logo.png +share/help/ru/lollypop/index.page +share/help/ru/lollypop/legal.xml +share/help/sk/lollypop/figures/lollypop-logo.png +share/help/sk/lollypop/index.page +share/help/sk/lollypop/legal.xml +share/help/sr/lollypop/figures/lollypop-logo.png +share/help/sr/lollypop/index.page +share/help/sr/lollypop/legal.xml +share/help/uk/lollypop/figures/lollypop-logo.png +share/help/uk/lollypop/index.page +share/help/uk/lollypop/legal.xml share/icons/hicolor/16x16/apps/lollypop.png share/icons/hicolor/22x22/apps/lollypop.png share/icons/hicolor/256x256/apps/lollypop.png @@ -100,12 +184,14 @@ share/locale/ca/LC_MESSAGES/lollypop.mo share/locale/cs/LC_MESSAGES/lollypop.mo share/locale/de/LC_MESSAGES/lollypop.mo share/locale/es/LC_MESSAGES/lollypop.mo -share/locale/fr/LC_MESSAGES/lollypop.mo share/locale/fi/LC_MESSAGES/lollypop.mo +share/locale/fr/LC_MESSAGES/lollypop.mo share/locale/he/LC_MESSAGES/lollypop.mo share/locale/it/LC_MESSAGES/lollypop.mo share/locale/nl/LC_MESSAGES/lollypop.mo share/locale/pl/LC_MESSAGES/lollypop.mo share/locale/pt_BR/LC_MESSAGES/lollypop.mo share/locale/sk/LC_MESSAGES/lollypop.mo +share/locale/sr/LC_MESSAGES/lollypop.mo +share/locale/uk/LC_MESSAGES/lollypop.mo %%DATADIR%%/lollypop.gresource |