summaryrefslogtreecommitdiff
path: root/libre/gnormalize-parabola
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-26 21:05:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-26 21:05:55 -0300
commite96423b261d094f18bd81b1941ba6b07ec1fa4c5 (patch)
tree2f580cded271d1b92656ecaa4a98f5e56dc41b98 /libre/gnormalize-parabola
parent3e22240d69b8415840612e64e56f3a4e7ada7ae9 (diff)
downloadabslibre-e96423b261d094f18bd81b1941ba6b07ec1fa4c5.tar.gz
abslibre-e96423b261d094f18bd81b1941ba6b07ec1fa4c5.tar.bz2
abslibre-e96423b261d094f18bd81b1941ba6b07ec1fa4c5.zip
add parabola suffix on some packages
Diffstat (limited to 'libre/gnormalize-parabola')
-rw-r--r--libre/gnormalize-parabola/PKGBUILD62
-rw-r--r--libre/gnormalize-parabola/gnormalize.desktop9
-rw-r--r--libre/gnormalize-parabola/gnormalize.install14
3 files changed, 85 insertions, 0 deletions
diff --git a/libre/gnormalize-parabola/PKGBUILD b/libre/gnormalize-parabola/PKGBUILD
new file mode 100644
index 000000000..edcb448a5
--- /dev/null
+++ b/libre/gnormalize-parabola/PKGBUILD
@@ -0,0 +1,62 @@
+# $Id: PKGBUILD 91575 2013-05-24 12:41:56Z arodseth $
+# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
+# Contributor (Arch): Chris Brannon <cmbrannon79@gmail.com>
+# Contributor (Arch): Corrado Primier <bardo@aur.archlinux.org>
+# Contributor (Arch):JZsolt Varadi (karmaxxl)
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+_pkgname=gnormalize
+pkgname=gnormalize-parabola
+pkgver=0.63
+pkgrel=5
+pkgdesc='Audio normalizer, converter, encoder/decoder, ripper, tagger and player, without nonfree faac and mac recommendation'
+arch=('any')
+url='http://gnormalize.sourceforge.net/'
+license=('GPL')
+depends=('perl' 'cddb_get' 'desktop-file-utils' 'gtk2-perl' 'hicolor-icon-theme')
+makedepends=('xz' 'gendesk')
+optdepends=('flac: FLAC encoding, FLAC playing in conjunction with mplayer'
+ 'lame: MP3 encoding'
+ '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}" "${_pkgname}-libre")
+conflicts=("${_pkgname}" "${_pkgname}-libre")
+provides=(${_pkgname}=${pkgver})
+install=gnormalize.install
+source=("http://downloads.sourceforge.net/sourceforge/gnormalize/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('80fd9aa2da8d7fcc88bd180be2adce1aed863bedba7d715144029bd95b61ccb6')
+
+prepare() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ gendesk -n --pkgname "$_pkgname" --pkgdesc "$pkgdesc" --mimetypes \
+ 'audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-wav;application/x-ogg'
+ lzma -qd gnormalize.1.lzma
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
+ install -Dm644 "$_pkgname.1" "$pkgdir/usr/share/man/man1/$_pkgname.1"
+ install -d "$pkgdir/usr/share/$_pkgname/animations"
+ install -m644 animations/*.gif "$pkgdir/usr/share/$_pkgname/animations/"
+ install -Dm644 README "$pkgdir/usr/share/doc/$_pkgname/README"
+ install -Dm644 "icons/$_pkgname.png" \
+ "$pkgdir/usr/share/pixmaps/$_pkgname.png"
+ for i in 16 32 48 ; do
+ install -Dm644 "icons/gnormalize-$i.png" \
+ "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/$_pkgname.png"
+ done
+ install -Dm644 "$_pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$_pkgname.desktop"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/libre/gnormalize-parabola/gnormalize.desktop b/libre/gnormalize-parabola/gnormalize.desktop
new file mode 100644
index 000000000..4d4061308
--- /dev/null
+++ b/libre/gnormalize-parabola/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-parabola/gnormalize.install b/libre/gnormalize-parabola/gnormalize.install
new file mode 100644
index 000000000..ef533df53
--- /dev/null
+++ b/libre/gnormalize-parabola/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: