diff options
Diffstat (limited to 'app-admin/keepass/keepass-2.47.ebuild')
-rw-r--r-- | app-admin/keepass/keepass-2.47.ebuild | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/app-admin/keepass/keepass-2.47.ebuild b/app-admin/keepass/keepass-2.47.ebuild index af7035cf7b4b..afa3624b3df1 100644 --- a/app-admin/keepass/keepass-2.47.ebuild +++ b/app-admin/keepass/keepass-2.47.ebuild @@ -3,27 +3,26 @@ EAPI=7 -inherit desktop eutils xdg-utils +inherit desktop optfeature wrapper xdg-utils MY_PN="KeePass" DESCRIPTION="A free, open source, light-weight and easy-to-use password manager" HOMEPAGE="https://keepass.info/" SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip" +S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="aot" -COMMON_DEPEND="dev-lang/mono" -DEPEND="${COMMON_DEPEND} - app-arch/unzip -" -RDEPEND="${COMMON_DEPEND} +BDEPEND="app-arch/unzip" +DEPEND="dev-lang/mono" +RDEPEND=" + ${DEPEND} dev-dotnet/libgdiplus[cairo] " -S="${WORKDIR}" PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" ) # bug #687052 @@ -47,6 +46,9 @@ src_prepare() { src_compile() { export MONO_REGISTRY_PATH=/dev/null # bug 659808 + # bug 704358 + export LANG=C LC_ALL=C + # Build with Release target xbuild /target:KeePass /property:Configuration=Release || die @@ -101,10 +103,7 @@ pkg_postinst() { xdg_desktop_database_update xdg_mimeinfo_database_update - if ! has_version x11-misc/xdotool ; then - elog "Optional dependencies:" - elog " x11-misc/xdotool (enables autotype/autofill)" - fi + optfeature "enables autotype/autofill" x11-misc/xdotool elog "Some systems may experience issues with copy and paste operations." elog "If you encounter this, please install x11-misc/xsel." |