mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
*/*: Switch media-video proj packages to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="JSON for Modern C++"
|
||||
HOMEPAGE="https://github.com/nlohmann/json https://nlohmann.github.io/json/"
|
||||
@@ -27,11 +27,11 @@ src_configure() {
|
||||
-DJSON_MultipleHeaders=ON
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
cmake_src_compile
|
||||
use doc && emake -C doc
|
||||
}
|
||||
|
||||
@@ -40,6 +40,6 @@ src_test() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
cmake_src_install
|
||||
use doc && dodoc -r doc/html
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="JSON for Modern C++"
|
||||
HOMEPAGE="https://github.com/nlohmann/json https://nlohmann.github.io/json/"
|
||||
@@ -27,11 +27,11 @@ src_configure() {
|
||||
-DJSON_MultipleHeaders=ON
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
cmake_src_compile
|
||||
use doc && emake -C doc
|
||||
}
|
||||
|
||||
@@ -40,6 +40,6 @@ src_test() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
cmake_src_install
|
||||
use doc && dodoc -r doc/html
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Extensible binary format library (kinda like XML)"
|
||||
HOMEPAGE="https://www.matroska.org/ https://github.com/Matroska-Org/libebml/"
|
||||
@@ -16,5 +16,5 @@ IUSE=""
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=( -DBUILD_SHARED_LIBS=YES )
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/zeux/${PN}.git"
|
||||
@@ -24,10 +24,3 @@ PATCHES=(
|
||||
"${FILESDIR}/${P}-Use-CMAKE_INSTALL_LIBDIR-for-pugixml.pc.patch"
|
||||
"${FILESDIR}/${P}-pkg-config-Use-CMake-GnuInstallDirs-FULL-vars.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/zeux/${PN}.git"
|
||||
@@ -18,10 +18,3 @@ HOMEPAGE="https://pugixml.org/ https://github.com/zeux/pugixml/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="A simple, small, efficient, C++ XML parser"
|
||||
@@ -17,5 +18,5 @@ RESTRICT="!test? ( test )"
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=( -DBUILD_TESTING=$(usex test) )
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=7
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Core libraries for simple video cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
@@ -42,7 +42,7 @@ CMAKE_USE_DIR="${S}/${PN/-/_}"
|
||||
PATCHES=( "${FILESDIR}"/${P}-permissions.patch )
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
|
||||
if use system-ffmpeg ; then
|
||||
# Preparations to support the system ffmpeg. Currently fails because
|
||||
@@ -76,13 +76,13 @@ src_configure() {
|
||||
mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
cmake_src_install
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=7
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Core libraries for simple video cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
@@ -40,7 +40,7 @@ S="${WORKDIR}/avidemux2-${PV}"
|
||||
CMAKE_USE_DIR="${S}/${PN/-/_}"
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
|
||||
if use system-ffmpeg ; then
|
||||
# Preparations to support the system ffmpeg. Currently fails because
|
||||
@@ -72,13 +72,13 @@ src_configure() {
|
||||
|
||||
use debug && mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
cmake_src_install
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ EAPI=7
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
PYTHON_COMPAT=( python{2_7,3_6} )
|
||||
|
||||
inherit cmake-utils python-single-r1
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="Plugins for the video editor media-video/avidemux"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
@@ -83,7 +83,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.6.20-optional-pulse.patch )
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Don't reapply PATCHES during cmake-utils_src_prepare
|
||||
# Don't reapply PATCHES during cmake_src_prepare
|
||||
unset PATCHES
|
||||
|
||||
processes="buildPluginsCommon:avidemux_plugins
|
||||
@@ -91,7 +91,7 @@ src_prepare() {
|
||||
use qt5 && processes+=" buildPluginsQt4:avidemux_plugins"
|
||||
|
||||
for process in ${processes} ; do
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
|
||||
done
|
||||
}
|
||||
|
||||
@@ -146,20 +146,20 @@ src_configure() {
|
||||
mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
|
||||
fi
|
||||
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
BUILD_DIR="${build}" cmake-utils_src_compile
|
||||
BUILD_DIR="${build}" cmake_src_compile
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
BUILD_DIR="${build}" cmake-utils_src_install
|
||||
BUILD_DIR="${build}" cmake_src_install
|
||||
done
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ EAPI=7
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
PYTHON_COMPAT=( python{2_7,3_6} )
|
||||
|
||||
inherit cmake-utils python-single-r1
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="Plugins for the video editor media-video/avidemux"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
@@ -83,7 +83,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.6.20-optional-pulse.patch )
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Don't reapply PATCHES during cmake-utils_src_prepare
|
||||
# Don't reapply PATCHES during cmake_src_prepare
|
||||
unset PATCHES
|
||||
|
||||
processes="buildPluginsCommon:avidemux_plugins
|
||||
@@ -91,7 +91,7 @@ src_prepare() {
|
||||
use qt5 && processes+=" buildPluginsQt4:avidemux_plugins"
|
||||
|
||||
for process in ${processes} ; do
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
|
||||
done
|
||||
}
|
||||
|
||||
@@ -142,20 +142,20 @@ src_configure() {
|
||||
use qt5 && mycmakeargs+=( -DENABLE_QT5=True )
|
||||
use debug && mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
|
||||
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
BUILD_DIR="${build}" cmake-utils_src_compile
|
||||
BUILD_DIR="${build}" cmake_src_compile
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
BUILD_DIR="${build}" cmake-utils_src_install
|
||||
BUILD_DIR="${build}" cmake_src_install
|
||||
done
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
@@ -37,5 +38,5 @@ multilib_src_configure() {
|
||||
# -DMEDIA_RUN_TEST_SUITE=OFF
|
||||
# )
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
@@ -37,5 +38,5 @@ multilib_src_configure() {
|
||||
# -DMEDIA_RUN_TEST_SUITE=OFF
|
||||
# )
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
@@ -37,5 +38,5 @@ multilib_src_configure() {
|
||||
# -DMEDIA_RUN_TEST_SUITE=OFF
|
||||
# )
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
@@ -37,5 +38,5 @@ multilib_src_configure() {
|
||||
# -DMEDIA_RUN_TEST_SUITE=OFF
|
||||
# )
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
@@ -37,5 +38,5 @@ multilib_src_configure() {
|
||||
# -DMEDIA_RUN_TEST_SUITE=OFF
|
||||
# )
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
@@ -63,12 +64,12 @@ multilib_src_configure() {
|
||||
-DENABLE_AVX=$(usex cpu_flags_x86_avx ON OFF)
|
||||
-DENABLE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi && use doc ; then
|
||||
local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
|
||||
fi
|
||||
cmake-utils_src_install
|
||||
cmake_src_install
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Extensible multimedia container format based on EBML"
|
||||
HOMEPAGE="https://www.matroska.org/ https://github.com/Matroska-Org/libmatroska/"
|
||||
@@ -19,5 +19,5 @@ DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=( -DBUILD_SHARED_LIBS=YES )
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
COMMIT="77edb1f14dde35e1facecc309dbc4fb7f07d7014"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit cmake-utils python-single-r1 toolchain-funcs
|
||||
inherit cmake python-single-r1 toolchain-funcs
|
||||
|
||||
COMMIT="0d4ea7fe71e88bcee4a7fd1404bd52c8e2169997"
|
||||
|
||||
@@ -64,7 +64,7 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
# https://github.com/OpenShot/libopenshot/issues/17
|
||||
use test || cmake_comment_add_subdirectory tests
|
||||
}
|
||||
@@ -73,23 +73,23 @@ src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_RUBY=OFF # TODO: add ruby support
|
||||
-DENABLE_PYTHON=$(usex python)
|
||||
$(cmake-utils_use_find_package imagemagick ImageMagick)
|
||||
$(cmake_use_find_package imagemagick ImageMagick)
|
||||
)
|
||||
use python && mycmakeargs+=(
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
|
||||
-DPYTHON_LIBRARY="$(python_get_library_path)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use doc && cmake-utils_src_make doc
|
||||
cmake_src_compile
|
||||
use doc && cmake_build doc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake-utils_src_make os_test
|
||||
cmake_build os_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -97,6 +97,6 @@ src_install() {
|
||||
use examples && DOCS+=( src/examples/ )
|
||||
use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
|
||||
|
||||
cmake-utils_src_install
|
||||
cmake_src_install
|
||||
use python && python_optimize
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=7
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
|
||||
inherit cmake-utils desktop qmake-utils xdg
|
||||
inherit cmake desktop qmake-utils xdg
|
||||
|
||||
DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
@@ -50,7 +50,7 @@ src_prepare() {
|
||||
fi
|
||||
|
||||
for process in ${processes} ; do
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
|
||||
done
|
||||
|
||||
# Fix icon name -> avidemux-2.7
|
||||
@@ -108,28 +108,28 @@ src_configure() {
|
||||
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
BUILD_DIR="${build}" cmake-utils_src_compile
|
||||
BUILD_DIR="${build}" cmake_src_compile
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
BUILD_DIR="${build}" cmake-utils_src_test
|
||||
BUILD_DIR="${build}" cmake_src_test
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
BUILD_DIR="${build}" cmake-utils_src_install
|
||||
BUILD_DIR="${build}" cmake_src_install
|
||||
done
|
||||
|
||||
cd "${S}" || die "Can't enter source folder."
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=7
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
|
||||
inherit cmake-utils desktop qmake-utils xdg
|
||||
inherit cmake desktop qmake-utils xdg
|
||||
|
||||
DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
|
||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
||||
@@ -46,7 +46,7 @@ src_prepare() {
|
||||
use qt5 && processes+=" buildQt4:avidemux/qt4"
|
||||
|
||||
for process in ${processes} ; do
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
|
||||
done
|
||||
|
||||
if use qt5; then
|
||||
@@ -98,28 +98,28 @@ src_configure() {
|
||||
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure
|
||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
BUILD_DIR="${build}" cmake-utils_src_compile
|
||||
BUILD_DIR="${build}" cmake_src_compile
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
BUILD_DIR="${build}" cmake-utils_src_test
|
||||
BUILD_DIR="${build}" cmake_src_test
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for process in ${processes} ; do
|
||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
||||
BUILD_DIR="${build}" cmake-utils_src_install
|
||||
BUILD_DIR="${build}" cmake_src_install
|
||||
done
|
||||
|
||||
if use qt5; then
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Lightweight video thumbnailer that can be used by file managers"
|
||||
HOMEPAGE="https://github.com/dirkvdb/ffmpegthumbnailer"
|
||||
@@ -37,7 +37,7 @@ PATCHES=( "${FILESDIR}/${P}-pkgconfig-libdir.patch" )
|
||||
src_prepare() {
|
||||
rm -rf out* || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@@ -48,5 +48,5 @@ src_configure() {
|
||||
-DHAVE_JPEG=$(usex jpeg)
|
||||
-DHAVE_PNG=$(usex png)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user