Diff kore-4.2.3 with a kore-4.3.0_rc4
| /usr/portage/www-servers/kore/kore-4.3.0_rc4.ebuild 2025-02-03 17:39:35.954678079 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
APP_PV="${PV/_/-}"
|
|
| 7 | ||
| 6 | 8 |
inherit toolchain-funcs |
| 7 | 9 | |
| 8 | 10 |
DESCRIPTION="Web application platform for writing scalable, concurrent web based processes" |
| 9 | 11 |
HOMEPAGE="https://kore.io/ |
| 10 | 12 |
https://github.com/jorisvink/kore/" |
| 11 | 13 | |
| 12 |
if [[ ${PV} == *9999* ]] ; then
|
|
| 14 |
if [[ "${PV}" == *9999* ]] ; then
|
|
| 13 | 15 |
inherit git-r3 |
| 14 |
EGIT_REPO_URI="https://git.kore.io/kore.git" |
|
| 16 | ||
| 17 |
EGIT_REPO_URI="https://git.kore.io/kore" |
|
| 15 | 18 |
else |
| 16 |
SRC_URI="https://kore.io/releases/${P}.tar.gz"
|
|
| 19 |
SRC_URI="https://github.com/jorisvink/${PN}/archive/refs/tags/${APP_PV}.tar.gz
|
|
| 20 |
-> ${P}.gh.tar.gz"
|
|
| 21 |
S="${WORKDIR}/${PN}-${APP_PV}"
|
|
| 22 | ||
| 17 | 23 |
KEYWORDS="~amd64 ~x86" |
| 18 | 24 |
fi |
| 19 | 25 | |
| ... | ... | |
| 28 | 34 |
openssl? ( dev-libs/openssl:= ) |
| 29 | 35 |
postgres? ( dev-db/postgresql:= ) |
| 30 | 36 |
" |
| 31 |
DEPEND="${RDEPEND}"
|
|
| 37 |
DEPEND=" |
|
| 38 |
${RDEPEND}
|
|
| 39 |
" |
|
| 32 | 40 | |
| 33 | 41 |
PATCHES=( |
| 34 |
"${FILESDIR}"/${PN}-4.2.3-makefile.patch
|
|
| 35 |
"${FILESDIR}"/${PN}-4.2.3-kodev-makefile.patch
|
|
| 42 |
"${FILESDIR}/kore-4.2.3-makefile.patch"
|
|
| 43 |
"${FILESDIR}/kore-4.2.3-kodev-makefile.patch"
|
|
| 36 | 44 |
) |
| 37 | 45 | |
| 38 | 46 |
DOCS=( README.md ) |
| ... | ... | |
| 40 | 48 |
src_prepare() {
|
| 41 | 49 |
default |
| 42 | 50 | |
| 43 |
sed -i 's|-Werror||g' kodev/Makefile tools/kore-serve/conf/build.conf || die |
|
| 51 |
sed -i ./kodev/Makefile tools/kore-serve/conf/build.conf \ |
|
| 52 |
-e 's|-Werror||g' \ |
|
| 53 |
|| die |
|
| 44 | 54 |
} |
| 45 | 55 | |
| 46 | 56 |
src_compile() {
|