parent
ab9c6ebb75
commit
b51eddaba0
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,46 @@
|
||||
Makefile: Honor {LD,CXX}FLAGS, add LIBFLAGS
|
||||
|
||||
- append -pthread to LDFLAGS instead of replacing them
|
||||
- use CXXFLAGS when linking
|
||||
- append LIBFLAGS to the individual targets instead of the final link
|
||||
|
||||
Gentoo-Bug: https://bugs.gentoo.org/461806
|
||||
|
||||
--- a/makefile
|
||||
+++ b/makefile
|
||||
@@ -8,7 +8,7 @@ LIBFLAGS=-fPIC
|
||||
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
|
||||
STRIP=strip
|
||||
AR=ar
|
||||
-LDFLAGS=-pthread
|
||||
+LDFLAGS+=-pthread
|
||||
DESTDIR=/usr
|
||||
|
||||
# Linux using LCC
|
||||
@@ -147,20 +147,21 @@ clean:
|
||||
|
||||
unrar: $(OBJECTS) $(UNRAR_OBJ)
|
||||
@rm -f unrar
|
||||
- $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)
|
||||
+ $(LINK) -o unrar $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)
|
||||
$(STRIP) unrar
|
||||
|
||||
sfx: WHAT=SFX_MODULE
|
||||
sfx: $(OBJECTS)
|
||||
@rm -f default.sfx
|
||||
- $(LINK) -o default.sfx $(LDFLAGS) $(OBJECTS)
|
||||
+ $(LINK) -o default.sfx $(CXXFLAGS) $(LDFLAGS) $(OBJECTS)
|
||||
$(STRIP) default.sfx
|
||||
|
||||
+$(OBJECTS) $(LIB_OBJ): CXXFLAGS+=$(LIBFLAGS)
|
||||
+
|
||||
lib: WHAT=RARDLL
|
||||
-lib: CXXFLAGS+=$(LIBFLAGS)
|
||||
lib: $(OBJECTS) $(LIB_OBJ)
|
||||
@rm -f libunrar.*
|
||||
- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
|
||||
+ $(LINK) -shared -o libunrar.so $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
|
||||
$(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
|
||||
|
||||
install-unrar:
|
||||
--
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
MY_PN="${PN}src"
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="https://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/unrar"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0/6" # subslot = soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-honor-flags.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
||||
else
|
||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mkdir -p build-{lib,bin} || die
|
||||
printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
|
||||
cp build-{lib,bin}/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
|
||||
|
||||
unrar_make -C build-bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build-bin/unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so build-lib/libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
|
||||
find "${ED}" -type f -name "*.a" -delete || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST racket-mode-0_p20220830.tar.gz 308654 BLAKE2B 85f82181fe994c48369c27ae762d1a0c336b155bc28ee8a4a5a52853e57d23f58c47e34e76b4fb103f9f5115bd856d635dac63f0b1955f7baa24e850e7ea7404 SHA512 6b94b839d9f25d4d07fd73e0a291862014d70501e9db2f154d37ef88f449140543344d4ee0072be0f7bf1c8994d82cf2794d512fd30216336ece2be31db4dc5c
|
||||
DIST racket-mode-1_p20221122.tar.gz 322401 BLAKE2B 8ae447616485d7e9deafe50044d0b0cf73ab93a628b2a536ba67604f7ee9ac7b13beb844c2b25de86c2da4d0f13ad1c92f8fb1be96236cbee7e8efe7607da94a SHA512 e4870cb00e1137cbacedda986ccc61f01a8e86c65d1a87b895a268460583f8671c256f07b2fbd1ede36dcf0d0c2770da00f39692a43b5ccba02f21aafe9a1602
|
||||
DIST racket-mode-1_p20221216.tar.gz 322994 BLAKE2B 6a221162f27621dfece9679ab6dfcf4930f55bba366421fbda029a7c808ed919051a4a2728892c75cacd87179c80043b6427ac83b4adfd9371342a4c70a037e0 SHA512 dcb06ea327fac75831ad037768f74b446fa0286f5c90ffcf5d7e279780a64b8e1beaf34c4e220ed8c2ef4ea174998c9502e7188ae365a07762c6bee3566c1e64
|
||||
DIST racket-mode-1_p20230209.tar.gz 323308 BLAKE2B 61f58a374c30e99acb718364c76a150e4c845b671e9a2aca8e5af41acab2189d8c819dd4c4039bbf8f2197fcfd1037d89a76bcdd8d4816871ecb4d417d857104 SHA512 d52aef3b5a938268f8d00fadafcca8ea1052042b90eee049b302bb853d7b73191fc9c3b99577559c78e285acf08b4786c367330207e9071094dc703881fc51d7
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
[[ ${PV} == *_p20220830 ]] && COMMIT=db7baebe64d5c1620c06e9bfca267a81ddc64aca
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs modes for Racket: edit, REPL, check-syntax, debug, profile, and more"
|
||||
HOMEPAGE="https://github.com/greghendershott/racket-mode/"
|
||||
SRC_URI="https://github.com/greghendershott/${PN}/archive/${COMMIT}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${COMMIT}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-scheme/racket:=[-minimal]"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-rkt-source-dir.patch )
|
||||
|
||||
DOCS=( CONTRIBUTING.md README.md THANKS.md )
|
||||
|
||||
ELISP_TEXINFO="doc/racket-mode.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
|
||||
sed "s|@SITEETC@|${SITEETC}/${PN}|" -i racket-util.el || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
|
||||
# Equivalent to compiling from Emacs with "racket-mode-start-faster",
|
||||
# because this is installed globally we have to compile it now.
|
||||
ebegin "Compiling Racket source files"
|
||||
find "${S}"/racket -type f -name "*.rkt" -exec raco make -v {} +
|
||||
eend $? "failed to compile Racket source files" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Set "PLTUSERHOME" to a safe temp directory to prevent writing to ~.
|
||||
PLTUSERHOME="${T}"/racket-mode/test-racket emake test-racket
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
# Install Racket files
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins -r racket
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
DIST volatility3-2.0.1.tar.gz 427679 BLAKE2B eb9b4ebb885a8dd4de2769c666b503da4bef792389efbf487815808fd514cf84f7f10b5a12926cf398a4028e7b72a5b78892c4c92d3709fea37fe13a6f32af7d SHA512 752b3fc23b3668df4329f6dbefa2ff8eb2dd63bc6e22e18774096cebae93053567727e3dc6e5ecbf7a0731459c829c37cea8ac735564c62f96a4f652ad2b6cb9
|
||||
DIST volatility3-2.4.0.gh.tar.gz 464123 BLAKE2B 436f0996b7c1d997727885949941fdaff3d801dbd5182ec9332d6f8182fc9bb56b91b50aad11f901e84bf4f3399f7ac0a61d484cd57fc36d7baf106ffcdb8fbd SHA512 03d74ff1c34a583dfc6a43fdb94947e4bd691e92a7f6a52d7323388edb47e955c06db523c21d9969012a4c607896daa8f20d82393d4ec457ebbf8c09b6537d25
|
||||
DIST volatility3-2.4.1.gh.tar.gz 486648 BLAKE2B 7f00ec6b57eb9ef6420f4c1aa735203fbd51fca39aa13200eb821d13842f879c8743f63da7c5bbcf7d84a2850709a15c0aadc2b0311edbdf34dfa026f2a3dcd6 SHA512 5f785a778654b76fc85b7b82b2e9ba9e6315a99169d4d956a9af84ae91086e7a38cac343b7df0f00d6830361c77d377408bf8eab3679c161c8a02212c696389c
|
||||
DIST volatility3-linux-sample-1.bin.gz 143967523 BLAKE2B 3321e991a50b6e4ccf19e0ee48d779664f43f4cdbdb950ca31a5d08c8ee9de0018e2d4f69f42206f7e8f1c6ea735c47f8aa42806ed0f85e9a837b611f07b3289 SHA512 82a34aa1d4e7d7deb9ea12e892f14ba0a28908b2da2e31ca76efd1e9e59d87769064a1ffffe8979a58b992cea7005fa20954df50984dbe1dd186513ad95168d7
|
||||
DIST volatility3-win-xp-laptop-2005-06-25.img.gz 180343409 BLAKE2B 9fc10ddb9208d7023854e9619f6cf5ce140f2a2aa5772ccd8bcd852dd50c6f77e36298dbf7df1512334e7976b6ab35dd77f4c49505e531c3a289dd0f26cfc01e SHA512 a1f758cc1b4febcf11f64bc01b872c7528d19c686d81f8e03d742424fa0600254914e656cdf35c3752b406354f769a8aa256622b2f2afe2d691c4bb6d3be3f52
|
||||
|
@ -0,0 +1,13 @@
|
||||
Don't install test files
|
||||
https://bugs.gentoo.org/886031
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -40,7 +40,7 @@ setuptools.setup(
|
||||
include_package_data=True,
|
||||
exclude_package_data={"": ["development", "development.*"], "development": ["*"]},
|
||||
packages=setuptools.find_namespace_packages(
|
||||
- exclude=["development", "development.*"]
|
||||
+ exclude=["development", "development.*", "test", "test.*"]
|
||||
),
|
||||
entry_points={
|
||||
"console_scripts": [
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PV=${PV//_beta/-beta.}
|
||||
|
||||
DESCRIPTION="Framework for analyzing volatile memory"
|
||||
HOMEPAGE="https://github.com/volatilityfoundation/volatility3/ https://www.volatilityfoundation.org/"
|
||||
SRC_URI="
|
||||
https://github.com/volatilityfoundation/volatility3/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
test?
|
||||
(
|
||||
https://downloads.volatilityfoundation.org/volatility3/images/win-xp-laptop-2005-06-25.img.gz -> ${PN}-win-xp-laptop-2005-06-25.img.gz
|
||||
https://downloads.volatilityfoundation.org/volatility3/images/linux-sample-1.bin.gz -> ${PN}-linux-sample-1.bin.gz
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}"/${PN}-${MY_PV}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="crypt disasm jsonschema leechcore snappy test yara"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pefile-2017.8.1[${PYTHON_USEDEP}]
|
||||
crypt? ( >=dev-python/pycryptodome-3[${PYTHON_USEDEP}] )
|
||||
disasm? ( >=dev-libs/capstone-3.0.5[python,${PYTHON_USEDEP}] )
|
||||
jsonschema? ( >=dev-python/jsonschema-2.3.0[${PYTHON_USEDEP}] )
|
||||
leechcore? ( >=dev-python/leechcorepyc-2.4.0[${PYTHON_USEDEP}] )
|
||||
snappy? ( app-arch/snappy:0/1 )
|
||||
yara? ( >=dev-python/yara-python-3.8.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-dont-install-tests.patch"
|
||||
)
|
||||
|
||||
# Tests require optional features
|
||||
REQUIRED_USE="test? ( yara )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
python_test() {
|
||||
# see .github/workflows/test.yaml
|
||||
"${EPYTHON}" "${S}/test/test_volatility.py" --volatility=vol.py \
|
||||
--image "${WORKDIR}/${PN}-win-xp-laptop-2005-06-25.img" -k test_windows -v || \
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
"${EPYTHON}" "${S}/test/test_volatility.py" --volatility=vol.py \
|
||||
--image "${WORKDIR}/${PN}-linux-sample-1.bin" -k test_linux -v || \
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST ibus-table-1.16.14.tar.gz 1534056 BLAKE2B 512c1610e4e7096d25c5ff8678e0e91a4cae96ca7036dae0b33ef8f3461e0e6c89cddb35bcd0bf50c48d308d1b0831c02957863419ccbfba64182290a9567acb SHA512 a865c8913bee5e462ed8f3ba74a720b3eb37062ae762e3909827b660dc62d3055e6b90fd3c583487fb23edd2d9572d9eae201d7fbde889ec5cd8e5848b83291f
|
||||
DIST ibus-table-1.17.0.tar.gz 1545826 BLAKE2B 33890dffca38c76513f49a54419805aff1b13e79b069cdb655401a44eeb44201c4cc60a29e9b341bd25dc9431a6e15e0481dc7cbd3ad3f02ae07cfcc6f811c81 SHA512 2df316dfe34eca80d9d4f843a92f3452a939cd14bca3bfa6c021b0bc6b759676711fefba68b9bf10dfe48c2f82890452e9ae015986b520281998f4d08f2e763b
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="sqlite(+)"
|
||||
|
||||
inherit gnome2-utils python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Tables engines for IBus"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
SRC_URI="https://github.com/kaio/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
RESTRICT="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
app-i18n/ibus[python(+),${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
virtual/libiconv
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
xdg_pkg_preinst
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ibus-typing-booster-2.21.4.tar.gz 11220794 BLAKE2B 7e5c7b9be31858ce1be7399b7dbada4cdec5a24f9d4f66d4e5ea110153d4696aa794650048b40dc52044ad90514f051a60234835d9b3c59aadb05aa6ba9eef4b SHA512 26dbc8cee8e6a6ec0414fc3e2f26298665030babed7f7dba7f52b5260b9aba511ab456fe49fb779f66b66b4db9fbe81faeec8692ad8a101e518d6fcf80189fd8
|
||||
DIST ibus-typing-booster-2.22.1.tar.gz 11322188 BLAKE2B f9119aecd57c1f6581035548c53ceda529cee67636760bca0540e9fd91d92440fa3f8df5fb1065db2a131d20942519482f6b7cbee1cc7f74c58e01344bf07fa1 SHA512 c979c1e58c038ba6b5a07223e74c080f8d5f2c45b9f60c279aba49bb98c51a13b8922f5c167a2bfd07ccd9c7dbdf56ff784379124f6425ead0d16cc9dd5ced43
|
||||
DIST ibus-typing-booster-2.22.3.tar.gz 11322959 BLAKE2B 7a09502ef3a1b3bbeaf231ae53b6c283ea582ccde96706e1b11ea3a46903efe0fe4d02f631b8a9b58d1c7971ae76e320a46d23ca915b2459bcc644c78a611eb2 SHA512 d3ea8825222e1a4c5c3aa64f947e7ffccd7e7fac9489b29126c1f10d560d4f959e1c8b8e718ecfd1367b6bdc698b346e022c4681dbd24a4f91005c579f397a9c
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="sqlite(+)"
|
||||
|
||||
inherit gnome2-utils python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Completion input method for IBus"
|
||||
HOMEPAGE="https://mike-fabian.github.io/ibus-typing-booster"
|
||||
SRC_URI="https://github.com/mike-fabian/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
dev-libs/m17n-lib
|
||||
$(python_gen_cond_dep '
|
||||
app-i18n/ibus[python(+),${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pyenchant[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/pyxdg[${PYTHON_USEDEP}]
|
||||
')"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-db/m17n-db-1.7"
|
||||
BDEPEND="sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "s|/usr\(/bin/sh\)|\1|" {engine,setup}/*.in
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
xdg_pkg_preinst
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
https://src.fedoraproject.org/rpms/kakasi/raw/4756771349822d4ccd4d74a6ce70040ca57084cb/f/kakasi-configure-c99.patch
|
||||
https://bugs.gentoo.org/874654
|
||||
|
||||
Avoid an implicit declaration of exit and build failures with future
|
||||
compilers which do not support implicit function declarations by
|
||||
default.
|
||||
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -85,7 +85,7 @@ AS_VAR_IF(utf8, "yes",[
|
||||
LIBS="$LIBICONV $LIBS"
|
||||
AC_DEFINE(KAKASI_SUPPORT_UTF8, 1, [KAKASI_SUPPORT_UTF8])
|
||||
AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <iconv.h>],
|
||||
- [if (iconv_open("EUC-JP", "UTF-8") == -1) exit(1);])],
|
||||
+ [if (iconv_open("EUC-JP", "UTF-8") == -1) return 1;])],
|
||||
[],
|
||||
[AC_MSG_ERROR([can not use EUC-JP or UTF-8 encoding on iconv])])
|
||||
])
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST unicode-cldr-common-40.0.zip 28558521 BLAKE2B cc49a6471c9cb80abd7c2cf203547c14cea08fa2ac18a5f2b0cd4e7b3cfc48fcdb4491c1e9eb37ae398caed554661ad6957ef8e3b9c41b6a68b8afccd6e7a7a8 SHA512 b45ea381002210cf5963a2ba52fa45ee4e9b1e80ae1180bcecf61f431d64e4e0faba700b3d56a96a33355deab3abdb8bcbae9222b60a8ca85536476718175645
|
||||
DIST unicode-cldr-common-42.0.zip 30178050 BLAKE2B 076e3eca12534feff8e0e54bdc1fa38fc0db0f78cac8b4e35b343763a8ac6787745aa36be165684f4d6dda423409c4431a8e4941c53ae7d340ead0b35edbca30 SHA512 315448fe6a9ac2d5a6a7fd1a27b38c5db30fed053654a803d50e3a8d06aa08ad153e8e57089fa094c561f41a54f37eecda0701b47a1813879902be71945aa38a
|
||||
DIST unicode-cldr-common-43.0.zip 31934452 BLAKE2B 8390db2fb58ede0f55ebe369e5598c6a47b6ed01c95162d85365a699ceeb15d4d912a1ea26062c8f37a467c58fdaca27e99a9a133fec4afe15bf6ac6ba29b4f6 SHA512 930c64208d6f680d115bfa74a69445fb614910bb54233227b0b9ae85ddbce4db19e4ec863bf04ae9d4a11b2306aa7394e553384d7537487de8011f0e34877cef
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
DESCRIPTION="Unicode Common Locale Data Repository"
|
||||
HOMEPAGE="https://cldr.unicode.org/"
|
||||
SRC_URI="https://unicode.org/Public/${PN#*-}/${PV%.0}/${PN#*-}-common-${PV}.zip -> ${PN}-common-${PV}.zip"
|
||||
|
||||
LICENSE="unicode"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
BDEPEND="app-arch/unzip"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN/-//}
|
||||
doins -r common
|
||||
}
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST vit-1.3.tar.gz 56035 BLAKE2B 871e29767dd5aeb39e6876981246c7d42cdbe45320e3a2524bbc3c2aa055b65a04a54ee4a2bc122c3bf689fec93f117ec7b238dd5462a9133c35cf177cf454e7 SHA512 45ae4a1d08560d534a02a046d2fcf55c5401f9aaab0abcfbd13070fee28854268ba327018aea40317a184b9e28b074973f5d3e4169a479227e94b8401f066527
|
||||
DIST vit-2.2.0.tar.gz 65815 BLAKE2B d7643490d00e5f4b1e3c2ed07d1df859c62696adaecb1225a83dc7c025b1c1f7fb3510c754b5a2f063ceedd5d3b361b9b0bef88436fecabab872c57bc8cd96ae SHA512 5301a6cd0e9d2226f006346feef900ebf984f4a98fa933ef20a3864d487e0393dc801ad66723dda956db411a1797f4e759bd161ddc4fe5c1185599c605d1532e
|
||||
DIST vit-2.3.0.tar.gz 72136 BLAKE2B d2988924d9fce8ac2a14f812654ab385bc84f112f3c4d5d150fa04e8151c4cbad7dc5d2d161cc890aa40ceb8a66ac629a1ff53f99531b6166747b379b45764c5 SHA512 49574ebb5dd3127936ec45ab825d927e221c96c32d0966d2c35220b27f5de1df556ff168769aca0b9c22e25f7b86e39d985d326fafe4a33712a3f0c5fa8d9d02
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Perl/Curses front-end for Taskwarrior (app-misc/task)"
|
||||
HOMEPAGE="https://github.com/scottkosty/vit"
|
||||
SRC_URI="https://github.com/scottkosty/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
DEPEND="
|
||||
app-misc/task
|
||||
dev-lang/perl
|
||||
dev-perl/Curses"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="test" # missing the extra .makefile for extra targets (like test)
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_SINGLE_IMPL=yes
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A lightweight, fast, curses-based front end to Taskwarrior"
|
||||
HOMEPAGE="
|
||||
https://github.com/vit-project/vit
|
||||
https://pypi.org/project/vit/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/task
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/tasklib-2.4.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/urwid-2.1.2[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST texstudio-4.1.2.tar.gz 88666134 BLAKE2B 7c4310fd0d8fd446b8844f11c687f55818f7314a2e0614ac26b8023f8fa7e5eca1b60a3b3c0ce61ccb15d383b61c24280a67dd530a907b4b8e00a965b10230bf SHA512 0b88f82514462c363e6dcee899f3681883ce9db1bb21cbf9e5e657208338bba4a6cdb79feeaefb242350bc01b83851c5d2704a7d0e2888034070ef2588b77964
|
||||
DIST texstudio-4.2.2.tar.gz 89234106 BLAKE2B a54b632ca6cf87410164f0a365f9a60b16cc51ea6ef12250b6ae6230ca7657615b3c91a88d995b2c654cbd42cda72b0e83af0b9471f87358f3f9a24270118d82 SHA512 b07dbe03b9b825fd2c6c057d996dad1247151d0034503d6e62426f0c4ff1e982da8eddf801e497bf9743349d41401ac9946f828c276f164aec0955c8324f5dea
|
||||
DIST texstudio-4.3.1.tar.gz 90529450 BLAKE2B 500f42f8a540aff97d8bb8d65262d6e0a758ccfb431fa00d9aa6e848d76da9eb1320dc3bc5a472e15d4492174e2817181271243c581830958c5e370751ed0b36 SHA512 6fc8717ed22e21947260d0af5c5b857f9b79476f28f400f9036134d9de2d9e11a605a871b6c8d520b366cb43f3fb61bb89c411e5c11aee1e87642e77fe1b0560
|
||||
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop qmake-utils xdg
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
|
||||
HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio"
|
||||
SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
IUSE="video"
|
||||
|
||||
DEPEND="
|
||||
app-text/hunspell:=
|
||||
app-text/poppler:=[qt5]
|
||||
>=dev-libs/quazip-0.7.3-r1:0=[qt5(+)]
|
||||
dev-qt/designer:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtsingleapplication[qt5(+),X]
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
video? ( >=media-libs/phonon-4.11.0 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-text/ghostscript-gpl
|
||||
app-text/psutils
|
||||
media-libs/netpbm
|
||||
virtual/latex-base
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0.5-quazip1.patch" # TODO: upstream
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
xdg_src_prepare
|
||||
|
||||
# TODO: find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
|
||||
rm -r src/quazip || die
|
||||
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
|
||||
sed -e "/qtsingleapplication.pri/s/.*/CONFIG += qtsingleapplication/" \
|
||||
-i ${PN}.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 NO_TESTS=false
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
|
||||
newicon -s ${i} utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
|
||||
emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop qmake-utils xdg
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
|
||||
HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio"
|
||||
SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="video"
|
||||
|
||||
DEPEND="
|
||||
app-text/hunspell:=
|
||||
app-text/poppler:=[qt5]
|
||||
>=dev-libs/quazip-1.0:0=[qt5(+)]
|
||||
dev-qt/designer:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtsingleapplication[qt5(+),X]
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
video? ( >=media-libs/phonon-4.11.0 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-text/ghostscript-gpl
|
||||
app-text/psutils
|
||||
media-libs/netpbm
|
||||
virtual/latex-base
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0.5-quazip1.patch" # TODO: upstream
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# TODO: find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
|
||||
rm -r src/quazip || die
|
||||
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
|
||||
sed -e "/qtsingleapplication.pri/s/.*/CONFIG += qtsingleapplication/" \
|
||||
-i ${PN}.pro || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 NO_TESTS=false
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
|
||||
newicon -s ${i} utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
|
||||
emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
|
||||
|
||||
# We don't install licences per package
|
||||
rm "${ED}"/usr/share/texstudio/COPYING || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,39 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ADA_COMPAT=( gnat_2021 gcc_12 )
|
||||
inherit ada multiprocessing
|
||||
|
||||
DESCRIPTION="GPR Unit Provider"
|
||||
HOMEPAGE="https://github.com/AdaCore/gpr-unit-provider"
|
||||
SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="${ADA_DEPS}
|
||||
dev-ada/gpr[${ADA_USEDEP},shared?]
|
||||
dev-ada/libadalang[${ADA_USEDEP},static-libs]
|
||||
shared? ( dev-ada/libadalang[static-pic] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
IUSE="+shared"
|
||||
REQUIRED_USE="${ADA_REQUIRED_USE}"
|
||||
|
||||
src_compile() {
|
||||
emake PROCESSORS=$(makeopts_jobs) \
|
||||
ENABLE_SHARED=$(usex shared) \
|
||||
GPRBUILD_OPTIONS=-v
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake ENABLE_SHARED=$(usex shared) \
|
||||
prefix="${D}"/usr \
|
||||
install
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ADA_COMPAT=( gnat_2021 gcc_12 )
|
||||
inherit ada multiprocessing
|
||||
|
||||
DESCRIPTION="GPR Unit Provider"
|
||||
HOMEPAGE="https://github.com/AdaCore/gpr-unit-provider"
|
||||
SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+shared static-libs static-pic"
|
||||
|
||||
RDEPEND="${ADA_DEPS}
|
||||
dev-ada/gpr:=[${ADA_USEDEP},shared?]
|
||||
dev-ada/libadalang:=[${ADA_USEDEP},static-libs?,static-pic?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
|
||||
REQUIRED_USE="${ADA_REQUIRED_USE}
|
||||
|| ( shared static-libs static-pic )"
|
||||
|
||||
src_compile() {
|
||||
if use static-libs; then
|
||||
emake PROCESSORS=$(makeopts_jobs) \
|
||||
GPRBUILD_OPTIONS=-v \
|
||||
build-static
|
||||
fi
|
||||
if use shared; then
|
||||
emake PROCESSORS=$(makeopts_jobs) \
|
||||
GPRBUILD_OPTIONS=-v \
|
||||
build-relocatable
|
||||
fi
|
||||
if use static-pic; then
|
||||
emake PROCESSORS=$(makeopts_jobs) \
|
||||
GPRBUILD_OPTIONS=-v \
|
||||
build-static-pic
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use static-libs; then
|
||||
emake prefix="${D}"/usr \
|
||||
install-static
|
||||
fi
|
||||
if use shared; then
|
||||
emake prefix="${D}"/usr \
|
||||
install-relocatable
|
||||
fi
|
||||
if use static-pic; then
|
||||
emake prefix="${D}"/usr \
|
||||
install-static-pic
|
||||
fi
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
RESTRICT="test"
|
||||
PYTHON_COMPAT=( python3_9 )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="PostgreSQL Extension Network Client"
|
||||
HOMEPAGE="http://pgxnclient.projects.postgresql.org/ https://pypi.org/project/pgxnclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
IUSE=""
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
RDEPEND="dev-db/postgresql:*[server]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND+="${RDEPEND}
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed "s/setup_requires/#/" -i setup.py || die
|
||||
|
||||
sed "s/find_packages()/find_packages(exclude=['tests'])/" -i setup.py || die
|
||||
|
||||
default
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_9 )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="PostgreSQL Extension Network Client"
|
||||
HOMEPAGE="https://pgxn.github.io/pgxnclient/
|
||||
https://pypi.org/project/pgxnclient/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-db/postgresql:*[server]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock )
|
||||
"
|
||||
|
||||
# Test data is currently missing from the distribution. Next release
|
||||
# will include it.
|
||||
RESTRICT="test"
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed "s/setup_requires/#/" -i setup.py || die
|
||||
sed "s/find_packages()/find_packages(exclude=['tests'])/" -i setup.py || die
|
||||
|
||||
default
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
BV=${PV}-1
|
||||
BV_AMD64=${BV}-linux-x86_64
|
||||
LLVM_MAX_SLOT=14
|
||||
|
||||
inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
|
||||
|
||||
DESCRIPTION="The Crystal Programming Language"
|
||||
HOMEPAGE="https://crystal-lang.org/
|
||||
https://github.com/crystal-lang/crystal/"
|
||||
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc debug llvm-libunwind"
|
||||
|
||||
# Upstream test suite not reliable
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/boehm-gc:=[threads]
|
||||
dev-libs/gmp:=
|
||||
dev-libs/libatomic_ops:=
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libpcre:=
|
||||
dev-libs/pcl:=
|
||||
<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libyaml
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.7.2-extra-spec-flags.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
|
||||
if [[ ! -d ${bootstrap_path} ]] ; then
|
||||
eerror "Binary tarball does not contain expected directory:"
|
||||
die "'${bootstrap_path}' path does not exist."
|
||||
fi
|
||||
|
||||
# crystal uses 'LLVM_TARGETS' to override default list of targets
|
||||
unset LLVM_TARGETS
|
||||
|
||||
MY_EMAKE_COMMON_ARGS=(
|
||||
$(usex debug "" release=1)
|
||||
progress=true
|
||||
stats=1
|
||||
threads=$(makeopts_jobs)
|
||||
verbose=1
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
AR="$(tc-getAR)"
|
||||
LLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
PATH="${bootstrap_path}:${PATH}"
|
||||
CRYSTAL_PATH="${S}"/src
|
||||
CRYSTAL_CONFIG_VERSION=${PV}
|
||||
CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${MY_EMAKE_COMMON_ARGS[@]}"
|
||||
|
||||
use doc && emake docs "${MY_EMAKE_COMMON_ARGS[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# EXTRA_SPEC_FLAGS is useful to debug individual tests
|
||||
# as part of full build:
|
||||
# USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
|
||||
emake std_spec \
|
||||
"${MY_EMAKE_COMMON_ARGS[@]}" "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/crystal
|
||||
doins -r src/.
|
||||
|
||||
exeinto /usr/bin
|
||||
doexe .build/crystal
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins etc/completion.zsh _crystal
|
||||
|
||||
dodoc -r samples
|
||||
doman man/${PN}.1
|
||||
newbashcomp etc/completion.bash ${PN}
|
||||
|
||||
if use doc ; then
|
||||
docinto api
|
||||
dodoc -r docs/.
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST nwjs-v0.67.1-linux-x64.tar.gz 134715209 BLAKE2B 2a174b5f1fd20c5b1cbcbede4225bbc94046c2aff315c9bbc35663dc8b0bac08f6779a00d26c3f9992da2d505c5876b3aa4ffc7603f74f5aaf559acaa9198ec9 SHA512 4cff06af9dea81bae4ba2dcbcfdbd4fedfe6a176d35dfbdff880ba5914d80f5de3b52053db87982eb763a0a0b147890bdf3c6ff0c6a5291b70cb8cade79158e7
|
||||
DIST nwjs-v0.75.0-linux-x64.tar.gz 146008792 BLAKE2B 1cb579ec76f67d22d466be2b5a134245750c09aeb0734338347096fac32beb3edfea972c1de101327a61f67a6a4ec19fc51a67e38944631117f3a06cbef5c771 SHA512 efc96bea45d5641d0e384f4a1ed58a7666dae110f09242ef2bede4224149ca6341cbe0ac3c2d047372c0ca6fb0e7062bdd927514a4ec71167dfde969a9841af5
|
||||
|
Binary file not shown.
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune multiprocessing
|
||||
|
||||
DESCRIPTION="Embed locations informations inside executable and libraries"
|
||||
HOMEPAGE="https://github.com/ocaml/dune"
|
||||
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz"
|
||||
S="${WORKDIR}/dune-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-ml/dune-3.5"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dune build -p ${PN} @install --display short -j $(makeopts_jobs) || die
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune multiprocessing
|
||||
|
||||
DESCRIPTION="Helper library for gathering system configuration"
|
||||
HOMEPAGE="https://github.com/ocaml/dune"
|
||||
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz"
|
||||
S="${WORKDIR}/dune-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND=">=dev-ml/dune-3.5"
|
||||
DEPEND="
|
||||
>=dev-ml/csexp-1.5:=[ocamlopt?]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# This enables dune-configurator to use the vendored csexp module
|
||||
sed -i 's/stdune.csexp/dune-configurator.csexp/' \
|
||||
vendor/csexp/src/dune || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune multiprocessing
|
||||
|
||||
DESCRIPTION="Private libraries of Dune"
|
||||
HOMEPAGE="https://github.com/ocaml/dune"
|
||||
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz
|
||||
-> dune-${PV}.tar.gz"
|
||||
S="${WORKDIR}/dune-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND=">=dev-ml/dune-3.5"
|
||||
DEPEND="
|
||||
>=dev-ml/csexp-1.5:=[ocamlopt?]
|
||||
dev-ml/pp:=[ocamlopt?]
|
||||
~dev-ml/dyn-${PV}:=[ocamlopt?]
|
||||
~dev-ml/stdune-${PV}:=[ocamlopt?]
|
||||
>=dev-lang/ocaml-4.08
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune multiprocessing
|
||||
|
||||
DESCRIPTION="Embed locations informations inside executable and libraries"
|
||||
HOMEPAGE="https://github.com/ocaml/dune"
|
||||
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz
|
||||
-> dune-${PV}.tar.gz"
|
||||
S="${WORKDIR}/dune-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
~dev-ml/dune-private-libs-${PV}:=[ocamlopt=]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dune build -p ${PN} @install -j $(makeopts_jobs) --display short || die
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multiprocessing elisp-common
|
||||
|
||||
DESCRIPTION="A composable build system for OCaml"
|
||||
HOMEPAGE="https://github.com/ocaml/dune"
|
||||
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="emacs"
|
||||
RESTRICT="strip test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.08:=
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/dune"
|
||||
|
||||
BYTECOMPFLAGS="-L ${S}/editor-integration/emacs"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# This allows `dune --version` to output the correct version
|
||||
# instead of "n/a"
|
||||
sed -i "/^(name dune)/a (version ${PV})" dune-project || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--libdir="$(ocamlc -where)" \
|
||||
--mandir=/usr/share/man \
|
||||
--docdir=/usr/doc \
|
||||
--etcdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--sbindir=/usr/sbin \
|
||||
--bindir=/usr/bin \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ocaml boot/bootstrap.ml -j $(makeopts_jobs) --verbose || die
|
||||
./_boot/dune.exe build @install -p "${PN}" --profile dune-bootstrap \
|
||||
-j $(makeopts_jobs) --display short || die
|
||||
|
||||
use emacs && elisp-compile editor-integration/emacs/*.el
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodir /usr/share/doc
|
||||
mv "${ED}"/usr/doc/dune "${ED}"/usr/share/doc/${PF} || die
|
||||
rmdir "${ED}"/usr/doc || die
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} editor-integration/emacs/*.el{,c}
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune multiprocessing
|
||||
|
||||
DESCRIPTION="Dynamic type"
|
||||
HOMEPAGE="https://github.com/ocaml/dune"
|
||||
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz
|
||||
-> dune-${PV}.tar.gz"
|
||||
S="${WORKDIR}/dune-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND=">=dev-ml/dune-3.5"
|
||||
DEPEND="~dev-ml/ordering-${PV}:=
|
||||
dev-ml/pp:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune multiprocessing
|
||||
|
||||
DESCRIPTION="Element ordering"
|
||||
HOMEPAGE="https://github.com/ocaml/dune"
|
||||
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz
|
||||
-> dune-${PV}.tar.gz"
|
||||
S="${WORKDIR}/dune-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND=">=dev-ml/dune-3.5"
|
||||
DEPEND=">=dev-lang/ocaml-4.08"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune multiprocessing
|
||||
|
||||
DESCRIPTION="Dune's unstable standard library"
|
||||
HOMEPAGE="https://github.com/ocaml/dune"
|
||||
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz
|
||||
-> dune-${PV}.tar.gz"
|
||||
S="${WORKDIR}/dune-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND=">=dev-ml/dune-3.5"
|
||||
DEPEND="
|
||||
dev-ml/pp:=[ocamlopt?]
|
||||
~dev-ml/dyn-${PV}:=[ocamlopt?]
|
||||
~dev-ml/ordering-${PV}:=[ocamlopt?]
|
||||
>=dev-ml/csexp-1.5:=[ocamlopt?]
|
||||
!<dev-ml/dune-private-libs-3
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue