Skip to content

Commit

Permalink
kde-apps/ksudoku: Fix .desktop file
Browse files Browse the repository at this point in the history
Reverting bogus upstream commit.

Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
a17r committed Jul 13, 2017
1 parent 6256379 commit 3f62d84
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
21 changes: 21 additions & 0 deletions kde-apps/ksudoku/files/ksudoku-17.04.3-desktop.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
commit 7fffa653aa5d0bcff834b2abddf4c4da0357397a
Author: Andreas Sturmlechner <[email protected]>
Date: Fri Jul 14 00:45:32 2017 +0200

Revert "Fix .desktop: Qt5 apps accept qwindowtitle, not caption"

This reverts commit 672b4e39f22f840034a8e66e1311175639bff3e3.

diff --git a/src/gui/org.kde.ksudoku.desktop b/src/gui/org.kde.ksudoku.desktop
index 858688a..626ec59 100755
--- a/src/gui/org.kde.ksudoku.desktop
+++ b/src/gui/org.kde.ksudoku.desktop
@@ -50,7 +50,7 @@ Name[wa]=KSudoku
Name[x-test]=xxKSudokuxx
Name[zh_CN]=KSudoku
Name[zh_TW]=KSudoku
-Exec=ksudoku %i -qwindowtitle %c
+Exec=ksudoku %i -caption %c
Icon=ksudoku
Type=Application
X-DocPath=ksudoku/index.html
31 changes: 31 additions & 0 deletions kde-apps/ksudoku/ksudoku-17.04.3-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

KDE_HANDBOOK="optional"
OPENGL_REQUIRED="optional"
inherit kde4-base

DESCRIPTION="Sudoku by KDE"
HOMEPAGE="
https://www.kde.org/applications/games/ksudoku/
https://games.kde.org/game.php?game=ksudoku
"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

DEPEND="
$(add_kdeapps_dep libkdegames)
opengl? ( virtual/glu )
"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/${P}-desktop.patch" )

src_configure() {
local mycmakeargs=(
-DWITH_OpenGL=$(usex opengl)
)
kde4-base_src_configure
}

0 comments on commit 3f62d84

Please sign in to comment.