# Copyright 2009 Pierre Lejeune # Distributed under the terms of the GNU General Public License v2 SUMMARY="An MP3 technical info viewer and ID3 1.x tag editor" DESCRIPTION=" MP3Info is a little utility used to read and modify the ID3 tags of MP3 files. MP3Info can also display various techincal aspects of an MP3 file including playing time, bit-rate, sampling frequency and other attributes in a pre-defined or user-specifiable output format. " HOMEPAGE="http://ibiblio.org/${PN}" DOWNLOADS="http://www.ibiblio.org/pub/linux/apps/sound/mp3-utils/${PN}/${PNV}.tgz" LICENCES="GPL-2" SLOT="0" PLATFORMS="~amd64" MYOPTIONS="gtk" DEPENDENCIES=" build: sys-apps/groff build+run: sys-libs/ncurses gtk? ( x11-libs/gtk+:2 ) " DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PNV}-Makefile.patch "${FILES}"/${PNV}-build.patch ) src_compile() { emake mp3info option gtk && emake gmp3info } src_install() { emake DESTDIR="${IMAGE}" install-mp3info option gtk && emake DESTDIR="${IMAGE}" install-gmp3info emagicdocs }