diff options
Diffstat (limited to 'xfce-base')
-rw-r--r-- | xfce-base/xfce4-panel/Manifest | 1 | ||||
-rw-r--r-- | xfce-base/xfce4-panel/metadata.xml | 18 | ||||
-rw-r--r-- | xfce-base/xfce4-panel/xfce4-panel-4.15.6.ebuild | 71 |
3 files changed, 83 insertions, 7 deletions
diff --git a/xfce-base/xfce4-panel/Manifest b/xfce-base/xfce4-panel/Manifest index 211805227a59..2ae94be24a59 100644 --- a/xfce-base/xfce4-panel/Manifest +++ b/xfce-base/xfce4-panel/Manifest @@ -1,3 +1,4 @@ DIST xfce4-panel-4.14.4.tar.bz2 1307938 BLAKE2B 79e0abcc5dfe41faaab1de981b8a61a99e9c11ab5b3ddba5fb7385517d24b50210f12d0a6a49720d6d8458fa7143ed65d7960025c5e8c01af1a59dd6b339a2d9 SHA512 5ae7c7acf0254fdc3f5eaccf75d7c12699ab8147322f231af7bd17b1238b8c25a96d628dada9caa086fc8fde2b7dc4030a38eb7b863b290f9e069193b3728d85 DIST xfce4-panel-4.15.4.tar.bz2 1358752 BLAKE2B 0920ee2cbc97e2884ded7a739db015bbe60498fcdf2cfee0672139508a1f98ef9dbfbda3a029dacaf790d9ec73aa63766bba8b2cc0dad66c9730c4aa11a3f596 SHA512 f8d48fa9691af64e12ea55b190206b6dd6a5faa4a361f45c485591c9ea0bcf01759c5457cd5bb48438f40411862ff873e3913bf3100afd2d9c9b4ab950816ae7 DIST xfce4-panel-4.15.5.tar.bz2 1379149 BLAKE2B 072114592dcf48410563f77e77262b1882b1622cc7a7b9b16e62c860b650ad18629f86586bdadf11f6c26973de23788d9db28e67df7c555cb063bc30c8a3e58f SHA512 eacdbfb25c6aaf455d6aaa989da8ca816a94e386f09924464c884e9c031f441d29c3ae694ef0f5ea079b31420a54ac545352f8d6b4418d61b7c11e532791ab92 +DIST xfce4-panel-4.15.6.tar.bz2 1382484 BLAKE2B 7ee01597459dd58c818e292e75b0c3864a5af94c7c8a4adf0eb65ed0ddce4ae7d10e407d0b92dd86eef6005c8c05c851cbbeee560dd8a37eaca722713414b00b SHA512 d1a77d6ae29b5f21d1609318ea15ad8e5851a5de0af24ff4e709a9e735c7361c440c705d314e17a8bc2b48ee8398ac2599d6f35c3c939b4c09ea00e4baa11dfa diff --git a/xfce-base/xfce4-panel/metadata.xml b/xfce-base/xfce4-panel/metadata.xml index b307dd980e01..d0063aeb56c1 100644 --- a/xfce-base/xfce4-panel/metadata.xml +++ b/xfce-base/xfce4-panel/metadata.xml @@ -1,11 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>xfce@gentoo.org</email> - <name>XFCE Team</name> - </maintainer> - <use> - <flag name='gtk2'>Enable GTK+2 plugin support.</flag> - </use> + <maintainer type="project"> + <email>xfce@gentoo.org</email> + <name>XFCE Team</name> + </maintainer> + <use> + <flag name='gtk2'>Enable GTK+2 plugin support.</flag> + <flag name='dbusmenu'> + Enable <pkg>dev-libs/libdbusmenu</pkg> integration + (in status notifier plugin) + </flag> + </use> </pkgmetadata> diff --git a/xfce-base/xfce4-panel/xfce4-panel-4.15.6.ebuild b/xfce-base/xfce4-panel/xfce4-panel-4.15.6.ebuild new file mode 100644 index 000000000000..9899ea91cbbc --- /dev/null +++ b/xfce-base/xfce4-panel/xfce4-panel-4.15.6.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit vala xdg-utils + +DESCRIPTION="Panel for the Xfce desktop environment" +HOMEPAGE="https://www.xfce.org/projects/" +SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="+dbusmenu introspection vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=">=dev-libs/glib-2.50 + >=x11-libs/cairo-1 + >=x11-libs/gtk+-3.22:3[introspection?] + x11-libs/libX11 + x11-libs/libwnck:3 + >=xfce-base/exo-0.11.2:= + >=xfce-base/garcon-0.5:= + >=xfce-base/libxfce4ui-4.15.6:= + >=xfce-base/libxfce4util-4.15.6:=[introspection?] + >=xfce-base/xfconf-4.13:= + dbusmenu? ( >=dev-libs/libdbusmenu-16.04.0[gtk3] ) + introspection? ( dev-libs/gobject-introspection:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + vala? ( $(vala_depend) ) + dev-lang/perl + dev-util/gtk-doc-am + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + # stupid vala.eclass... + default +} + +src_configure() { + local myconf=( + $(use_enable introspection) + $(use_enable dbusmenu dbusmenu-gtk3) + $(use_enable vala) + ) + + use vala && vala_src_prepare + econf "${myconf[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} |