diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-07-14 00:48:56 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-07-14 00:50:48 +0200 |
commit | 3f62d84a9a0d96cb57607f5d0973df9b6b263fe6 (patch) | |
tree | 95be7033c47594464f2fcf8e23340127a228f968 /kde-apps | |
parent | dev-tex/pdfannotextractor: keyword ~arm64 (diff) | |
download | gentoo-3f62d84a9a0d96cb57607f5d0973df9b6b263fe6.tar.gz gentoo-3f62d84a9a0d96cb57607f5d0973df9b6b263fe6.tar.bz2 gentoo-3f62d84a9a0d96cb57607f5d0973df9b6b263fe6.zip |
kde-apps/ksudoku: Fix .desktop file
Reverting bogus upstream commit.
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'kde-apps')
-rw-r--r-- | kde-apps/ksudoku/files/ksudoku-17.04.3-desktop.patch | 21 | ||||
-rw-r--r-- | kde-apps/ksudoku/ksudoku-17.04.3-r1.ebuild | 31 |
2 files changed, 52 insertions, 0 deletions
diff --git a/kde-apps/ksudoku/files/ksudoku-17.04.3-desktop.patch b/kde-apps/ksudoku/files/ksudoku-17.04.3-desktop.patch new file mode 100644 index 000000000000..22e23f5a1c4a --- /dev/null +++ b/kde-apps/ksudoku/files/ksudoku-17.04.3-desktop.patch @@ -0,0 +1,21 @@ +commit 7fffa653aa5d0bcff834b2abddf4c4da0357397a +Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +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 diff --git a/kde-apps/ksudoku/ksudoku-17.04.3-r1.ebuild b/kde-apps/ksudoku/ksudoku-17.04.3-r1.ebuild new file mode 100644 index 000000000000..aed620e249ed --- /dev/null +++ b/kde-apps/ksudoku/ksudoku-17.04.3-r1.ebuild @@ -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 +} |