diff --git a/Readme.md b/Readme.md index 70e729b..0b54957 100644 --- a/Readme.md +++ b/Readme.md @@ -203,6 +203,18 @@ Homepage: [Pidgin Themes - Windows Live Messenger smilies](http://www.pidginthemes.com/smilies/windows%20live%20messenger/) +**plasma-workspace-wallpaper-video** + +Video and video playlist background for Plasma 5/KDE5 desktop. + +For details, please see the following KDE forum topic: + +[Video and HTML wallpaper types - KDE Community Forums](https://forum.kde.org/viewtopic.php?f=289&t=131783) + +NOTE: The video background may still be buggy. For example, I lose the background video immediately after closing the desktop settings window. I may miss some dependencies but couldn't been able to narrow down the issue yet. + +FORMAT: Arch Linux PKGBUILD script + source files. + **playonlinux** -------------- diff --git a/plasma-workspace-wallpaper-video/PKGBUILD b/plasma-workspace-wallpaper-video/PKGBUILD new file mode 100644 index 0000000..79a2e93 --- /dev/null +++ b/plasma-workspace-wallpaper-video/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=plasma-workspace-wallpaper-video +pkgver=1 +pkgrel=1 +pkgdesc="Video wallpaper for Plasma 5 workspace" +arch=('any') +license=('GPL3') +depends=('plasma-workspace') #gstreamer0.10-ffmpeg +source=('org.kde.video.tar.gz' 'org.kde.videoplaylist.tar.gz' 'm3uwrapper.desktop') + +md5sums=('05f58cc99405f9c87aab10106b5525f7' + 'f3f21f3e67c3aaf22614c023566eadcb' + '79ce66e4eb2a316640d3b38f6f3cf6fc') + +package() { +mkdir -p $pkgdir/usr/share/{plasma/wallpapers/,/kservices5/ServiceMenus} +cp -R $srcdir/{org.kde.video,org.kde.videoplaylist} $pkgdir/usr/share/plasma/wallpapers/ + +install -D -m644 $srcdir/m3uwrapper.desktop $pkgdir/usr/share/kservices5/ServiceMenus/m3uwrapper.desktop +} diff --git a/plasma-workspace-wallpaper-video/m3uwrapper.desktop b/plasma-workspace-wallpaper-video/m3uwrapper.desktop new file mode 100644 index 0000000..51e2df4 --- /dev/null +++ b/plasma-workspace-wallpaper-video/m3uwrapper.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Service +Icon=m3u-file-icon +X-KDE-ServiceTypes=KonqPopupMenu/Plugin +MimeType=video/*;application/x-flash-video;application/vnd.ms-asf;application/vnd.rn-realmedia; +Actions=videoPlaylist; +Encoding=UTF-8 + +[Desktop Action videoPlaylist] +Name=Make video playlist +Icon=m3u-file-icon +Exec=echo "%U" | sed 's# /#\\n/#g' > Video-Playlist.m3u \ No newline at end of file diff --git a/plasma-workspace-wallpaper-video/org.kde.video.tar.gz b/plasma-workspace-wallpaper-video/org.kde.video.tar.gz new file mode 100644 index 0000000..82e70b2 Binary files /dev/null and b/plasma-workspace-wallpaper-video/org.kde.video.tar.gz differ diff --git a/plasma-workspace-wallpaper-video/org.kde.videoplaylist.tar.gz b/plasma-workspace-wallpaper-video/org.kde.videoplaylist.tar.gz new file mode 100644 index 0000000..a937126 Binary files /dev/null and b/plasma-workspace-wallpaper-video/org.kde.videoplaylist.tar.gz differ