2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Birleştirilmiş ses menü göstergesi.
|
|
|
|
|
# URL: https://launchpad.net/indicator-sound
|
2018-08-09 12:56:01 +02:00
|
|
|
|
# Paketçi: yasarciv67
|
2018-06-09 00:06:58 +02:00
|
|
|
|
# Gerekler: intltool vala ido libdbusmenu-gtk3 libgee06 libindicator libindicator-gtk2 pulseaudio libnotify
|
2018-08-09 12:56:01 +02:00
|
|
|
|
# Grup: sistem
|
2018-06-09 00:06:58 +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
|
|
|
|
|
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:
|
|
|
|
|
|
|
|
|
|
}
|