blob: 289483111afcd731d9cf58108db0aaac0c5ac2d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_DOTNET="net45"
inherit gac dotnet
IUSE+=" +net45 +pkg-config debug"
KEYWORDS="~amd64 ~x86"
DESCRIPTION="console emulator control, embeds a console view in a Windows Forms window"
NAME="conemu-inside"
#HOMEPAGE="https://github.com/Maximus5/${NAME}"
HOMEPAGE="https://conemu.github.io/"
EGIT_COMMIT="b4800195f09b86eca14c4b96141a78136ee1d872"
SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror"
S="${WORKDIR}/${NAME}-${EGIT_COMMIT}"
LICENSE="BSD" # https://github.com/Maximus5/ConEmu/blob/master/Release/ConEmu/License.txt
SLOT="0"
src_prepare() {
eapply "${FILESDIR}/add-release-configuration.patch"
eapply "${FILESDIR}/make-CommandLineBuilder-class-public.patch"
eapply_user
}
src_compile() {
if use debug; then
CONFIGURATION=Debug
else
CONFIGURATION=Release
fi
exbuild_raw /p:SignAssembly=true /p:AssemblyOriginatorKeyFile="${S}/ConEmuWinForms/Snk.Snk" /p:VersionNumber=1.0.0.2016051802 /p:Configuration=${CONFIGURATION} ConEmuWinForms/ConEmuWinForms.csproj
}
src_install() {
if use debug; then
DIR=Debug
else
DIR=Release
fi
egacinstall "${S}/ConEmuWinForms/bin/${DIR}/ConEmu.WinForms.dll"
einstall_pc_file "${PN}" "${PV}" "ConEmu.WinForms"
}
|