diff --git a/dev-util/codelite/codelite-17.0.0.ebuild b/dev-util/codelite/codelite-17.0.0.ebuild new file mode 100644 index 0000000..81c2dc9 --- /dev/null +++ b/dev-util/codelite/codelite-17.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WX_GTK_VER="3.2-gtk3" +inherit cmake wxwidgets xdg + +DESCRIPTION="CodeLite IDE" +HOMEPAGE="https://codelite.org/" +SRC_URI="https://github.com/eranif/codelite/releases/download/17.0.0/codelite-17.0.0.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND="net-libs/libssh dev-db/sqlite x11-libs/wxGTK:${WX_GTK_VER}[X]" +RDEPEND="${DEPEND}" +BDEPEND="dev-build/cmake sys-devel/flex sys-devel/bison dev-libs/libpcre2" +CMAKE_MAKEFILE_GENERATOR=emake + +src_configure() { + setup-wxwidgets + local mycmakeargs=( + -DCOPY_WX_LIBS=0 + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst +} + +pkg_postrm() { + xdg_pkg_postrm +}