diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-05-06 19:35:46 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-05-06 20:00:15 +0200 |
commit | 482933e50bf032b0b5f4e55d00dbaca6541e6aac (patch) | |
tree | e83ba21c14ac74c80c6150547aee9229ac436b69 | |
parent | app-admin/keepassxc: sync live 9999 version (diff) | |
download | gentoo-482933e50bf032b0b5f4e55d00dbaca6541e6aac.tar.gz gentoo-482933e50bf032b0b5f4e55d00dbaca6541e6aac.tar.bz2 gentoo-482933e50bf032b0b5f4e55d00dbaca6541e6aac.zip |
app-emacs/bbdb: bump to 3.2.2d_p20231122
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r-- | app-emacs/bbdb/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/bbdb/bbdb-3.2.2d_p20231122.ebuild | 85 |
2 files changed, 86 insertions, 0 deletions
diff --git a/app-emacs/bbdb/Manifest b/app-emacs/bbdb/Manifest index 2917cfd3845f..75ee88692255 100644 --- a/app-emacs/bbdb/Manifest +++ b/app-emacs/bbdb/Manifest @@ -1 +1,2 @@ DIST bbdb-3.2.2b.tar.gz 199518 BLAKE2B d6eef625636689d204ed9c6c7f299380924da5b021118e70930ab3b928d547b9cbb5a1cec8d111ce52678fc44b30ee34d164f46a9c6afa98c829ba871382acef SHA512 f730b911d16484c3723f6983b94784a828173797f4732c8d8eb47d50186415e0fdfde62f4f5f5b5b6ac66b78580fcfb2a398840935400fddd5f8143831e35fe2 +DIST bbdb-3.2.2d_p20231122.tar.gz 201355 BLAKE2B 6f1abd80d580fa2bc9f5ce2a26179d54358ab156991e138e8028bec4c7e891e884f3aa938e895b3e7a5cdb7dae1548e5161c212e5b6073d8bf2c38ba76bc8029 SHA512 3d5d6a8411c14e8c8f8b60872e954c0d26e25bebb9c9148c354ea078e12a30b500ee1de026414359efca3b9fd502a0bad00c9df0549cb7c83c726d878187373d diff --git a/app-emacs/bbdb/bbdb-3.2.2d_p20231122.ebuild b/app-emacs/bbdb/bbdb-3.2.2d_p20231122.ebuild new file mode 100644 index 000000000000..efccb1113027 --- /dev/null +++ b/app-emacs/bbdb/bbdb-3.2.2d_p20231122.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp autotools + +DESCRIPTION="The Insidious Big Brother Database" +HOMEPAGE="https://savannah.nongnu.org/projects/bbdb/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://git.savannah.nongnu.org/cgit/${PN}.git" +else + COMMIT="53e8ba04c47b3542db75b68f9663941daf2e6ca4" + SRC_URI="https://git.savannah.nongnu.org/cgit/bbdb.git/snapshot/${PN}-${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + + KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +fi + +LICENSE="GPL-3+ FDL-1.3" +SLOT="0" +IUSE="doc tex vm wanderlust" +RESTRICT="test" # bug 631700 + +RDEPEND=" + vm? ( app-emacs/vm ) + wanderlust? ( app-emacs/wanderlust ) +" +BDEPEND=" + ${RDEPEND} + sys-apps/texinfo + doc? ( virtual/texi2dvi ) +" +IDEPEND=" + tex? ( virtual/latex-base ) +" + +SITEFILE="50${PN}-gentoo-3.2.el" +TEXMF="/usr/share/texmf-site" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local -a -r econfargs=( + --with-lispdir="${EPREFIX}${SITELISP}/${PN}" + "$(use_with vm vm-dir "${EPREFIX}${SITELISP}/vm")" + "$(use_with wanderlust wl-dir "${EPREFIX}${SITELISP}/wl")" + ) + econf "${econfargs[@]}" +} + +src_compile() { + emake -C lisp + emake -C doc info $(usev doc pdf) +} + +src_install() { + emake -C lisp DESTDIR="${D}" install + emake -C doc DESTDIR="${D}" install-info $(usev doc install-pdf) + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + if use tex; then + insinto "${TEXMF}/tex/latex/${PN}" + doins tex/bbdb.sty + fi + + dodoc AUTHORS ChangeLog NEWS README TODO +} + +pkg_postinst() { + elisp-site-regen + use tex && texconfig rehash +} + +pkg_postrm() { + elisp-site-regen + use tex && texconfig rehash +} |