diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-10-12 15:22:49 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-10-12 15:22:58 +0200 |
commit | 8a0c4010eda125d1b9df1be81b3224b995affe66 (patch) | |
tree | 3cfa41ef0d106663960a31b62c90c39fc5003a5b /games-engines/devilutionx | |
parent | games-engines/devilutionx: Bump to version 1.1.0 (diff) | |
download | gentoo-8a0c4010eda125d1b9df1be81b3224b995affe66.tar.gz gentoo-8a0c4010eda125d1b9df1be81b3224b995affe66.tar.bz2 gentoo-8a0c4010eda125d1b9df1be81b3224b995affe66.zip |
games-engines/devilutionx: Synced live ebuild
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-engines/devilutionx')
-rw-r--r-- | games-engines/devilutionx/devilutionx-9999.ebuild | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/games-engines/devilutionx/devilutionx-9999.ebuild b/games-engines/devilutionx/devilutionx-9999.ebuild index 90302aa10ef4..3966e9a6b14a 100644 --- a/games-engines/devilutionx/devilutionx-9999.ebuild +++ b/games-engines/devilutionx/devilutionx-9999.ebuild @@ -29,7 +29,6 @@ IUSE="debug lto" RDEPEND=" dev-libs/libsodium - media-fonts/sil-charis media-libs/libsdl2[haptic] media-libs/sdl2-mixer media-libs/sdl2-ttf @@ -39,34 +38,18 @@ BDEPEND=" virtual/pkgconfig " -src_prepare() { - 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 -} - src_configure() { local mycmakeargs=( -DASAN="OFF" -DDEBUG="$(usex debug)" + -DDISABLE_LTO="$(usex !lto)" -DDIST="ON" - -DFASTER="OFF" - -DLTO="$(usex lto)" -DUBSAN="OFF" ) cmake_src_configure -} - -src_install() { - dobin "${BUILD_DIR}/${PN}" - local size - for size in 32 48 ; do - newicon -s ${size} Packaging/resources/Diablo_${size}.png ${PN}.png - done - make_desktop_entry ${PN} "Diablo devolved" "/usr/share/icons/hicolor/48x48/apps/devilutionx.png" + # Build system still doesn't reliably set release version in the build + sed "/PROJECT_VERSION/s@-@${PV}@" -i "${BUILD_DIR}/config.h" || die } pkg_postinst() { |