talimat 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. # Tanım: Birleştirilmiş ses menü göstergesi.
  2. # URL: https://launchpad.net/indicator-sound
  3. # Paketçi: yasarciv67
  4. # Gerekler: intltool vala ido libdbusmenu-gtk3 libgee06 libindicator libindicator-gtk2 pulseaudio libnotify
  5. # Grup: sistem
  6. isim=indicator-sound
  7. surum=12.10.1
  8. devir=1
  9. kaynak=(https://launchpad.net/indicator-sound/12.10/$surum/+download/$isim-$surum.tar.gz
  10. http://pkgbuild.com/~bgyorgy/sources/indicator-sound-translations-20130310.tar.gz)
  11. derle() {
  12. cd ${isim}-${surum}
  13. # Install updated language files
  14. rename ${isim}- '' ../po/${isim}-*.po
  15. mv -f -t po ../po/*
  16. printf "%s\n" po/*.po | sed -e 's/po\///g' -e 's/\.po//g' >po/LINGUAS
  17. export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
  18. ./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' --libexecdir="/usr/lib/${isim}" --disable-{schemas-compile,static}
  19. make
  20. make DESTDIR="${PKG}" install
  21. # Fix icon names to provide the playlist icon
  22. install -dm 755 "${PKG}"/usr/share/libindicator/icons/hicolor/{16x16,scalable}/mimetypes
  23. mv "${PKG}"/usr/share/libindicator/icons/hicolor/16x16/{status/sound-icon.png,mimetypes/playlist.png}
  24. mv "${PKG}"/usr/share/libindicator/icons/hicolor/scalable/{status/sound-icon.svg,mimetypes/playlist.svg}
  25. rm -r "${PKG}"/usr/share/libindicator/icons/hicolor/{16x16,scalable}/status
  26. # vim: ts=2 sw=2 et:
  27. }