Diff uim-1.8.9-r1 with a uim-1.8.9_pre20210103-r1

/usr/portage/app-i18n/uim/uim-1.8.9_pre20210103-r1.ebuild 2023-10-09 14:52:28.768368332 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI="8"
4
EAPI="7"
5 5

  
6
inherit autotools elisp-common flag-o-matic gnome2-utils qmake-utils
6
inherit autotools elisp-common flag-o-matic gnome2-utils qmake-utils vcs-snapshot
7 7

  
8 8
EGIT_COMMIT="d1ac9d9315ff8c57c713b502544fef9b3a83b3e5"
9
SIG_PV="0.9.1"
9 10

  
10 11
DESCRIPTION="A multilingual input method framework"
11 12
HOMEPAGE="https://github.com/uim/uim"
12
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2"
13
SRC_URI="https://github.com/${PN}/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
14
	https://github.com/${PN}/sigscheme/releases/download/${SIG_PV}/sigscheme-${SIG_PV}.tar.bz2"
13 15

  
14 16
LICENSE="BSD GPL-2 LGPL-2.1"
15 17
SLOT="0"
......
77 79
		)
78 80
		l10n_zh-TW? ( media-fonts/intlfonts )
79 81
	)"
80
BDEPEND="gnome-base/librsvg
82
BDEPEND="dev-util/intltool
83
	gnome-base/librsvg
81 84
	sys-devel/gettext
82 85
	virtual/pkgconfig
83
	kde? ( dev-util/cmake )
84
	nls? ( dev-util/intltool )"
86
	kde? ( dev-util/cmake )"
85 87

  
86 88
PATCHES=(
87 89
	"${FILESDIR}"/${PN}-gentoo.patch
......
90 92
	"${FILESDIR}"/${PN}-tinfo.patch
91 93
	"${FILESDIR}"/${PN}-Wconversion.patch
92 94
	"${FILESDIR}"/${PN}-xkb.patch
93
	"${FILESDIR}"/${PN}-zh-TW.patch
94
	"${FILESDIR}"/${PN}-clang-16-configure.patch
95
	"${FILESDIR}"/${PN}-1.8.8-zh-TW.patch
95 96
)
96

  
97 97
DOCS=( AUTHORS NEWS README RELNOTE doc )
98 98

  
99 99
SITEFILE="50${PN}-gentoo.el"
100 100

  
101
src_unpack() {
102
	vcs-snapshot_src_unpack
103
	rmdir "${S}"/sigscheme || die
104
	mv "${WORKDIR}"/sigscheme-${SIG_PV} "${S}"/sigscheme || die
105
}
106

  
101 107
src_prepare() {
102 108
	default
103 109
	sed -i "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac
104
	use nls || sed -i "/^if .*USE_NLS/,/^fi/d" configure.ac
110
	# fix build with >=dev-scheme/chicken-4, bug #656852
111
	touch scm/json-parser-expanded.scm
105 112
	# fix build with "-march=pentium4 -O2", bug #661806
106 113
	use x86 && append-cflags $(test-flags-CC -fno-inline-small-functions)
107 114

  
108
	# Fix build w/ Clang 16+ and >= openssl 1.1.x, tries to use
109
	# SSLv2_method otherwise.
110
	append-cppflags -DOPENSSL_NO_SSL2
111

  
112 115
	eautoreconf
113 116
}
114 117

  
Thank you!