Diff fox-1.6.57-r3 with a fox-1.7.67-r1
/usr/portage/x11-libs/fox/fox-1.7.67-r1.ebuild 2023-10-09 14:52:35.916368512 +0300 | ||
---|---|---|
10 | 10 |
SRC_URI="ftp://ftp.fox-toolkit.org/pub/${P}.tar.gz" |
11 | 11 | |
12 | 12 |
LICENSE="LGPL-2.1" |
13 |
SLOT="1.6" |
|
14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
|
15 |
IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib debug doc profile" |
|
13 |
SLOT="1.7" |
|
14 |
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" |
|
15 |
IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib debug doc profile tools" |
|
16 | 16 | |
17 | 17 |
RDEPEND=" |
18 | 18 |
x11-libs/fox-wrapper |
... | ... | |
33 | 33 |
x11-libs/libXt" |
34 | 34 |
BDEPEND="doc? ( app-doc/doxygen )" |
35 | 35 | |
36 |
PATCHES=( "${FILESDIR}"/"${PN}"-1.7.67-no-truetype.patch ) |
|
37 | ||
36 | 38 |
src_prepare() { |
37 | 39 |
default |
38 | 40 | |
39 |
local d |
|
40 |
for d in utils windows adie calculator pathfinder shutterbug; do |
|
41 |
sed -i -e "s:${d}::" Makefile.am || die |
|
42 |
done |
|
41 |
sed -i '/#define REXDEBUG 1/d' lib/FXRex.cpp || die "Unable to remove spurious debug line." |
|
42 |
sed -i -e "s:windows::" Makefile.am || die |
|
43 |
if ! use tools; then |
|
44 |
local d |
|
45 |
for d in adie calculator pathfinder shutterbug; do |
|
46 |
sed -i -e "s:${d}::" Makefile.am || die |
|
47 |
done |
|
48 |
fi |
|
43 | 49 | |
44 | 50 |
# Respect system CXXFLAGS |
45 | 51 |
sed -i -e 's:CXXFLAGS=""::' configure.ac || die "Unable to force cxxflags." |