forked from calculate/calculate-overlay
parent
e3befdcec8
commit
e70297be83
@ -0,0 +1,2 @@
|
||||
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
|
@ -0,0 +1,77 @@
|
||||
# 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
|
||||
}
|
Loading…
Reference in new issue