milis/talimatname/genel/indicator-sound/talimat

30 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-09-01 09:15:34 +02:00
# Description: Birleştirilmiş ses menü göstergesi.
# URL: https://launchpad.net/indicator-sound
# Packager: yasarciv67@gmail.com
2017-09-02 16:39:40 +02:00
# Depends on: intltool vala ido libdbusmenu-gtk3 libgee06 libindicator libindicator-gtk2 pulseaudio libnotify
2017-09-01 09:15:34 +02:00
name=indicator-sound
2017-09-02 16:37:12 +02:00
version=12.10.1
2017-09-01 09:15:34 +02:00
release=1
2017-09-02 16:37:12 +02:00
source=(https://launchpad.net/indicator-sound/12.10/$version/+download/$name-$version.tar.gz
2017-09-02 16:34:23 +02:00
http://pkgbuild.com/~bgyorgy/sources/indicator-sound-translations-20130310.tar.gz)
2017-09-01 09:15:34 +02:00
build() {
cd ${name}-${version}
# Install updated language files
rename ${name}- '' ../po/${name}-*.po
mv -f -t po ../po/*
printf "%s\n" po/*.po | sed -e 's/po\///g' -e 's/\.po//g' >po/LINGUAS
export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' --libexecdir="/usr/lib/${name}" --disable-{schemas-compile,static}
make
make DESTDIR="${PKG}" install
# Fix icon names to provide the playlist icon
install -dm 755 "${PKG}"/usr/share/libindicator/icons/hicolor/{16x16,scalable}/mimetypes
mv "${PKG}"/usr/share/libindicator/icons/hicolor/16x16/{status/sound-icon.png,mimetypes/playlist.png}
mv "${PKG}"/usr/share/libindicator/icons/hicolor/scalable/{status/sound-icon.svg,mimetypes/playlist.svg}
rm -r "${PKG}"/usr/share/libindicator/icons/hicolor/{16x16,scalable}/status
# vim: ts=2 sw=2 et:
2017-09-02 16:34:23 +02:00
}