diff options
Diffstat (limited to 'app-text/lite-xl-plugin-manager/lite-xl-plugin-manager-9999.ebuild')
-rw-r--r-- | app-text/lite-xl-plugin-manager/lite-xl-plugin-manager-9999.ebuild | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/app-text/lite-xl-plugin-manager/lite-xl-plugin-manager-9999.ebuild b/app-text/lite-xl-plugin-manager/lite-xl-plugin-manager-9999.ebuild deleted file mode 100644 index 17d43af..0000000 --- a/app-text/lite-xl-plugin-manager/lite-xl-plugin-manager-9999.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson - -DESCRIPTION="Plugin manager for app-text/lite-xl" -HOMEPAGE="https://github.com/lite-xl/lite-xl-plugin-manager" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_SUBMODULES=() - EGIT_REPO_URI="https://github.com/lite-xl/lite-xl-plugin-manager.git" -else - SRC_URI="https://github.com/lite-xl/lite-xl-plugin-manager/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="+lite-xl" - -RDEPEND=" - sys-libs/zlib - <net-libs/mbedtls-3 - dev-libs/libgit2 - dev-libs/libzip - dev-lang/lua:5.4 -" -DEPEND="${RDEPEND}" - -src_prepare() { - # pkgconfig fix - sed -i -e "s/dependency('lua')/dependency('lua5.4')/" meson.build - - eapply_user -} - -src_configure() { - # disable self-upgrading (won't work when installed system-wide anyway) - append-cppflags '-DLPM_DEFAULT_RELEASE=""' - - local emesonargs=( - -Dstatic=true - ) - meson_src_configure -} - -src_install() { - dobin "${BUILD_DIR}/lpm" - - if use lite-xl; then - insinto /usr/share/lite-xl - doins -r libraries plugins - fi - - einstalldocs -} |