diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-03-13 17:11:55 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-03-13 17:11:55 -0300 |
commit | bd0cccafbb191476dc807a581dc8a9aaf3d8aec0 (patch) | |
tree | 8f7f2a6921b4b9e64bc1abe029384f5288ce8652 /libre | |
parent | a7c547a150ff63ad8bdd4cfd415785fa23721c05 (diff) | |
download | abslibre-bd0cccafbb191476dc807a581dc8a9aaf3d8aec0.tar.gz abslibre-bd0cccafbb191476dc807a581dc8a9aaf3d8aec0.tar.bz2 abslibre-bd0cccafbb191476dc807a581dc8a9aaf3d8aec0.zip |
gnormalize-libre: adding new package to [libre] repo
Diffstat (limited to 'libre')
-rw-r--r-- | libre/gnormalize-libre/PKGBUILD | 55 | ||||
-rw-r--r-- | libre/gnormalize-libre/gnormalize.desktop | 9 | ||||
-rw-r--r-- | libre/gnormalize-libre/gnormalize.install | 14 |
3 files changed, 78 insertions, 0 deletions
diff --git a/libre/gnormalize-libre/PKGBUILD b/libre/gnormalize-libre/PKGBUILD new file mode 100644 index 000000000..221351be1 --- /dev/null +++ b/libre/gnormalize-libre/PKGBUILD @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Chris Brannon <cmbrannon79@gmail.com> +# Contributor: Corrado Primier <bardo@aur.archlinux.org> +# Contributor:JZsolt Varadi (karmaxxl) +# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> + +_pkgname=gnormalize +pkgname=gnormalize-libre +pkgver=0.63 +pkgrel=4 +pkgdesc="An audio normalizer, converter, encoder/decoder, ripper, tagger and player (without nonfree faac recommendation)" +arch=(any) +url="http://gnormalize.sourceforge.net/" +license=('GPL') +depends=(perl cddb_get desktop-file-utils gtk2-perl hicolor-icon-theme) +makedepends=('xz') +optdepends=('flac: FLAC encoding, FLAC playing in conjunction with mplayer' + 'lame: MP3 encoding' + 'mac: full Monkeys Audio Codec support (available in the AUR)' + 'mpg321: MP3 playing' + 'mplayer: FLAC/WAV playing' + 'musepack-tools: full Musepack support' + 'perl-mp3-info: MP3 ID3 tags' + 'vorbis-tools: full OGG Vorbis support' + 'cdcd: CD playing' + 'cdparanoia: CD ripping' + 'cdrkit: CD ripping - alternative to cdparanoia' + 'wavegain: sound normalization') +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +install=gnormalize.install +source=(http://downloads.sourceforge.net/sourceforge/gnormalize/${_pkgname}-${pkgver}.tar.gz + gnormalize.desktop) +md5sums=('25ca7520731e61a8b7f4b7fa61928d54' '81c6dffab2139816919842e042705884') + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + install -Dm755 gnormalize "${pkgdir}/usr/bin/gnormalize" + lzma -qd gnormalize.1.lzma + install -Dm644 gnormalize.1 "${pkgdir}/usr/share/man/man1/gnormalize.1" + install -d "${pkgdir}/usr/share/gnormalize/animations" + install -m644 animations/*.gif "${pkgdir}/usr/share/gnormalize/animations/" + install -Dm644 README "${pkgdir}/usr/share/doc/gnormalize/README" + install -Dm644 icons/gnormalize.png \ + "${pkgdir}/usr/share/pixmaps/gnormalize.png" + for i in 16 32 48 ; do + install -Dm644 icons/gnormalize-${i}.png \ + "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/gnormalize.png" + done + install -Dm644 "${srcdir}/gnormalize.desktop" \ + "${pkgdir}/usr/share/applications/gnormalize.desktop" +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/gnormalize-libre/gnormalize.desktop b/libre/gnormalize-libre/gnormalize.desktop new file mode 100644 index 000000000..4d4061308 --- /dev/null +++ b/libre/gnormalize-libre/gnormalize.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=gnormalize +Comment=Encoder/Decoder, normalize frontend, etc. +Exec=gnormalize +Icon=gnormalize +MimeType=audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-wav;application/x-ogg; +Categories=GTK;AudioVideo;Player; +Terminal=false +Type=Application diff --git a/libre/gnormalize-libre/gnormalize.install b/libre/gnormalize-libre/gnormalize.install new file mode 100644 index 000000000..ef533df53 --- /dev/null +++ b/libre/gnormalize-libre/gnormalize.install @@ -0,0 +1,14 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: |