From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A3B09138330 for ; Tue, 9 Jan 2018 17:33:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F508E0B46; Tue, 9 Jan 2018 17:33:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1CF54E0B46 for ; Tue, 9 Jan 2018 17:33:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E4B3335C53 for ; Tue, 9 Jan 2018 17:33:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 69AFA1B5 for ; Tue, 9 Jan 2018 17:33:09 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1515518961.4404a6dab80b61ab4d99c1cb132884a9e3dbcb07.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/avidemux/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/avidemux/Manifest media-video/avidemux/avidemux-2.6.20-r1.ebuild media-video/avidemux/avidemux-2.7.0.ebuild media-video/avidemux/avidemux-9999.ebuild X-VCS-Directories: media-video/avidemux/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4404a6dab80b61ab4d99c1cb132884a9e3dbcb07 X-VCS-Branch: master Date: Tue, 9 Jan 2018 17:33:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e584a71c-005d-49e3-b506-c500f08fc4eb X-Archives-Hash: c83bd57d8186eb7f959e2d8916aad27b commit: 4404a6dab80b61ab4d99c1cb132884a9e3dbcb07 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Jan 9 16:57:39 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Jan 9 17:29:21 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4404a6da media-video/avidemux: 2.7.0 version bump Add x11-libs/libva slot operator. Closes: https://bugs.gentoo.org/549818 Closes: https://bugs.gentoo.org/641636 Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-video/avidemux/Manifest | 1 + media-video/avidemux/avidemux-2.6.20-r1.ebuild | 2 +- ...{avidemux-9999.ebuild => avidemux-2.7.0.ebuild} | 30 ++++++++++++---------- media-video/avidemux/avidemux-9999.ebuild | 30 ++++++++++++---------- 4 files changed, 36 insertions(+), 27 deletions(-) diff --git a/media-video/avidemux/Manifest b/media-video/avidemux/Manifest index ae61dc9d907..c86d53e23df 100644 --- a/media-video/avidemux/Manifest +++ b/media-video/avidemux/Manifest @@ -1 +1,2 @@ DIST avidemux_2.6.20.tar.gz 20172362 BLAKE2B d458749e470e60b133a177ddf97ee04a665da3f7b2c52e8cc51f907aa5b51d11338ddab9306603b615170b5cf75ec2d3444bd648756bdb724aa442abf7044553 SHA512 d01d0fc24a3004770bd3923c2debc4fa2752eb71df08cfe423746b9c44a2562ca01d82965ed2563b99572a4bed8034b79487199ce330208b51a3b7f87ccf7103 +DIST avidemux_2.7.0.tar.gz 21474504 BLAKE2B c6e55a0b5220d6d3746fa06162bf11253145fd28f2f6f744702d5e0342fba85e546a28883eb847139eadd34c94037ebc7d68f5576e7505a85288556468d14b96 SHA512 7c92213d3bd2849dbdb5a1aff2acd6da231fd76c561b756fbf4a1d5a41e9705d609d7a35b6ca6b77ceb3bf5138f861cd24ed16d8fcec4fd713f09a2ff07e9015 diff --git a/media-video/avidemux/avidemux-2.6.20-r1.ebuild b/media-video/avidemux/avidemux-2.6.20-r1.ebuild index 75412c73705..0dfaecb51ea 100644 --- a/media-video/avidemux/avidemux-2.6.20-r1.ebuild +++ b/media-video/avidemux/avidemux-2.6.20-r1.ebuild @@ -91,7 +91,7 @@ src_configure() { -DAVIDEMUX_SOURCE_DIR='${S}' -DGETTEXT="$(usex nls)" -DSDL="$(usex sdl)" - -DLIBVA="$(usex vaapi)" + -DLibVA="$(usex vaapi)" -DVDPAU="$(usex vdpau)" -DXVIDEO="$(usex xv)" ) diff --git a/media-video/avidemux/avidemux-9999.ebuild b/media-video/avidemux/avidemux-2.7.0.ebuild similarity index 86% copy from media-video/avidemux/avidemux-9999.ebuild copy to media-video/avidemux/avidemux-2.7.0.ebuild index 6b3b95e51a5..d1ae46fc076 100644 --- a/media-video/avidemux/avidemux-9999.ebuild +++ b/media-video/avidemux/avidemux-2.7.0.ebuild @@ -19,15 +19,20 @@ HOMEPAGE="http://fixounet.free.fr/avidemux" # Multiple licenses because of all the bundled stuff. LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" -SLOT="2.6" +SLOT="2.7" IUSE="debug nls nvenc opengl qt5 sdl vaapi vdpau xv" COMMON_DEPEND=" ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,xv?,nvenc?] nvenc? ( amd64? ( media-video/nvidia_video_sdk:0 ) ) opengl? ( virtual/opengl:0 ) - qt5? ( dev-qt/qtgui:5 ) - vaapi? ( x11-libs/libva:0 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + ) + vaapi? ( x11-libs/libva:0= ) " DEPEND="${COMMON_DEPEND} qt5? ( dev-qt/linguist-tools:5 ) @@ -51,12 +56,12 @@ src_prepare() { CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare done - # Fix icon name -> avidemux-2.6.png - sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || \ + # Fix icon name -> avidemux-2.7.png + sed -i -e "/^Icon/ s:${PN}:${PN}-${SLOT}:" ${PN}2.desktop || \ die "Icon name fix failed." # The desktop file is broken. It uses avidemux2 instead of avidemux3 - # so it will actually launch avidemux-2.5 if it is installed. + # so it will actually launch avidemux-2.7 if it is installed. sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || \ die "Desktop file fix failed." if use qt5; then @@ -68,8 +73,8 @@ src_prepare() { sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || \ die "Desktop file fix failed." - # Now rename the desktop file to not collide with 2.5. - mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed." + # Now rename the desktop file to not collide with 2.6. + mv ${PN}2.desktop ${PN}-${SLOT}.desktop || die "Collision rename failed." # Remove "Build Option" dialog because it doesn't reflect # what the GUI can or has been built with. (Bug #463628) @@ -87,14 +92,13 @@ src_configure() { use x86 && replace-flags -O0 -O1 # The build relies on an avidemux-core header that uses 'nullptr' - # which is from >=C++11. Let's use the GCC-6 default C++ dialect. + # which is from >=C++11. Let's use the GCC-6 default C++ dialect. append-cxxflags -std=c++14 local mycmakeargs=( - -DAVIDEMUX_SOURCE_DIR='${S}' -DGETTEXT="$(usex nls)" -DSDL="$(usex sdl)" - -DLIBVA="$(usex vaapi)" + -DLibVA="$(usex vaapi)" -DVDPAU="$(usex vdpau)" -DXVIDEO="$(usex xv)" ) @@ -145,7 +149,7 @@ src_install() { fi cd "${S}" || die "Can't enter source folder." - newicon ${PN}_icon.png ${PN}-2.6.png + newicon ${PN}_icon.png ${PN}-${SLOT}.png if [[ -f "${ED}"/usr/bin/avidemux3_qt5 ]] ; then fperms +x /usr/bin/avidemux3_qt5 @@ -156,7 +160,7 @@ src_install() { fi if use qt5 ; then - domenu ${PN}-2.6.desktop + domenu ${PN}-${SLOT}.desktop fi } diff --git a/media-video/avidemux/avidemux-9999.ebuild b/media-video/avidemux/avidemux-9999.ebuild index 6b3b95e51a5..d1ae46fc076 100644 --- a/media-video/avidemux/avidemux-9999.ebuild +++ b/media-video/avidemux/avidemux-9999.ebuild @@ -19,15 +19,20 @@ HOMEPAGE="http://fixounet.free.fr/avidemux" # Multiple licenses because of all the bundled stuff. LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" -SLOT="2.6" +SLOT="2.7" IUSE="debug nls nvenc opengl qt5 sdl vaapi vdpau xv" COMMON_DEPEND=" ~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,xv?,nvenc?] nvenc? ( amd64? ( media-video/nvidia_video_sdk:0 ) ) opengl? ( virtual/opengl:0 ) - qt5? ( dev-qt/qtgui:5 ) - vaapi? ( x11-libs/libva:0 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + ) + vaapi? ( x11-libs/libva:0= ) " DEPEND="${COMMON_DEPEND} qt5? ( dev-qt/linguist-tools:5 ) @@ -51,12 +56,12 @@ src_prepare() { CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare done - # Fix icon name -> avidemux-2.6.png - sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || \ + # Fix icon name -> avidemux-2.7.png + sed -i -e "/^Icon/ s:${PN}:${PN}-${SLOT}:" ${PN}2.desktop || \ die "Icon name fix failed." # The desktop file is broken. It uses avidemux2 instead of avidemux3 - # so it will actually launch avidemux-2.5 if it is installed. + # so it will actually launch avidemux-2.7 if it is installed. sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || \ die "Desktop file fix failed." if use qt5; then @@ -68,8 +73,8 @@ src_prepare() { sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || \ die "Desktop file fix failed." - # Now rename the desktop file to not collide with 2.5. - mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed." + # Now rename the desktop file to not collide with 2.6. + mv ${PN}2.desktop ${PN}-${SLOT}.desktop || die "Collision rename failed." # Remove "Build Option" dialog because it doesn't reflect # what the GUI can or has been built with. (Bug #463628) @@ -87,14 +92,13 @@ src_configure() { use x86 && replace-flags -O0 -O1 # The build relies on an avidemux-core header that uses 'nullptr' - # which is from >=C++11. Let's use the GCC-6 default C++ dialect. + # which is from >=C++11. Let's use the GCC-6 default C++ dialect. append-cxxflags -std=c++14 local mycmakeargs=( - -DAVIDEMUX_SOURCE_DIR='${S}' -DGETTEXT="$(usex nls)" -DSDL="$(usex sdl)" - -DLIBVA="$(usex vaapi)" + -DLibVA="$(usex vaapi)" -DVDPAU="$(usex vdpau)" -DXVIDEO="$(usex xv)" ) @@ -145,7 +149,7 @@ src_install() { fi cd "${S}" || die "Can't enter source folder." - newicon ${PN}_icon.png ${PN}-2.6.png + newicon ${PN}_icon.png ${PN}-${SLOT}.png if [[ -f "${ED}"/usr/bin/avidemux3_qt5 ]] ; then fperms +x /usr/bin/avidemux3_qt5 @@ -156,7 +160,7 @@ src_install() { fi if use qt5 ; then - domenu ${PN}-2.6.desktop + domenu ${PN}-${SLOT}.desktop fi }