forked from calculate/calculate-overlay
parent
829d333e34
commit
e01cd74847
@ -1,10 +0,0 @@
|
||||
# ChangeLog for media-video/openshot
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*openshot-1.1.3 (08 Jun 2010)
|
||||
|
||||
08 Jun 2010; Alexander Tratsevskiy (L'autre) <at@calculate.ru>
|
||||
-openshot-1.0.0.ebuild, +openshot-1.1.3.ebuild:
|
||||
Version bump
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST openshot-1.1.3.tar.gz 16656529 RMD160 ac9e1da12bdee0805e29440008071b55ef346988 SHA1 bd9e33aad6ac12e15fa8f65c2eb9d8c955067836 SHA256 bf8278badcae43511dbd40387141f6a76e720ceea0fe0ab99051c9e031c17c2e
|
||||
EBUILD openshot-1.1.3.ebuild 2476 RMD160 5851da3b8f53b2c6c2b24a0f78ab181298f35184 SHA1 c6db8820751b74d20cee9c005a20fdeedc89ab37 SHA256 cdd7096a0007763905cb1a4efe1fc02d30b7c6b2871ff1516e209a38e7853d12
|
||||
MISC ChangeLog 283 RMD160 ced3732c24727254d4ab1f91712b522344a38bd3 SHA1 b68790899d0a11029bc0742ea872b7a5aff43ea4 SHA256 042671d972c38c09935c522cf8c2e1335bc08727fbcb02abc7f38864983fa971
|
||||
DIST openshot-1.4.2.tar.gz 28610481 RMD160 34dbc3993bd4e508b67e9d12e000d3e57f2e05ee SHA1 2d96855349eab66ccc45e9fe1f69bd0f0309f17d SHA256 6bb63bd98080c6043db5ad9490b82c163d40ee858808d3a134cbed1840d3715f
|
||||
EBUILD openshot-1.4.2.ebuild 1919 RMD160 169a25c03a6a617acfa14791f86a7062855c6694 SHA1 1214cb6554e94cfc27aae653533a5f3a82f2bfb8 SHA256 b6ba7e22c9b3a7307baa6f92a71306aa8a7f45f1c763e8cc9b01ea9cf16d2eb9
|
||||
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
MY_PV="${PV}"
|
||||
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/${PV%.[^.]*}/${PV}/+download/${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]"
|
||||
|
||||
src_install() {
|
||||
# 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 omf files
|
||||
insinto "/usr/share/omf/${PN}"
|
||||
doins docs/omf/* || die "failed to install omf files."
|
||||
|
||||
# Install Gnome help files
|
||||
insinto "/usr/share/gnome/help/${PN}"
|
||||
doins -r docs/gnome/* || die "failed to install Gnome help files."
|
||||
|
||||
# Install documentation
|
||||
doman docs/*.1 || die "failed to install man page."
|
||||
dodoc AUTHORS COPYING PKG-INFO 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
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 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 versionator distutils fdo-mime python
|
||||
|
||||
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=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
>=x11-libs/gtk+-2.18:2
|
||||
dev-python/pygtk
|
||||
dev-python/pygoocanvas
|
||||
dev-python/pyxdg
|
||||
dev-python/librsvg-python
|
||||
dev-python/httplib2
|
||||
>=media-libs/mlt-0.4.6-r1[ffmpeg,frei0r,gtk,melt,python,sdl,xml]
|
||||
media-sound/sox[encode,ffmpeg]
|
||||
>=virtual/ffmpeg-0.6[encode,sdl]
|
||||
dev-python/imaging
|
||||
"
|
||||
#>=virtual/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
|
||||
}
|
Loading…
Reference in new issue