media-video/baka-mplayer: Add another patch while at it, fixing playlist
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 21 Jan 2020 19:06:09 +0000 (20:06 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 21 Jan 2020 19:10:50 +0000 (20:10 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild
media-video/baka-mplayer/files/baka-mplayer-2.0.4-playlist-regression.patch [new file with mode: 0644]

index 48e647998ee43e2f19277269358d2207e5499a9f..9162db1864e496132a4ce7f669b66d32004138a6 100644 (file)
@@ -35,6 +35,7 @@ S="${WORKDIR}/Baka-MPlayer-${PV}"
 PATCHES=(
        "${FILESDIR}/${P}-gcc5.patch"
        "${FILESDIR}/${P}-mpv23.patch"
+       "${FILESDIR}/${P}-playlist-regression.patch"
 )
 
 src_prepare() {
diff --git a/media-video/baka-mplayer/files/baka-mplayer-2.0.4-playlist-regression.patch b/media-video/baka-mplayer/files/baka-mplayer-2.0.4-playlist-regression.patch
new file mode 100644 (file)
index 0000000..a6b361d
--- /dev/null
@@ -0,0 +1,33 @@
+From cb42b7654c07426f36f765d1be7faf5ed3a3e591 Mon Sep 17 00:00:00 2001
+From: godly-devotion <azian.otaku@live.com>
+Date: Tue, 1 Dec 2015 18:15:32 -0500
+Subject: [PATCH] Fix playlist regression from 01ec5a7
+
+---
+ src/ui/mainwindow.ui | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/src/ui/mainwindow.ui b/src/ui/mainwindow.ui
+index 2430322c..a1b30779 100644
+--- a/src/ui/mainwindow.ui
++++ b/src/ui/mainwindow.ui
+@@ -121,6 +121,10 @@ QListView {
+ #playlistWidget::item:selected {
+       background: #383838;
+ }
++#playlistWidget:item:selected:active,
++#playlistWidget:item:selected:!active {
++      color: whitesmoke;
++}
+ /* QScrollBar */
+@@ -1059,7 +1063,7 @@ QSlider::handle:horizontal {
+      <x>0</x>
+      <y>0</y>
+      <width>646</width>
+-     <height>24</height>
++     <height>23</height>
+     </rect>
+    </property>
+    <widget class="QMenu" name="menu_File">