summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/obs-studio/obs-studio-17.0.2.ebuild')
-rw-r--r--media-video/obs-studio/obs-studio-17.0.2.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/media-video/obs-studio/obs-studio-17.0.2.ebuild b/media-video/obs-studio/obs-studio-17.0.2.ebuild
index 2e48f5fb4ddb..5a3784f7e735 100644
--- a/media-video/obs-studio/obs-studio-17.0.2.ebuild
+++ b/media-video/obs-studio/obs-studio-17.0.2.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit cmake-utils
+inherit cmake-utils gnome2-utils
if [[ ${PV} == *9999 ]]; then
inherit git-r3
@@ -71,7 +71,13 @@ src_configure() {
cmake-utils_src_configure
}
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
pkg_postinst() {
+ gnome2_icon_cache_update
+
if ! use alsa && ! use pulseaudio; then
elog
elog "For the audio capture features to be available,"
@@ -98,3 +104,7 @@ pkg_postinst() {
elog
fi
}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}