public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/ikelos:master commit in: media-video/openshot/
@ 2013-02-18  0:16 Mike Auty
  0 siblings, 0 replies; only message in thread
From: Mike Auty @ 2013-02-18  0:16 UTC (permalink / raw
  To: gentoo-commits

commit:     8a05c5b9f24c6e99bb7394292e4f3694ad7c6b9c
Author:     Mike Auty <mike.auty <AT> gmail <DOT> com>
AuthorDate: Sun Dec 16 12:05:12 2012 +0000
Commit:     Mike Auty <ikelos <AT> gentoo <DOT> org>
CommitDate: Sun Dec 16 12:05:12 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/ikelos.git;a=commit;h=8a05c5b9

Bump openshot.

---
 media-video/openshot/Manifest              |    6 ++-
 media-video/openshot/openshot-1.0.0.ebuild |   77 ----------------------------
 media-video/openshot/openshot-1.2.2.ebuild |   69 +++++++++++++++++++++++++
 media-video/openshot/openshot-1.4.3.ebuild |   69 +++++++++++++++++++++++++
 4 files changed, 142 insertions(+), 79 deletions(-)

diff --git a/media-video/openshot/Manifest b/media-video/openshot/Manifest
index d5b6277..3d72b9b 100644
--- a/media-video/openshot/Manifest
+++ b/media-video/openshot/Manifest
@@ -1,2 +1,4 @@
-DIST openshot_1.0.0-1.tar.gz 11567926 RMD160 572d19dd040009185c9baef1e598dc1040a4f4c4 SHA1 751e054c4111d41efaa117eada9300776fb0481e SHA256 2de0e39940705306da78b018e460087a26610272f3e43ebe977a37f194e2feda
-EBUILD openshot-1.0.0.ebuild 2273 RMD160 c08545dd20a7c866fb80fb25b96c3f982bf94764 SHA1 824eed187e270501a935fb0a354ce79e5363e641 SHA256 f7de5ddafd7278cbc0476cf5b8e933ff6679d970724209591d1566ccfe13e863
+DIST openshot-1.2.2.tar.gz 16192987 SHA256 e61f5b898a163ab90cca00f4c83dcab9570fe43c7c6d420b9e846a24b0aa8cf1 SHA512 525292c603ec07b9450df9ec15ea799d6e536e806ca53527d7c4def0e447d8b467c9ca5f4852c77025c15f22056b75a073b41d2987681c092e2d00feb81b597f WHIRLPOOL df95677b488e8f13a0cf4cf9188a7d7e77173ef5eb1314007a387642d5b49388c3d7a26929969aa630fc595a825fc4cbc6a9fcb15d0d7b717b6b9c719720a91d
+DIST openshot-1.4.3.tar.gz 31990991 SHA256 5bebf1c59a8667b0263599544f2d23ce6be3ab79ce24a85b766e1e39cab859d0 SHA512 f3221c3e508ccf61d4fd2771de47f42ddb1a78996853011ee336e8ccf842a0fd97707a60c677e1465a89e6eb67911b6eb98b002959f8a29ac9e31924bbb6fcda WHIRLPOOL 4fd8d5b5db2923c8b7349032847087b9cf4ccdbade206c5c6cc9aac27ace6e99c6053bd1184cf14b20c80b4f666baf356798a5b6a8d6c7c737a9a986894943af
+EBUILD openshot-1.2.2.ebuild 1976 SHA256 99b480f1142edb93a6f5ac3b6238ffad75c13a9e63f9f1e9e0d7fa2a4a2b69ba SHA512 397019bb98156247c0c803348aa0eb861ff841905dcf4da2b9bc859244cdaf8a96a15ce68187f2b6d5cd8300b9a51407e5914e17a055f9a47ac778346a1b0ebb WHIRLPOOL a5815e657a7c23f981ef83c447e2796e87f747774f4481dceacb6a12a07e101dc3939c04d9fdb3ad1ed056b4b48025c707e952f8580ede790c72c986f0fd137e
+EBUILD openshot-1.4.3.ebuild 1965 SHA256 9825ac512982c118ed29ef1c1529c0bf77c7925bf193a4eecf7c34b35fac0d8f SHA512 9c809a2071d561311b0a654ced7872a9c8d7a38ca4d017e68bdd3ed9dea0df04c4cb188ad9248f69e8d067066d62345c75de5ab019457f25649d175f983ef49c WHIRLPOOL a01383953e7b2c5e8e25d5a0fb39cd9547fc2819b50a78c7d669c07a5a164998693dc549542454141afb10f8f62784560481876966a5f10eb5454eaf2fb2a153

diff --git a/media-video/openshot/openshot-1.0.0.ebuild b/media-video/openshot/openshot-1.0.0.ebuild
deleted file mode 100644
index 0fd9429..0000000
--- a/media-video/openshot/openshot-1.0.0.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-MY_PV="${PV}-1"
-MY_P="${PN}_${MY_PV}"
-
-EAPI="2"
-
-inherit eutils python fdo-mime
-
-DESCRIPTION="OpenShot Video Editor is a free open-source non-linear video
-editor based on Python, GTK, and MLT."
-HOMEPAGE="http://www.openshotvideo.com"
-SRC_URI="http://launchpad.net/openshot/1.0/${PV}/+download/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="faac faad ieee1394 jack mp3 quicktime theora vorbis x264"
-
-DEPEND=""
-RDEPEND="
-	>=media-libs/mlt-0.4.6-r1[dv,ffmpeg,frei0r,melt,python,quicktime?,xml]
-	>=dev-lang/python-2.5[xml]
-	dev-python/pygtk
-	dev-python/pygoocanvas
-	dev-python/pyxdg
-	media-video/ffmpeg[encode,ieee1394?,jack?,x264?,vorbis?,theora?,faac?,faad?,mp3?]
-	media-sound/sox[encode,ffmpeg]"
-
-S="${WORKDIR}/openshot"
-
-src_install() {
-	cd ${WORKDIR}/openshot
-	# Install the main OpenShot executable
-	dobin bin/openshot || die "failed to install OpenShot executable."
-
-	# Install OpenShot links and icons
-	insinto /usr/share/applications
-	doins xdg/openshot.desktop || die "failed to install desktop link."
-	insinto /usr/share/pixmaps
-	doins xdg/openshot.png || die "failed to install desktop icon."
-	insinto /usr/share/mime/packages
-	doins xdg/openshot.xml || die "failed to install shared mime package."
-	insinto /usr/lib/mime/packages
-	doins xdg/openshot || die "failed to install mime library."
-
-	# Copy over the rest of OpenShot's files
-	insinto /usr/share/openshot
-	doins -r openshot/* || die "failed to install OpenShot files."
-
-	# Install documentation
-	doman docs/openshot.1 || die "failed to install man page."
-	dodoc AUTHORS COPYING README
-}
-
-pkg_postinst() {
-
-	# Update our mime database to relect new changes
-	fdo-mime_mime_database_update
-	fdo-mime_desktop_database_update
-
-	elog
-	elog "The import and export features of this program rely"
-	elog "heavily on its dependencies' USE flags such as"
-	elog "media-libs/mlt and media-video/ffmpeg. If you find you"
-	elog "can't export or import a certain media format, consider"
-	elog "reviewing and modifying these USE flags."
-	elog
-}
-
-pkg_postrm() {
-	# Update our mime database to reflect new changes
-	fdo-mime_mime_database_update
-	fdo-mime_desktop_database_update
-}

diff --git a/media-video/openshot/openshot-1.2.2.ebuild b/media-video/openshot/openshot-1.2.2.ebuild
new file mode 100644
index 0000000..4227e43
--- /dev/null
+++ b/media-video/openshot/openshot-1.2.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+PYTHON_DEPEND=2:2.5
+PYTHON_USE_WITH=xml
+
+inherit distutils fdo-mime python versionator
+
+DESCRIPTION="OpenShot Video Editor is a non-linear video editor"
+HOMEPAGE="http://www.openshotvideo.com"
+SRC_URI="http://launchpad.net/openshot/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dv faac faad flac ieee1394 mp3 ogg quicktime theora vorbis wavpack x264 xvid"
+
+DEPEND=""
+RDEPEND="
+	>=x11-libs/gtk+-2.18
+	dev-python/pygtk
+	dev-python/pygoocanvas
+	dev-python/pyxdg
+	dev-python/librsvg-python
+	>=media-libs/mlt-0.4.6-r1[dv?,ffmpeg,frei0r,gtk,melt,python,quicktime?,sdl,vorbis?,xml,kde]
+	media-sound/sox[encode,ffmpeg,flac?,ogg?,wavpack?]
+	>=media-video/ffmpeg-0.6[encode,faac?,faad?,ieee1394?,mp3?,sdl,theora?,vorbis?,vpx,x264?,xvid?]
+	"
+
+pkg_setup() {
+	python_set_active_version 2
+	python_pkg_setup
+}
+
+src_prepare() {
+	python_convert_shebangs -q -r 2 .
+	distutils_src_prepare
+
+	# Disable the installation of the mime.types file.
+	# The .desktop file would be used to update the mime database.
+	sed -ie '/launcher/,+1d' setup.py || die
+
+	# Avoid stuff covered by fdo-mime.eclass
+	# (update-mime-database update-desktop-database update-mime)
+	# export "FAKEROOTKEY=gentoo" does not work as this variable is filtered
+	# by portage
+	sed -ie '/FAILED = /,$d' setup.py || die
+}
+
+# TODO: check stuff installed to /usr/lib/python2.6/site-packages as there are
+# some parts installed which shouldn't (locale, themes, profiles effects,
+# etc...) Afaik only python stuff should go there and the rest probably to
+# /usr/share/openshot
+# The same goes for /usr/lib/mime/packages
+
+pkg_postinst() {
+	fdo-mime_mime_database_update
+	fdo-mime_desktop_database_update
+	distutils_pkg_postinst
+}
+
+pkg_postrm() {
+	fdo-mime_mime_database_update
+	fdo-mime_desktop_database_update
+	distutils_pkg_postrm
+}

diff --git a/media-video/openshot/openshot-1.4.3.ebuild b/media-video/openshot/openshot-1.4.3.ebuild
new file mode 100644
index 0000000..9c289e4
--- /dev/null
+++ b/media-video/openshot/openshot-1.4.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+PYTHON_DEPEND=2:2.5
+PYTHON_USE_WITH=xml
+
+inherit distutils fdo-mime python versionator
+
+DESCRIPTION="OpenShot Video Editor is a non-linear video editor"
+HOMEPAGE="http://www.openshotvideo.com"
+SRC_URI="http://launchpad.net/openshot/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dv faac flac ieee1394 mp3 ogg quicktime theora vorbis wavpack x264 xvid"
+
+DEPEND=""
+RDEPEND="
+	>=x11-libs/gtk+-2.18
+	dev-python/pygtk
+	dev-python/pygoocanvas
+	dev-python/pyxdg
+	dev-python/librsvg-python
+	>=media-libs/mlt-0.4.6-r1[dv?,ffmpeg,frei0r,gtk,melt,python,quicktime?,sdl,vorbis?,xml,kde]
+	media-sound/sox[encode,ffmpeg,flac?,ogg?,wavpack?]
+	>=media-video/ffmpeg-0.6[encode,faac?,ieee1394?,mp3?,sdl,theora?,vorbis?,vpx,x264?,xvid?]
+	"
+
+pkg_setup() {
+	python_set_active_version 2
+	python_pkg_setup
+}
+
+src_prepare() {
+	python_convert_shebangs -q -r 2 .
+	distutils_src_prepare
+
+	# Disable the installation of the mime.types file.
+	# The .desktop file would be used to update the mime database.
+	sed -ie '/launcher/,+1d' setup.py || die
+
+	# Avoid stuff covered by fdo-mime.eclass
+	# (update-mime-database update-desktop-database update-mime)
+	# export "FAKEROOTKEY=gentoo" does not work as this variable is filtered
+	# by portage
+	sed -ie '/FAILED = /,$d' setup.py || die
+}
+
+# TODO: check stuff installed to /usr/lib/python2.6/site-packages as there are
+# some parts installed which shouldn't (locale, themes, profiles effects,
+# etc...) Afaik only python stuff should go there and the rest probably to
+# /usr/share/openshot
+# The same goes for /usr/lib/mime/packages
+
+pkg_postinst() {
+	fdo-mime_mime_database_update
+	fdo-mime_desktop_database_update
+	distutils_pkg_postinst
+}
+
+pkg_postrm() {
+	fdo-mime_mime_database_update
+	fdo-mime_desktop_database_update
+	distutils_pkg_postrm
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-18  0:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-18  0:16 [gentoo-commits] dev/ikelos:master commit in: media-video/openshot/ Mike Auty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox