summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-03-20 14:03:52 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-03-20 14:03:52 +0000
commit509d3ec069b1bd869309e94fbf549c57d669bd3d (patch)
tree95024057bae81df1f3a294a35de374c2b9658632 /media-libs
parentRevision bump: Removed gtk USE flag, fixes bug #461988. Split plugins to its ... (diff)
downloadgentoo-2-509d3ec069b1bd869309e94fbf549c57d669bd3d.tar.gz
gentoo-2-509d3ec069b1bd869309e94fbf549c57d669bd3d.tar.bz2
gentoo-2-509d3ec069b1bd869309e94fbf549c57d669bd3d.zip
New package: Removed gtk USE flag, fixes bug #461988. Split plugins to its own package, fixes bug #462098.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/avidemux-plugins/ChangeLog10
-rw-r--r--media-libs/avidemux-plugins/Manifest4
-rw-r--r--media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r1.ebuild97
-rw-r--r--media-libs/avidemux-plugins/metadata.xml13
4 files changed, 124 insertions, 0 deletions
diff --git a/media-libs/avidemux-plugins/ChangeLog b/media-libs/avidemux-plugins/ChangeLog
new file mode 100644
index 000000000000..70e06de7becb
--- /dev/null
+++ b/media-libs/avidemux-plugins/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/avidemux-plugins
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/avidemux-plugins/ChangeLog,v 1.1 2013/03/20 14:03:52 tomwij Exp $
+
+*avidemux-plugins-2.6.2-r1 (20 Mar 2013)
+
+ 20 Mar 2013; Tom Wijsman <TomWij@gentoo.org>
+ +avidemux-plugins-2.6.2-r1.ebuild, +metadata.xml:
+ New package: Removed gtk USE flag, fixes bug #461988. Split plugins to its own
+ package, fixes bug #462098.
diff --git a/media-libs/avidemux-plugins/Manifest b/media-libs/avidemux-plugins/Manifest
new file mode 100644
index 000000000000..a50c82eb1ea4
--- /dev/null
+++ b/media-libs/avidemux-plugins/Manifest
@@ -0,0 +1,4 @@
+DIST avidemux_2.6.2.tar.gz 17009420 SHA256 67c5676692152094033fbab490fbea24af27d8744496578d1c77957ab103fdb6 SHA512 1ba6f1c751732eec9fdceb2b0728122005ceab4c74ac09d213ebeff4c2af2a0b6ce8737d88e7c43970d1b9ca80cb36ad925efc9e4a487c4f463f1435aee328b3 WHIRLPOOL 0c95e87293251fffb773c8a1996ac015ba0d6f9d36d4f5ae01313c0532d2cf020a3ba0704d0f607347bbf0444e10857d7508fcbd968d62e889d7b62b36b85df7
+EBUILD avidemux-plugins-2.6.2-r1.ebuild 2935 SHA256 3461e33ae23d1ce33045a507295be11ef2881db63cb7cdb93a6757e74f834af1 SHA512 e056ea51bd65d26c9e491759c70bc50ee8879f75f72b66d26bd1e9fa66992ff3d11cfedf150b65f00c45f6328ef1d101deef027b83cff841aec2d500f4ea5e1a WHIRLPOOL 21c6b439a4accbc10a73a6783051a331957a3cbed04b837bbc9cdb68209deb0d644784696bddb2343fa6fcffbc83d3599a9565aa4f46c9df0a2863d2c88b8776
+MISC ChangeLog 380 SHA256 8f30539d8e7f84290314ee4419c636bdd7be9b1ea7262364f0792331cb489bae SHA512 9b1c41c778a3240bb6ee1d29ca2f6ecabad7f5c29c5bf3780a3b1c9db171c6df0a98842d6a8f19628d5466e141908a07c8aa3ae947f61dc9c5080ca747992d30 WHIRLPOOL 5c5d01549460fd8568dd441d4afc292b3ed77e39b782b3e77d2455216d45b93e6cbf20e982b224f353ccb8f82ee83ad567c6af7156cb355dea4835cf55c78e78
+MISC metadata.xml 454 SHA256 d030c80e7f7a78bfb80d197a937e72190cbbcfb60a7db46962a257dea7b578dd SHA512 f099ad149918f751437e6111d7533f44d164796456a534d38f6b2a6ba56e727cbf681ba1767af3b3f8d006de3c10e32e90580c53b794278b23fcfc65fd5818d5 WHIRLPOOL 06e262c3f8c4c33af26e94806e2b6233422a2adb8eeeb50dda91ee1b94b91b205fd7ae9531e870890ae39a5d4a1a6d7b021969ede9b5181307664d7353dc6ebf
diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r1.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r1.ebuild
new file mode 100644
index 000000000000..3249a45239d0
--- /dev/null
+++ b/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r1.ebuild,v 1.1 2013/03/20 14:03:52 tomwij Exp $
+
+EAPI="5"
+
+PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
+inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs
+
+SLOT="2.6"
+MY_PN="${PN/-plugins/}"
+MY_P="${MY_PN}_${PV}"
+
+DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks."
+HOMEPAGE="http://fixounet.free.fr/${MY_PN}"
+SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+# Multiple licenses because of all the bundled stuff.
+LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
+KEYWORDS="~amd64 ~x86"
+IUSE="aften a52 alsa amr debug dts fontconfig jack lame libsamplerate mmx oss nls qt4 sdl vorbis truetype xvid x264 xv"
+
+# TODO: Figure out which dependencies can be moved out of avidemux-core and avidemux into here.
+RDEPEND="=media-video/avidemux-${PVR}"
+DEPEND="$RDEPEND"
+
+S="${WORKDIR}/${MY_P}"
+
+PROCESSES="buildPluginsCommon:avidemux_plugins
+ buildPluginsCLI:avidemux_plugins"
+
+use qt4 && PROCESSES+=" buildPluginsQt4:avidemux_plugins"
+
+src_configure() {
+ local x mycmakeargs plugin_ui
+
+ mycmakeargs="
+ $(for x in ${IUSE}; do cmake-utils_use ${x/#-/}; done)
+ $(cmake-utils_use amr OPENCORE_AMRWB)
+ $(cmake-utils_use amr OPENCORE_AMRNB)
+ $(cmake-utils_use dts LIBDCA)
+ $(cmake-utils_use nls GETTEXT)
+ $(cmake-utils_use truetype FREETYPE2)
+ $(cmake-utils_use xv XVIDEO)
+ "
+ use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug"
+
+ for PROCESS in ${PROCESSES} ; do
+ SOURCE="${PROCESS%%:*}"
+ DEST="${PROCESS#*:}"
+
+ mkdir "${S}"/${SOURCE} || die "Can't create build folder."
+ cd "${S}"/${SOURCE} || die "Can't enter build folder."
+
+ if [[ "${SOURCE}" == "buildPluginsCommon" ]] ; then
+ plugin_ui="-DPLUGIN_UI=COMMON"
+ elif [[ "${SOURCE}" == "buildPluginsCLI" ]] ; then
+ plugin_ui="-DPLUGIN_UI=CLI"
+ elif [[ "${SOURCE}" == "buildPluginsQt4" ]] ; then
+ plugin_ui="-DPLUGIN_UI=QT4"
+ fi
+
+ cmake -DAVIDEMUX_SOURCE_DIR="${S}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ ${mycmakeargs} ${plugin_ui} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed."
+ done
+}
+
+src_compile() {
+ # Add lax vector typing for PowerPC.
+ if use ppc || use ppc64 ; then
+ append-cflags -flax-vector-conversions
+ fi
+
+ # See bug 432322.
+ use x86 && replace-flags -O0 -O1
+
+ for PROCESS in ${PROCESSES} ; do
+ SOURCE="${PROCESS%%:*}"
+
+ cd "${S}/${SOURCE}" || die "Can't enter build folder."
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+ done
+}
+
+src_install() {
+ for PROCESS in ${PROCESSES} ; do
+ SOURCE="${PROCESS%%:*}"
+
+ cd "${S}/${SOURCE}" || die "Can't enter build folder."
+ if [[ "${SOURCE}" == "buildPluginsCLI" || "${SOURCE}" == "buildPluginsQt4" ]] ; then
+ emake DESTDIR="${ED}" preinstall
+ else
+ emake DESTDIR="${ED}" install
+ fi
+ done
+}
diff --git a/media-libs/avidemux-plugins/metadata.xml b/media-libs/avidemux-plugins/metadata.xml
new file mode 100644
index 000000000000..f8b59070e559
--- /dev/null
+++ b/media-libs/avidemux-plugins/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>TomWij@gentoo.org</email>
+ <name>Tom Wijsman</name>
+ </maintainer>
+ <herd>video</herd>
+ <use>
+ <flag name="aften">Enable A/52 (AC-3) audio encoder support</flag>
+ <flag name="amr">Enable Adaptive Multi-Rate format support via <pkg>media-libs/opencore-amr</pkg></flag>
+ </use>
+</pkgmetadata>