app-text/xfbib: fix deps and patching, remove obsolete xfconf.eclass, migrate to...
authorDenis Dupeyron <calchan@gentoo.org>
Wed, 29 Nov 2017 20:45:54 +0000 (20:45 +0000)
committerDenis Dupeyron <calchan@gentoo.org>
Wed, 29 Nov 2017 20:55:03 +0000 (20:55 +0000)
Package-Manager: Portage-2.3.16, Repoman-2.3.6

app-text/xfbib/Manifest
app-text/xfbib/xfbib-0.0.2-r2.ebuild [new file with mode: 0644]

index 3d97305934b77f24061c35ffa97859fe4567a16d..62f018ed762d2e025b86f196689ea66464f19836 100644 (file)
@@ -1 +1 @@
-DIST xfbib-0.0.2.tar.bz2 340703 SHA256 eeb668b5cedbc9a9b4d8e54767fb7262f173dd9e440031b94580ca108b95f920 SHA512 7f6f812bfdb6b95574f66b63e51fb1a70ce20fd795b6070b055cdc8e753656a266237be92a7e60865d9f1e5fa750be0af3404ecf219a8a5d89dde505c759aebc WHIRLPOOL b45d18574479c42b3fe473d38b217fa603ff0d69a8f678ea328e7af72d8bb92121dfc450e33f46b747e3a8c25e02aa689d16ba61c988bdb28815ffac52bc0807
+DIST xfbib-0.0.2.tar.bz2 340703 BLAKE2B 4f15fb39fc55e06b5cde8961db27661f3f2f2e954e52e809105fb7f3326f54c63e63acb6fa21585da8a5aa340eafd4bc33df73822fe9f6ac7a04e67d95db6e0a SHA512 7f6f812bfdb6b95574f66b63e51fb1a70ce20fd795b6070b055cdc8e753656a266237be92a7e60865d9f1e5fa750be0af3404ecf219a8a5d89dde505c759aebc
diff --git a/app-text/xfbib/xfbib-0.0.2-r2.ebuild b/app-text/xfbib/xfbib-0.0.2-r2.ebuild
new file mode 100644 (file)
index 0000000..48361d0
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils xdg-utils
+
+DESCRIPTION="a lightweight BibTeX editor"
+HOMEPAGE="https://goodies.xfce.org/projects/applications/xfbib"
+SRC_URI="https://goodies.xfce.org/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.12
+       >=x11-libs/gtk+-2.10:2
+       >=xfce-base/libxfcegui4-4.2
+       >=xfce-base/libxfce4ui-4.8
+       >=xfce-base/libxfce4util-4.8"
+DEPEND="${RDEPEND}
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+       eapply -p0 "${FILESDIR}"/${P}-validate.patch
+       default
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}