mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-scheme/skribilo: drop 0.9.5, 0.10.0
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST skribilo-0.10.0.tar.gz 1535043 BLAKE2B 4bfa666f942150aa3d44bfea4a6d9bebcee1a48b7b5b04e0c13ff6f34150e0b9d633d13df27b2aaa4497d51050cd4ab5b5ac0fb5ffe7c1e3fbd66dc9242e5916 SHA512 97c4a08c83fb47759e9c8b83e53438561a77c41bfc655083938546f65be7e8a647d38bc3bf231996822ed1200915fd0691102c1e0d4c02fef499a9b99b2b844e
|
||||
DIST skribilo-0.9.5.tar.gz 1520763 BLAKE2B c624174a29cb7eb7236b8de506ade00c58fdd895807bd3e052872b7d950be9106daef6015c34ff8b5e7888b43383cbfa5c29c62835d02121cac19062985c6032 SHA512 22dff4523039792bd3662f9f1302569bfb83d92b7106ae22b8926e264b00932ea50ab753bb83aed499d0aa651d0fe99fdfd28b83956ec3ad84b81078391fe014
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp-common
|
||||
|
||||
DESCRIPTION="Document production tool written in Guile Scheme"
|
||||
HOMEPAGE="https://www.nongnu.org/skribilo/"
|
||||
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="emacs"
|
||||
RESTRICT="test" # tests fail, seem broken
|
||||
|
||||
RDEPEND="
|
||||
app-text/ghostscript-gpl
|
||||
media-gfx/imagemagick
|
||||
|
||||
>=dev-scheme/guile-2.0.0:=
|
||||
dev-scheme/guile-lib
|
||||
dev-scheme/guile-reader
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="emacs? ( >=app-editors/emacs-23.1:* )"
|
||||
|
||||
# guile generates ELF files without use of C or machine code
|
||||
# It's a portage's false positive. bug #677600
|
||||
QA_PREBUILT='*[.]go'
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
|
||||
find "${S}" -name "*.scm" -exec touch {} + || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if ! use emacs ; then
|
||||
export EMACS="no"
|
||||
export EMACSLOADPATH="/dev/null"
|
||||
fi
|
||||
|
||||
econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
use emacs && elisp-compile ./emacs/*.el
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} ./emacs/*.el{,c}
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
else
|
||||
local emacsd="${D}"/usr/share/emacs
|
||||
if [[ -d "${emacsd}" ]] ; then
|
||||
echo "Building without Emacs support but ${emacsd} found! Removing."
|
||||
rm -r "${emacsd}" || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Workaround llvm-strip problem of mangling guile ELF debug
|
||||
# sections: https://bugs.gentoo.org/905898
|
||||
dostrip -x "/usr/$(get_libdir)/guile"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp-common
|
||||
|
||||
DESCRIPTION="Document production tool written in Guile Scheme"
|
||||
HOMEPAGE="https://www.nongnu.org/skribilo/"
|
||||
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="emacs"
|
||||
RESTRICT="test" # tests fail, seem broken
|
||||
|
||||
RDEPEND="
|
||||
app-text/ghostscript-gpl
|
||||
media-gfx/imagemagick
|
||||
|
||||
>=dev-scheme/guile-2.0.0:=
|
||||
dev-scheme/guile-lib
|
||||
dev-scheme/guile-reader
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="emacs? ( >=app-editors/emacs-23.1:* )"
|
||||
|
||||
# guile generates ELF files without use of C or machine code
|
||||
# It's a portage's false positive. bug #677600
|
||||
QA_PREBUILT='*[.]go'
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
|
||||
find "${S}" -name "*.scm" -exec touch {} + || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if ! use emacs ; then
|
||||
export EMACS="no"
|
||||
export EMACSLOADPATH="/dev/null"
|
||||
fi
|
||||
|
||||
econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
use emacs && elisp-compile ./emacs/*.el
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} ./emacs/*.el{,c}
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
else
|
||||
local emacsd="${D}"/usr/share/emacs
|
||||
if [[ -d "${emacsd}" ]] ; then
|
||||
echo "Building without Emacs support but ${emacsd} found! Removing."
|
||||
rm -r "${emacsd}" || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Workaround llvm-strip problem of mangling guile ELF debug
|
||||
# sections: https://bugs.gentoo.org/905898
|
||||
dostrip -x "/usr/$(get_libdir)/guile"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
Reference in New Issue
Block a user