diff options
Diffstat (limited to 'app-editors/beaver')
-rw-r--r-- | app-editors/beaver/Manifest | 4 | ||||
-rw-r--r-- | app-editors/beaver/beaver-0.4.1-r1.ebuild (renamed from app-editors/beaver/beaver-0.4.1.ebuild) | 47 | ||||
-rw-r--r-- | app-editors/beaver/files/beaver-0.4.1-desktop-file-validate.patch | 4 |
3 files changed, 28 insertions, 27 deletions
diff --git a/app-editors/beaver/Manifest b/app-editors/beaver/Manifest index 99ffb6b3c972..4433e4cf676e 100644 --- a/app-editors/beaver/Manifest +++ b/app-editors/beaver/Manifest @@ -1,4 +1,4 @@ -AUX beaver-0.4.1-desktop-file-validate.patch 541 BLAKE2B 3847326cc887bee9f3bff580fb15de09375a44180941551b67b8a8be66396c32c6e671b7bea724cd9c318a6fd6fb5851944422b64f6229e663501e1da331fb1d SHA512 17a1f673f3b7b9e283cb1d8ea33b387cf78f1a2623f2a8ae114960504db6c90afec980035ec5627584f144ec516f65b1c2a52880f0ad6114dbabff02031ba6d5 +AUX beaver-0.4.1-desktop-file-validate.patch 545 BLAKE2B 33bb8b9c5b90d2257b7e083b832f0a9cfc82b512b51da8e1cc56eee657793c4ed248f97606e6cb4679d398e35d3b5bcea6be9a83230061a5cc7f877c44772769 SHA512 ec33d4a2132bd03859426e7bbaa7a178d808ccd949387a85d18bc0fb01cb907cdb61ce28f52405f71f1b397b6221fa20c00f415e4979db51256511621ffb8475 DIST beaver-0.4.1.tar.bz2 436321 BLAKE2B 034829d795b5a0502a2df1e675e01d34cc62efbc482959e2d3e0ecf9eeddf1d8450e92ee9c2f98af3e2778ad4c14fac926291ca935ec79822f8f552a9579363e SHA512 3000bed3aa2a67d6c38a68a7782a9d5423bcec0b8420272b0f0dade604c094a7b52058b43222af38d56313f0aa27998028c984f69340bf28eeaa8b8a93548a1e -EBUILD beaver-0.4.1.ebuild 967 BLAKE2B 8dbe5be9037a81db5bfe3c7c26b616d76051f3a08343822549d86a64e4afe2f058c8a55d82d87971e40c0d5b84e15e0848ca0fe6bfcf12ca673617e598407acf SHA512 aacb9b7d54da3d774b0c1b98ae4ca9695d25e3d1e2d2e1d71253f91a1cafc41b4c0c3a09d199d67b6154dbf3deb1071339ad52071b8679bbaee633cb1eb54bda +EBUILD beaver-0.4.1-r1.ebuild 981 BLAKE2B 95ca31b255da1262a9e5aae4291afed1e65ce1e11ae68059ad7dd892c33216e323867bb3ce6343326ae1ce6ea6b7964e1e291e4be081bcd9f8e4628bb83c228f SHA512 72ad9c5278f7a339bebfb7a3d76526b59328ff5aa06f8151474d1aaaa834d995988c19c7fffb3a4d05c34ac081378611d329dc07fe05c600b72e7a99d595b992 MISC metadata.xml 359 BLAKE2B d0b8402f3a7a6f77f7c79733394a2bf595320b8f51a65432fd545975b72e9d94ecd5845b8f9f446b3519f6ee2d44c111dadfe6d86cd78bee0f1ba4c3bd7da31c SHA512 7fec5e4168c877d16d8d744244e0aa3cfef4d6d219dc3485caeb21802de8aab2a00188572393b885ef7f8f7ed72b3bad3f5622ecf057347ce6969fb1d3fc5759 diff --git a/app-editors/beaver/beaver-0.4.1.ebuild b/app-editors/beaver/beaver-0.4.1-r1.ebuild index 6e8052b4e9b9..57efb98a47a3 100644 --- a/app-editors/beaver/beaver-0.4.1.ebuild +++ b/app-editors/beaver/beaver-0.4.1-r1.ebuild @@ -1,53 +1,54 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils flag-o-matic gnome2-utils +EAPI=7 +inherit flag-o-matic xdg-utils DESCRIPTION="Beaver is an Early AdVanced EditoR" -HOMEPAGE="http://beaver-editor.sourceforge.net/" +HOMEPAGE="https://sourceforge.net/projects/beaver-editor/" SRC_URI="mirror://sourceforge/beaver-editor/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="debug doc" - -RDEPEND=">=dev-libs/glib-2.14:2 - >=x11-libs/gtk+-2.10:2" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen ) - virtual/pkgconfig +IUSE="doc" + +RDEPEND=" + >=dev-libs/glib-2.14:2 + >=x11-libs/gtk+-2.10:2 +" +DEPEND=" + ${RDEPEND} dev-util/intltool - sys-devel/gettext" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.4.1-desktop-file-validate.patch -} + sys-devel/gettext + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +PATCHES=( + "${FILESDIR}"/${PN}-0.4.1-desktop-file-validate.patch +) src_configure() { append-cflags -fgnu89-inline econf \ $(use_enable doc doxygen-doc) \ - $(use_enable debug) + --disable-debug } DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) src_install() { default - prune_libtool_files -} - -pkg_preinst() { - gnome2_icon_savelist + find "${ED}" -name '*.la' -delete || die } pkg_postinst() { - gnome2_icon_cache_update + xdg_desktop_database_update + xdg_icon_cache_update } pkg_postrm() { - gnome2_icon_cache_update + xdg_desktop_database_update + xdg_icon_cache_update } diff --git a/app-editors/beaver/files/beaver-0.4.1-desktop-file-validate.patch b/app-editors/beaver/files/beaver-0.4.1-desktop-file-validate.patch index b820826e14d6..f786565ced04 100644 --- a/app-editors/beaver/files/beaver-0.4.1-desktop-file-validate.patch +++ b/app-editors/beaver/files/beaver-0.4.1-desktop-file-validate.patch @@ -1,5 +1,5 @@ ---- data/beaver.desktop -+++ data/beaver.desktop +--- a/data/beaver.desktop ++++ b/data/beaver.desktop @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 |