milis/talimatname/genel/i/indicator-sound/talimat

31 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Birleştirilmiş ses menü göstergesi.
# URL: https://launchpad.net/indicator-sound
# Paketçi: yasarciv67
# Gerekler: intltool vala ido libdbusmenu-gtk3 libgee06 libindicator libindicator-gtk2 pulseaudio libnotify
# Grup: sistem
isim=indicator-sound
surum=12.10.1
devir=1
kaynak=(https://launchpad.net/indicator-sound/12.10/$surum/+download/$isim-$surum.tar.gz
http://pkgbuild.com/~bgyorgy/sources/indicator-sound-translations-20130310.tar.gz)
derle() {
cd ${isim}-${surum}
# Install updated language files
rename ${isim}- '' ../po/${isim}-*.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/${isim}" --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:
}