Add LiVES

new file:   media-video/lives/Manifest
new file:   media-video/lives/lives-2.2.6.ebuild
This commit is contained in:
Sergey Morozov 2014-08-21 23:08:04 +04:00
parent b1925b69e1
commit f9c91c547c
2 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST LiVES-2.2.6.tar.bz2 3587838 SHA256 2aaa58a7cb578492fb1a89659668658ddfdf72c510309c71d56896ad9b4c44a0 SHA512 640fe3f7fa0d6a347aa8a234f4bbc5a132c9aecfb8da13ee1071da243f06cbac9308b1589222beef1d712ad134f2a121b4358b2a662ef8e9c9767968a8c19baf WHIRLPOOL fc417d06908df6b88f0f3b75af4b2381fafea36a5f1f7ae33cc4ae978a2f957025433a6d0e1ea06d317d384c580571bf66e62a202216f73ac9921f820dd20042
EBUILD lives-2.2.6.ebuild 2120 SHA256 df4f72e2b07052cee2bdd7fe93f6ab5069571757dbd11e86dd9b6a51071c53d0 SHA512 5f0bf9b3c9c639a2585969e43a8152ca71b5fbcafd241edbb1c353c387d5a78457f34179495700748de84a72ff7b2599cccb79a0f01ce44fcd5b6569cdd839b9 WHIRLPOOL b499f12279dab820c50f6ff1753d59c8d4ca0c93d1f43dfd380f082da3ab6809b13ff6109bd3093c8df5fbded840d904c162c527e78baec89fb6895b40cdaf4c

View File

@ -0,0 +1,80 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils
MY_P=LiVES-${PV}
DESCRIPTION="LiVES is a Video Editing System"
HOMEPAGE="http://lives.sf.net"
SRC_URI="http://www.xs4all.nl/~salsaman/lives/current/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
IUSE="libvisual matroska nls ogg theora" # static-libs
RDEPEND="|| ( media-video/mplayer[jpeg] media-video/mplayer2[jpeg] )
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
dev-lang/perl
>=dev-libs/glib-2.14
>=x11-libs/gtk+-2.16:2
media-libs/libsdl
media-libs/libv4l
virtual/ffmpeg
virtual/jpeg
media-sound/sox
virtual/cdrtools
|| ( dev-lang/python:2.7 dev-lang/python:2.6 )
media-plugins/frei0r-plugins
media-sound/jack-audio-connection-kit
>=media-video/mjpegtools-1.6.2
sys-libs/libavc1394
libvisual? ( media-libs/libvisual )
matroska? ( media-video/mkvtoolnix )
ogg? ( media-sound/ogmtools )
theora? ( media-libs/libtheora )"
DEPEND="${DEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )"
DOCS=( AUTHORS BUGS ChangeLog FEATURES GETTING.STARTED NEWS README )
src_prepare() {
esvn_clean
# Don't try to detect installed copies wrt #295293
sed -i -e '/^PKG_CHECK_MODULES(WEED/s:true:false:' configure.ac || die
sed -i -e '/test/s:sendOSC:dIsAbLeAuToMaGiC:' libOSC/sendOSC/Makefile.am || die
# Don't remove system weed
#sed -i -e '/libweed\*\.la/s/rm/#rm/' libweed/Makefile.am || die
sed -i -e '/install-exec-hook:/,+1{s/^/#/}' libweed/Makefile.am || die
# Use python 2.x as per reference in plugins
sed -i \
-e '/#!.*env/s:python:python2:' \
lives-plugins/plugins/encoders/multi_encoder* \
lives-plugins/marcos-encoders/lives_*_encoder* || die
AT_M4DIR="mk/autoconf" eautoreconf # for the seds
}
src_configure() {
# $(use_enable static-libs static)
econf \
--disable-static \
--disable-gtk3 \
$(use_enable libvisual) \
$(use_enable nls)
}
src_install() {
default
rm -f "${ED}"usr/bin/lives #384727
dosym lives-exe /usr/bin/lives
find "${ED}"usr -name '*.la' -exec rm -f {} +
# use static-libs ||
rm -f "${ED}"usr/lib*/libweed-*.a
}