Adding libhandy 1.0.X

This commit is contained in:
Gerardo J. Puerta
2020-12-11 14:09:30 +01:00
parent 982d2fe12f
commit ffff38ce07
24 changed files with 1006 additions and 355 deletions

View File

@ -0,0 +1,2 @@
DIST dosbox-staging-0.75.2.tar.gz 1816233 BLAKE2B 0cb3224a1fe0e01e5069b78c91191f33b6d84dfb21b00ed8cd832225e68e5f66e841506bc7c887da462727b931a6c72b84dbf5e48e4dde21dbf62ffa3da4edc6 SHA512 2988b2cc44d041193d900efc4c6fa516aca6246e51c1dece9b207bd3549a8c76c5bcb2f3f5a90da6bb2b573663bddd0020274f17130548aef9cef1f4adf79220
EBUILD dosbox-staging-0.75.2.ebuild 1163 BLAKE2B caf74b9aaa814a9c3143acfa691b96dc38d6f6aaddded408c0269feda1e48fc2a5a6cd1562673d31d98dec0b2cffca5d332371c7601a9010b6d3590231efbdf9 SHA512 221c432915666c9bf78b53e32fe9670502ff27b0d41f15f0b10c4422bceaf0ada4f387be63707e8b581d5d121cac5afff65a0105c69a52c66a8ae047a89a434e

View File

@ -0,0 +1,49 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools desktop flag-o-matic xdg
DESCRIPTION="Modernized DOSBox soft-fork"
HOMEPAGE="https://dosbox-staging.github.io/"
SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa debug dynrec network opengl opus"
RDEPEND="alsa? ( media-libs/alsa-lib )
debug? ( sys-libs/ncurses:0= )
network? ( media-libs/sdl2-net )
opengl? ( virtual/opengl )
opus? ( media-libs/opusfile )
media-libs/libpng:0=
media-libs/libsdl2[joystick,opengl?,video,X]
sys-libs/zlib
!games-emulation/dosbox"
DEPEND="${RDEPEND}"
BDEPEND=""
src_prepare() {
default
eautoreconf
}
src_configure() {
use debug || append-cppflags -DNDEBUG
econf \
$(use_enable alsa alsa-midi) \
$(use_enable debug) \
$(use_enable !dynrec dynamic-x86) \
$(use_enable dynrec) \
$(use_enable network) \
$(use_enable opengl) \
$(use_enable opus opus-cdda)
}
src_install() {
default
doicon -s scalable contrib/icons/${PN}.svg
domenu contrib/linux/dosbox-staging.desktop
}