summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-10-05 09:43:02 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-10-05 09:43:02 +0000
commit73018a3af375a7827d0690cda330ecce4eba1736 (patch)
treedb121221d9f12507f00002a955a86d0e4ea2f7e7 /media-gfx/smile
parentVersion bump, sync with source version (diff)
downloadgentoo-2-73018a3af375a7827d0690cda330ecce4eba1736.tar.gz
gentoo-2-73018a3af375a7827d0690cda330ecce4eba1736.tar.bz2
gentoo-2-73018a3af375a7827d0690cda330ecce4eba1736.zip
Version bump
(Portage version: 2.2_rc43/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/smile')
-rw-r--r--media-gfx/smile/ChangeLog7
-rw-r--r--media-gfx/smile/smile-1.0.ebuild69
2 files changed, 75 insertions, 1 deletions
diff --git a/media-gfx/smile/ChangeLog b/media-gfx/smile/ChangeLog
index 0d2a4ece2db0..6f349aaad871 100644
--- a/media-gfx/smile/ChangeLog
+++ b/media-gfx/smile/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/smile
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/smile/ChangeLog,v 1.1 2009/07/07 23:05:21 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/smile/ChangeLog,v 1.2 2009/10/05 09:43:02 hwoarang Exp $
+
+*smile-1.0 (05 Oct 2009)
+
+ 05 Oct 2009; Markos Chandras <hwoarang@gentoo.org> +smile-1.0.ebuild:
+ Version bump
*smile-0.9.10 (07 Jul 2009)
diff --git a/media-gfx/smile/smile-1.0.ebuild b/media-gfx/smile/smile-1.0.ebuild
new file mode 100644
index 000000000000..bb45f4f1bb43
--- /dev/null
+++ b/media-gfx/smile/smile-1.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/smile/smile-1.0.ebuild,v 1.1 2009/10/05 09:43:02 hwoarang Exp $
+
+EAPI="2"
+
+inherit qt4
+
+DESCRIPTION="Slideshow Maker In Linux Environement"
+HOMEPAGE="http://smile.tuxfamily.org/"
+SRC_URI="http://download.tuxfamily.org/smiletool/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="media-sound/sox
+ media-video/mplayer
+ x11-libs/qt-gui:4[debug?]
+ x11-libs/qt-opengl:4[debug?]
+ x11-libs/qt-webkit:4[debug?]
+ media-gfx/imagemagick"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/fix_installation.patch"
+ "${FILESDIR}/fix_docs-0.9.10.patch"
+)
+LANGS="de en it pl pt ru"
+
+for x in ${LANGS};do
+ IUSE="${IUSE} linguas_${x}"
+done
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ qt4_src_prepare
+ # fix version string on applied patch
+ sed -i "s/${PN}-0.9.10/${P}/" "${S}"/helpfrm.cpp \
+ || die "failed to fix docs path"
+}
+
+src_configure() {
+ eqmake4 ${PN}.pro
+}
+
+src_install() {
+ dobin smile || die "dobin failed"
+ doicon Interface/Theme/${PN}.png || die "doicon failed"
+ make_desktop_entry smile Smile smile "Qt;AudioVideo;Video"
+
+ dodoc BIB_ManSlide/Help/doc_en.html
+ dodoc BIB_ManSlide/Help/doc_fr.html
+ insinto /usr/share/doc/${PF}/
+ doins -r BIB_ManSlide/Help/images
+ doins -r BIB_ManSlide/Help/images_en
+ doins -r BIB_ManSlide/Help/images_fr
+ #translations
+ insinto /usr/share/${PN}/translations/
+ for lang in ${LINGUAS};do
+ for x in ${LANGS};do
+ if [[ ${lang} == ${x} ]];then
+ doins ${PN}_${x}.qm || die "failed to install ${x} translation"
+ fi
+ done
+ done
+}