Switch update icon cache from install file to deps

This commit is contained in:
benklett 2016-09-28 15:49:09 +02:00
parent 8cb51e5302
commit 12350c0125
3 changed files with 5 additions and 18 deletions

View file

@ -1,11 +1,10 @@
# Generated by mksrcinfo v8 # Generated by mksrcinfo v8
# Tue Aug 30 19:33:35 UTC 2016 # Wed Sep 28 13:38:34 UTC 2016
pkgbase = obs-studio-git pkgbase = obs-studio-git
pkgdesc = Free and open source software for video recording and live streaming. pkgdesc = Free and open source software for video recording and live streaming.
pkgver = 0.15.4.r33.g07539da pkgver = 0.16.1.r0.g6d16c51
pkgrel = 1 pkgrel = 1
url = https://github.com/jp9000/obs-studio url = https://github.com/jp9000/obs-studio
install = obs-studio-git.install
arch = i686 arch = i686
arch = x86_64 arch = x86_64
license = GPL2 license = GPL2
@ -22,7 +21,7 @@ pkgbase = obs-studio-git
depends = libxkbcommon-x11 depends = libxkbcommon-x11
depends = qt5-x11extras depends = qt5-x11extras
depends = curl depends = curl
depends = hicolor-icon-theme depends = gtk-update-icon-cache
optdepends = libfdk-aac: FDK AAC codec support optdepends = libfdk-aac: FDK AAC codec support
optdepends = libxcomposite: XComposite capture support optdepends = libxcomposite: XComposite capture support
optdepends = jack: JACK Support optdepends = jack: JACK Support

View file

@ -4,14 +4,14 @@
# Contributor: ledti <antergist at gmail dot com> # Contributor: ledti <antergist at gmail dot com>
pkgname=obs-studio-git pkgname=obs-studio-git
pkgver=0.15.4.r33.g07539da pkgver=0.16.1.r0.g6d16c51
pkgrel=1 pkgrel=1
pkgdesc="Free and open source software for video recording and live streaming." pkgdesc="Free and open source software for video recording and live streaming."
arch=("i686" "x86_64") arch=("i686" "x86_64")
url="https://github.com/jp9000/obs-studio" url="https://github.com/jp9000/obs-studio"
license=("GPL2") license=("GPL2")
depends=("ffmpeg" "jansson" "libxinerama" "libxkbcommon-x11" depends=("ffmpeg" "jansson" "libxinerama" "libxkbcommon-x11"
"qt5-x11extras" "curl" "hicolor-icon-theme") "qt5-x11extras" "curl" "gtk-update-icon-cache")
makedepends=("cmake" "git" "libfdk-aac" "libxcomposite" "x264" "jack" "vlc") makedepends=("cmake" "git" "libfdk-aac" "libxcomposite" "x264" "jack" "vlc")
optdepends=("libfdk-aac: FDK AAC codec support" optdepends=("libfdk-aac: FDK AAC codec support"
"libxcomposite: XComposite capture support" "libxcomposite: XComposite capture support"
@ -19,7 +19,6 @@ optdepends=("libfdk-aac: FDK AAC codec support"
"vlc: VLC Media Source") "vlc: VLC Media Source")
provides=("obs-studio") provides=("obs-studio")
conflicts=("obs-studio") conflicts=("obs-studio")
install=$pkgname.install
source=("$pkgname::git+https://github.com/jp9000/obs-studio.git#branch=master") source=("$pkgname::git+https://github.com/jp9000/obs-studio.git#branch=master")
md5sums=("SKIP") md5sums=("SKIP")

View file

@ -1,11 +0,0 @@
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}