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

30 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Birleştirilmiş ses menü göstergesi.
2017-09-01 09:15:34 +02:00
# URL: https://launchpad.net/indicator-sound
2017-10-27 20:46:27 +02:00
# Paketçi: yasarciv67@gmail.com
# Gerekler: intltool vala ido libdbusmenu-gtk3 libgee06 libindicator libindicator-gtk2 pulseaudio libnotify
2017-09-01 09:15:34 +02:00
2017-10-28 14:10:23 +02:00
isim=indicator-sound
surum=12.10.1
devir=1
kaynak=(https://launchpad.net/indicator-sound/12.10/$surum/+download/$isim-$surum.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
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd ${isim}-${surum}
2017-09-01 09:15:34 +02:00
# Install updated language files
2017-10-28 14:10:23 +02:00
rename ${isim}- '' ../po/${isim}-*.po
2017-09-01 09:15:34 +02:00
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"
2017-10-28 14:10:23 +02:00
./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' --libexecdir="/usr/lib/${isim}" --disable-{schemas-compile,static}
2017-09-01 09:15:34 +02:00
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
}