From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E218138334 for ; Thu, 2 Jan 2020 11:49:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9E94E0B20; Thu, 2 Jan 2020 11:49:18 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E489E0B20 for ; Thu, 2 Jan 2020 11:49:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9DBFE34DE17 for ; Thu, 2 Jan 2020 11:49:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4EFC7B for ; Thu, 2 Jan 2020 11:49:15 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1577965748.0a1e8a4363f135e88b95d2f0d080e85fe878b76d.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/devilutionx/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild X-VCS-Directories: games-engines/devilutionx/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 0a1e8a4363f135e88b95d2f0d080e85fe878b76d X-VCS-Branch: master Date: Thu, 2 Jan 2020 11:49:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 23622208-6eb8-480f-9522-8d9fa2bb8342 X-Archives-Hash: 39d9545fafe22fa148b89118fbaeb852 commit: 0a1e8a4363f135e88b95d2f0d080e85fe878b76d Author: Meik Frischke gmail com> AuthorDate: Thu Jan 2 11:47:32 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Jan 2 11:49:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1e8a43 games-engines/devilutionx: Use CharisSIL-B.ttf font Install desktop icons and improved .desktop entry Closes: https://bugs.gentoo.org/704508 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Lars Wendler gentoo.org> games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild b/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild index fb3f84ae0c4..b363bc7378a 100644 --- a/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild +++ b/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild @@ -29,6 +29,7 @@ IUSE="debug lto" RDEPEND=" dev-libs/libsodium + media-fonts/sil-charis media-libs/libsdl2[haptic] media-libs/sdl2-mixer media-libs/sdl2-ttf @@ -39,7 +40,10 @@ BDEPEND=" " src_prepare() { - sed "/PROJECT_VERSION/s|@PROJECT_VERSION@|${PV}|" -i SourceS/config.h.in || die + sed "/PROJECT_VERSION/s|@PROJECT_VERSION@|${PV}|" \ + -i SourceS/config.h.in || die + sed 's/CharisSILB.ttf/CharisSIL-B.ttf/g' \ + -i SourceX/DiabloUI/fonts.h || die cmake_src_prepare } @@ -57,7 +61,10 @@ src_configure() { src_install() { dobin "${BUILD_DIR}/${PN}" - make_desktop_entry ${PN} "Diablo devolved" + + newicon -s 32 Packaging/resources/Diablo_32.png ${PN}.png + newicon -s 48 Packaging/resources/Diablo_48.png ${PN}.png + make_desktop_entry ${PN} "Diablo devolved" "/usr/share/icons/hicolor/48x48/apps/devilutionx.png" } pkg_postinst() {