summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-09-17 22:56:10 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-09-17 23:00:32 +0900
commitdb5c0e5a9cbdd10a7e818c06f1c6bad28f61e6f1 (patch)
tree6839e03333924adfd64971cac4728ba23b4c780f /app-i18n
parentapp-i18n/ibus-fbterm: update to EAPI 7 (diff)
downloadgentoo-db5c0e5a9cbdd10a7e818c06f1c6bad28f61e6f1.tar.gz
gentoo-db5c0e5a9cbdd10a7e818c06f1c6bad28f61e6f1.tar.bz2
gentoo-db5c0e5a9cbdd10a7e818c06f1c6bad28f61e6f1.zip
app-i18n/ibus-fbterm: do not compress man pages
Closes: https://bugs.gentoo.org/746341 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus-fbterm/files/ibus-fbterm-man.patch18
-rw-r--r--app-i18n/ibus-fbterm/ibus-fbterm-1.0.1.ebuild11
2 files changed, 29 insertions, 0 deletions
diff --git a/app-i18n/ibus-fbterm/files/ibus-fbterm-man.patch b/app-i18n/ibus-fbterm/files/ibus-fbterm-man.patch
new file mode 100644
index 000000000000..f3da1dd4ac6d
--- /dev/null
+++ b/app-i18n/ibus-fbterm/files/ibus-fbterm-man.patch
@@ -0,0 +1,18 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -4,14 +4,12 @@
+
+ man_one_in_files = ibus-fbterm.1.in
+ man_one_files = $(man_one_in_files:.1.in=.1)
+-man_one_DATA =$(man_one_files:.1=.1.gz)
++man_one_DATA =$(man_one_files)
+ man_onedir = $(mandir)/man1
+ %.1: %.1.in
+ $(AM_V_GEN) sed \
+ -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
+ mv $@.tmp $@
+-%.1.gz: %.1
+- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
+
+ dist-hook:
+ if test -d .git ; then \
diff --git a/app-i18n/ibus-fbterm/ibus-fbterm-1.0.1.ebuild b/app-i18n/ibus-fbterm/ibus-fbterm-1.0.1.ebuild
index 169ad6d59d3f..1b6ae892c9c8 100644
--- a/app-i18n/ibus-fbterm/ibus-fbterm-1.0.1.ebuild
+++ b/app-i18n/ibus-fbterm/ibus-fbterm-1.0.1.ebuild
@@ -3,6 +3,8 @@
EAPI="7"
+inherit autotools
+
DESCRIPTION="IBus client for FbTerm"
HOMEPAGE="https://github.com/fujiwarat/ibus-fbterm"
SRC_URI="https://github.com/fujiwarat/${PN}/releases/download/${PV}/${P}.tar.gz"
@@ -17,3 +19,12 @@ RDEPEND="app-i18n/ibus
dev-libs/glib:2"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-man.patch )
+
+AT_M4DIR="m4"
+
+src_prepare() {
+ default
+ eautoreconf
+}