summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-21 13:55:51 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-21 14:05:09 +0100
commit6818eb034a4c3b8b8bfbf478dede0b71d5f38e40 (patch)
tree4645d546f4d0d0f71f0e55c333df16189afdbb07 /xfce-extra
parentdev-util/muon: fix test broken w/ -Werror=incompatible-pointer-types (diff)
downloadgentoo-6818eb034a4c3b8b8bfbf478dede0b71d5f38e40.tar.gz
gentoo-6818eb034a4c3b8b8bfbf478dede0b71d5f38e40.tar.bz2
gentoo-6818eb034a4c3b8b8bfbf478dede0b71d5f38e40.zip
xfce-extra/xfce4-notifyd: Bump to 0.7.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-notifyd/Manifest1
-rw-r--r--xfce-extra/xfce4-notifyd/xfce4-notifyd-0.7.1.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-notifyd/Manifest b/xfce-extra/xfce4-notifyd/Manifest
index 432dbb1c9c55..5a77cd00e0df 100644
--- a/xfce-extra/xfce4-notifyd/Manifest
+++ b/xfce-extra/xfce4-notifyd/Manifest
@@ -1,2 +1,3 @@
DIST xfce4-notifyd-0.6.4.tar.bz2 554776 BLAKE2B f594ee8a841e4074592a6377e79fde8dd89574620a433a9813f4ad106d712361e941b443de481cb9d140a47e7b1b4753116b4f949c39b6834926f0708877fb6e SHA512 644e2e49092892e386a9f82edc6ab3b2b59ba67617d9217fb43dd3cf74ae5cfc9b9bea6ed0fab4c4440eca68613aa996d9f8dc73deb1f60926217b7db18cc73b
DIST xfce4-notifyd-0.6.5.tar.bz2 572193 BLAKE2B 498c8eecfd884aa04230fea2ecca3b663f0d6b59b549cc5a56d43ac20a17d4f15a1bd1e3ce8d1681de7307d569096bbbbe169ada447d41f7889daad5a35c8a8f SHA512 9953dd456520bd80e0d48da013703d7b976f953b9b41cd55f3ac236a74c55277d04f38a092e2a9024cd67cbcde3f3989daadf6b4f41e57c7e005c20f4acdf1ac
+DIST xfce4-notifyd-0.7.1.tar.bz2 572368 BLAKE2B 4407bf31fe7a43f09129a7536795a48e3e7ec7c630a9a5d7da164eff6d8bfe57ccc5204879cc5536d1d3e85ef6fb602be666ba60f368a22413b2bf514c62ea17 SHA512 92f4387d705a8c345635542c9d4583af1db3f63c76fdee33210930acd68beffe3f334206692bb0aacfb28a18039f745ff26ab97f7b50fa7eb0f53e69208e5f6d
diff --git a/xfce-extra/xfce4-notifyd/xfce4-notifyd-0.7.1.ebuild b/xfce-extra/xfce4-notifyd/xfce4-notifyd-0.7.1.ebuild
new file mode 100644
index 000000000000..f08a5b934440
--- /dev/null
+++ b/xfce-extra/xfce4-notifyd/xfce4-notifyd-0.7.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="Notification daemon for the Xfce desktop environment"
+HOMEPAGE="
+ https://docs.xfce.org/apps/notifyd/start
+ https://gitlab.xfce.org/apps/xfce4-notifyd/
+"
+SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="sound wayland X"
+
+DEPEND="
+ >=dev-libs/glib-2.56.0:2
+ >=x11-libs/gtk+-3.22:3[wayland?,X?]
+ >=x11-libs/libnotify-0.7
+ >=xfce-base/libxfce4ui-4.12:=[gtk3(+)]
+ >=xfce-base/libxfce4util-4.12:=
+ >=xfce-base/xfce4-panel-4.12:=
+ >=xfce-base/xfconf-4.10:=
+ sound? (
+ >=media-libs/libcanberra-0.30[gtk3]
+ )
+ wayland? (
+ >=gui-libs/gtk-layer-shell-0.7.0
+ )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ dev-util/gdbus-codegen
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local myconf=(
+ $(use_enable wayland gdk-wayland)
+ $(use_enable wayland gtk-layer-shell)
+ $(use_enable X gdk-x11)
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}