diff options
Diffstat (limited to 'media-video/ffdiaporama/ffdiaporama-1.4.ebuild')
-rw-r--r-- | media-video/ffdiaporama/ffdiaporama-1.4.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/media-video/ffdiaporama/ffdiaporama-1.4.ebuild b/media-video/ffdiaporama/ffdiaporama-1.4.ebuild new file mode 100644 index 000000000000..655a53a4868b --- /dev/null +++ b/media-video/ffdiaporama/ffdiaporama-1.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/ffdiaporama/ffdiaporama-1.4.ebuild,v 1.1 2012/10/23 20:00:04 hasufell Exp $ + +EAPI=5 + +inherit eutils fdo-mime gnome2-utils qt4-r2 + +DESCRIPTION="Movie creator from photos and video clips" +HOMEPAGE="http://ffdiaporama.tuxfamily.org" +SRC_URI="http://download.tuxfamily.org/${PN}/Archives/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-gfx/exiv2 + media-libs/libsdl[audio] + media-libs/taglib + virtual/ffmpeg[encode] + >=x11-libs/qt-core-4.8:4 + >=x11-libs/qt-gui-4.8:4" +DEPEND="${RDEPEND}" + +DOCS=( authors.txt ) +PATCHES=( "${FILESDIR}"/${P}-desktopfile.patch ) + +src_unpack() { + # S=${WORKDIR} would result in unremoved files in + # ${WORKDIR}/../build + mkdir ${P} || die + cd ${P} || die + unpack ${A} +} + +src_install() { + qt4-r2_src_install + doicon -s 32 application-ffDiaporama.png +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} |