diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-13 01:48:16 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-13 02:29:10 +0200 |
commit | d6b8a521a79d1bcd0496377078e16a0fe382b02b (patch) | |
tree | 72ca6667cb5cb83cf6079d2f1654757d62fe2bef /games-board/chessx | |
parent | games-board/chessx: Fix build failure caused by missing translations (diff) | |
download | gentoo-d6b8a521a79d1bcd0496377078e16a0fe382b02b.tar.gz gentoo-d6b8a521a79d1bcd0496377078e16a0fe382b02b.tar.bz2 gentoo-d6b8a521a79d1bcd0496377078e16a0fe382b02b.zip |
games-board/chessx: Add missing install to qmake build system
Thanks to openSUSE for the patch.
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'games-board/chessx')
-rw-r--r-- | games-board/chessx/chessx-1.5.4.ebuild | 7 | ||||
-rw-r--r-- | games-board/chessx/files/chessx-1.5.4-install.patch | 27 |
2 files changed, 30 insertions, 4 deletions
diff --git a/games-board/chessx/chessx-1.5.4.ebuild b/games-board/chessx/chessx-1.5.4.ebuild index d97f0eac6a87..e0d0825a1ae4 100644 --- a/games-board/chessx/chessx-1.5.4.ebuild +++ b/games-board/chessx/chessx-1.5.4.ebuild @@ -37,6 +37,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-system-quazip.patch "${FILESDIR}"/${P}-missing-translations.patch + "${FILESDIR}"/${P}-install.patch ) src_configure() { @@ -44,8 +45,6 @@ src_configure() { } src_install() { - dobin release/${PN} - dodoc ChangeLog TODO - doicon data/images/${PN}.png - domenu unix/chessx.desktop + emake INSTALL_ROOT="${D}" install + einstalldocs } diff --git a/games-board/chessx/files/chessx-1.5.4-install.patch b/games-board/chessx/files/chessx-1.5.4-install.patch new file mode 100644 index 000000000000..c017b3ea1535 --- /dev/null +++ b/games-board/chessx/files/chessx-1.5.4-install.patch @@ -0,0 +1,27 @@ +Index: chessx-1.5.4/chessx.pro +=================================================================== +--- chessx-1.5.4.orig/chessx.pro ++++ chessx-1.5.4/chessx.pro +@@ -546,6 +546,22 @@ macx { + data/timeseal/mac/timeseal + } + ++unix:!macx { ++ isEmpty(PREFIX) { ++ PREFIX = /usr ++ } ++ target.path = $$PREFIX/bin ++ desktop.path = $$PREFIX/share/applications ++ desktop.files = unix/chessx.desktop ++ icon.path = $$PREFIX/share/pixmaps ++ icon.files = data/images/chessx.png ++ data.path = $$PREFIX/share/chessx ++ data.files = data ++ lang.path = $$PREFIX/share/chessx/data/lang ++ lang.files = i18n/*.qm ++ INSTALLS += target desktop icon data lang ++} ++ + win32 { + OTHER_FILES += \ + src/chessx.rc \ |