dev-cpp/ETL: add v1.5.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
This commit is contained in:
32
dev-cpp/ETL/ETL-1.5.0.ebuild
Normal file
32
dev-cpp/ETL/ETL-1.5.0.ebuild
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
DESCRIPTION="ETL is a multi-platform class and template library"
|
||||||
|
HOMEPAGE="http://synfig.org"
|
||||||
|
SRC_URI="https://github.com/synfig/synfig/archive/refs/tags/v${PV}.tar.gz -> synfigstudio-${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
RESTRICT=test
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/synfigstudio-1.5.0-fix-cflags.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
S="${WORKDIR}/synfig-${PV}/ETL"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
@@ -1 +1,2 @@
|
|||||||
DIST ETL-1.4.2.tar.gz 273617 BLAKE2B 87ae25a3e203f7778f8a5c59fa2da52cf782925f076df0ed6bfe819b43025430512c991b6f42caefb16f237285153daff614dfe02d948987a2192167f87ce427 SHA512 9a6f5adc784396a12ca020440658167e719509ace37b4059beb2376f426902b4b90adfef1f337bd1a376416bc6c34232929229d61ed527b5d8a8e3ee831d5120
|
DIST ETL-1.4.2.tar.gz 273617 BLAKE2B 87ae25a3e203f7778f8a5c59fa2da52cf782925f076df0ed6bfe819b43025430512c991b6f42caefb16f237285153daff614dfe02d948987a2192167f87ce427 SHA512 9a6f5adc784396a12ca020440658167e719509ace37b4059beb2376f426902b4b90adfef1f337bd1a376416bc6c34232929229d61ed527b5d8a8e3ee831d5120
|
||||||
|
DIST synfigstudio-1.5.0.tar.gz 11633997 BLAKE2B fbdba1f310cabe105267a3aa90b94e0be76e36a238246f18e1e6e396e9eaefd79b7ac3dbe2075caddbb4c319e8a5e66850f1139925a61962431c230ab25e9e99 SHA512 a3beecdfae5508c6ccf0aa9ec44d817264266a5bb4b7dd580ade53c613658d34e5edc860c17ba5a2d7aa5c3c91a30bb8550b87623ccaad53a4b584cc93852c40
|
||||||
|
|||||||
23
dev-cpp/ETL/files/synfigstudio-1.5.0-fix-cflags.patch
Normal file
23
dev-cpp/ETL/files/synfigstudio-1.5.0-fix-cflags.patch
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
Keep sed from mangling our CFLAGS
|
||||||
|
especially -frecord-gcc-flags, which was half removed because it contains -g
|
||||||
|
|
||||||
|
--- a/m4/subs.m4
|
||||||
|
+++ b/m4/subs.m4
|
||||||
|
@@ -77,13 +77,13 @@
|
||||||
|
case "$debug" in
|
||||||
|
yes)
|
||||||
|
debug_flags="-D_DEBUG -g -O0"
|
||||||
|
- CXXFLAGS="`echo $CXXFLAGS | sed s:-O.::` $debug_flags -fno-inline"
|
||||||
|
- CFLAGS="`echo $CFLAGS | sed s:-O.::` $debug_flags"
|
||||||
|
+ CXXFLAGS="${CXXFLAGS} ${debug_flags} -fno-inline"
|
||||||
|
+ CFLAGS="${CFLAGS} ${debug_flags}"
|
||||||
|
;;
|
||||||
|
no|*)
|
||||||
|
debug_flags="-DNDEBUG"
|
||||||
|
- CXXFLAGS="`echo $CXXFLAGS | sed 's:-g[[a-z-]]*\s::g' | sed 's:-g[[a-z-]]*$::'` $debug_flags"
|
||||||
|
- CFLAGS="`echo $CFLAGS | sed 's:-g[[a-z-]]*\s::g' | sed 's:-g[[a-z-]]*$::'` $debug_flags"
|
||||||
|
+ CXXFLAGS="${CXXFLAGS} ${debug_flags}"
|
||||||
|
+ CFLAGS="${CFLAGS} ${debug_flags}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
Reference in New Issue
Block a user