EAPI=7
-inherit cmake-utils xdg-utils
+inherit cmake xdg-utils
DESCRIPTION="Vim-fork focused on extensibility and agility"
HOMEPAGE="https://neovim.io"
sed -e "/^# define SYS_VIMRC_FILE/s|\$VIM|${EPREFIX}/etc/vim|" \
-i src/nvim/globals.h || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DENABLE_JEMALLOC=$(usex jemalloc)
-DPREFER_LUA=$(usex luajit no yes)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# install a default configuration file
insinto /etc/vim
EAPI=7
-inherit cmake-utils eutils xdg
+inherit cmake eutils xdg
DESCRIPTION="Vim-fork focused on extensibility and agility."
HOMEPAGE="https://neovim.io"
sed -e "/^# define SYS_VIMRC_FILE/s|\$VIM|${EPREFIX}/etc/vim|" \
-i src/nvim/globals.h || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DFEAT_TUI=$(usex tui)
-DPREFER_LUA=$(usex luajit no yes)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# install a default configuration file
insinto /etc/vim
EAPI=7
-inherit cmake-utils eutils xdg
+inherit cmake eutils xdg
DESCRIPTION="Vim-fork focused on extensibility and agility."
HOMEPAGE="https://neovim.io"
sed -e "/^# define SYS_VIMRC_FILE/s|\$VIM|${EPREFIX}/etc/vim|" \
-i src/nvim/globals.h || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DFEAT_TUI=$(usex tui)
-DPREFER_LUA=$(usex luajit no yes)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# install a default configuration file
insinto /etc/vim
EAPI=7
-inherit cmake-utils eutils xdg
+inherit cmake eutils xdg
DESCRIPTION="Vim-fork focused on extensibility and agility."
HOMEPAGE="https://neovim.io"
sed -e "/^# define SYS_VIMRC_FILE/s|\$VIM|${EPREFIX}/etc/vim|" \
-i src/nvim/globals.h || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DFEAT_TUI=$(usex tui)
-DPREFER_LUA=$(usex luajit no yes)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# install a default configuration file
insinto /etc/vim
HOMEPAGE="https://leechcraft.org"
SRC_URI="https://github.com/0xd34df00d/${PN#lib}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-inherit cmake-utils
+inherit cmake
LICENSE="Boost-1.0"
SLOT="0"
EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="Daemon for communication with Viessmann Vito heatings"
HOMEPAGE="https://github.com/openv/vcontrold/"
sed "s/@VERSION@/${PV}/" "src/version.h.in" \
> "src/version.h" || die "Setting version failed"
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DVSIM="$(usex vsim)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
doinitd "${FILESDIR}/vcontrold"
insinto /etc/vcontrold/
doins -r xml
EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="A tool to handle your cellular phone"
HOMEPAGE="https://wammu.eu/gammu/"
-DWITH_ODBC=$(usex odbc)
-DWITH_Postgres=$(usex postgres)
-DWITH_USB=$(usex usb)
- -DBUILD_SHARED_LIBS=ON
-DINSTALL_DOC_DIR="share/doc/${PF}"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_test() {
addwrite "/run/lock/LCK..bar"
- LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake-utils_src_test -j1
+ LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake_src_test -j1
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
docompress -x /usr/share/doc/${PF}/examples/
}
EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="A tool to handle your cellular phone"
HOMEPAGE="https://wammu.eu/gammu/"
-DWITH_ODBC=$(usex odbc)
-DWITH_Postgres=$(usex postgres)
-DWITH_USB=$(usex usb)
- -DBUILD_SHARED_LIBS=ON
-DINSTALL_DOC_DIR="share/doc/${PF}"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_test() {
addwrite "/run/lock/LCK..bar"
- LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake-utils_src_test -j1
+ LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake_src_test -j1
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
docompress -x /usr/share/doc/${PF}/examples/
}
# Python is required for tests and some build tasks.
PYTHON_COMPAT=( python2_7 pypy )
-
+CMAKE_ECLASS=cmake
inherit cmake-multilib python-any-r1
MY_PV=1.10.x
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i -e '/set(cxx_base_flags /s:-Werror::' \
googletest/cmake/internal_utils.cmake || die "sed failed!"
-Dgtest_build_tests=$(usex test)
-DPYTHON_EXECUTABLE="${PYTHON}"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_install_all() {
# Python is required for tests and some build tasks.
PYTHON_COMPAT=( python2_7 pypy )
-
+CMAKE_ECLASS=cmake
inherit cmake-multilib python-any-r1
if [[ ${PV} == "9999" ]]; then
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i -e '/set(cxx_base_flags /s:-Werror::' \
googletest/cmake/internal_utils.cmake || die "sed failed!"
-Dgtest_build_tests=$(usex test)
-DPYTHON_EXECUTABLE="${PYTHON}"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_install_all() {
# Python is required for tests and some build tasks.
PYTHON_COMPAT=( python2_7 pypy )
+CMAKE_ECLASS=cmake
GOOGLETEST_COMMIT=da10da05c262af0a9e8fa91789a272a3dec67655
-
inherit cmake-multilib python-any-r1
if [[ ${PV} == "9999" ]]; then
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i -e '/set(cxx_base_flags /s:-Werror::' \
googletest/cmake/internal_utils.cmake || die "sed failed!"
-Dgtest_build_tests=$(usex test)
-DPYTHON_EXECUTABLE="${PYTHON}"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_install_all() {
# Python is required for tests and some build tasks.
PYTHON_COMPAT=( python2_7 pypy )
+CMAKE_ECLASS=cmake
inherit cmake-multilib python-any-r1
if [[ ${PV} == "9999" ]]; then
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i -e '/set(cxx_base_flags /s:-Werror::' \
googletest/cmake/internal_utils.cmake || die "sed failed!"
-Dgtest_build_tests=$(usex test)
-DPYTHON_EXECUTABLE="${PYTHON}"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_src_install_all() {
CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake-utils flag-o-matic
+inherit cmake flag-o-matic
DESCRIPTION="Hot backup utility for MySQL based servers"
HOMEPAGE="https://www.percona.com/software/mysql-database/percona-xtrabackup"
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# remove bundled libedit, libevent, zlib
# just to be safe...
)
local CMAKE_BUILD_TYPE="Release"
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake-utils flag-o-matic
+inherit cmake flag-o-matic
BOOST_VER="1_69_0"
MY_PV="$(ver_rs 2 '-')"
-DWITH_SYSTEM_LIBS=ON
)
local CMAKE_BUILD_TYPE="Release"
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake-utils
+inherit cmake
DESCRIPTION="Cross platform unit testing framework for C and C++"
HOMEPAGE="https://github.com/Snaipe/Criterion"
-DCTESTS="$(usex test ON OFF)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use test; then
- cmake-utils_src_make criterion_tests
+ cmake_build criterion_tests
fi
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
if [[ "/usr/lib" != "/usr/$(get_libdir)" ]]; then
mkdir -p "${D}/usr/$(get_libdir)" || die
EAPI=7
-inherit cmake-utils unpacker
+inherit cmake unpacker
# e.g. MY_PV = a.b.c-d
MY_PV="$(ver_rs 3 -)"
# Fix libdir
# Match '/lib/' and '/lib"' without capturing / or ", replacing with libdir
sed -i -r "s/\/lib(\"|\/)/\/$(get_libdir)\1/g" CMakeLists.txt || die "Failed to sed CMakeLists.txt"
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DWITH_LUA_ENGINE=$(usex luajit LuaJIT Lua)
-DWITH_SHARED_LIBUV=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_test() {
EAPI=7
-inherit cmake-utils xdg
+inherit cmake xdg
DESCRIPTION="A free open-source voxel game engine with easy modding and game creation"
HOMEPAGE="https://www.minetest.net"
PATCHES="${FILESDIR}/${PV}-FindJson.patch"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# set paths
sed \
-e "s#@BINDIR@#${EPREFIX}/usr/bin#g" \
-DIRRLICHT_INCLUDE_DIR="${EPREFIX}/usr/include/irrlicht"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc ; then
- cmake-utils_src_compile doc
+ cmake_src_compile doc
HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
fi
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
if use server ; then
keepdir /var/log/minetest
EAPI=7
MY_PV="${PV/_/-}"
-inherit cmake-utils multilib wxwidgets
+inherit cmake multilib wxwidgets
DESCRIPTION="A PlayStation 2 emulator"
HOMEPAGE="https://www.pcsx2.net"
)
WX_GTK_VER="3.0" setup-wxwidgets
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
# Upstream issue: https://github.com/PCSX2/pcsx2/issues/417
QA_TEXTRELS="usr/$(get_libdir)/pcsx2/* usr/bin/PCSX2"
- cmake-utils_src_install
+ cmake_src_install
}
EAPI=7
-inherit cmake-utils git-r3 multilib toolchain-funcs wxwidgets
+inherit cmake git-r3 multilib toolchain-funcs wxwidgets
DESCRIPTION="A PlayStation 2 emulator"
HOMEPAGE="https://www.pcsx2.net"
)
WX_GTK_VER="3.0-gtk3" setup-wxwidgets
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
# https://github.com/PCSX2/pcsx2/issues/3077
QA_EXECSTACK="usr/bin/PCSX2"
QA_TEXTRELS="usr/$(get_libdir)/pcsx2/* usr/bin/PCSX2"
- cmake-utils_src_install
+ cmake_src_install
}
EAPI=7
WX_GTK_VER="3.0-gtk3"
-inherit cmake-utils desktop prefix wxwidgets xdg
+inherit cmake desktop prefix wxwidgets xdg
DESCRIPTION="Online multiplayer free software engine for DOOM"
HOMEPAGE="https://odamex.net/"
use odalaunch && setup-wxwidgets
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DUSE_MINIUPNP=$(usex upnp)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
# Build odamex.wad
cd wad || die "cd failed"
fi
fi
- cmake-utils_src_install
+ cmake_src_install
}
EAPI=7
-inherit cmake-utils desktop xdg
+inherit cmake desktop xdg
DESCRIPTION="A modder-friendly OpenGL source port based on the DOOM engine"
HOMEPAGE="https://zdoom.org"
rm -rf wadsrc_bm wadsrc_extra || die
fi
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DNO_OPENMP="$(usex !openmp)"
-DBUILD_NONFREE="$(usex nonfree)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
newicon src/posix/zdoom.xpm "${PN}.xpm"
make_desktop_entry "${PN}" "GZDoom" "${PN}" "Game;ActionGame"
- cmake-utils_src_install
+ cmake_src_install
}
pkg_postinst() {
EAPI=7
-inherit cmake-utils xdg-utils
+inherit cmake xdg-utils
DESCRIPTION="A cross-platform image viewer with webm support, written in qt5"
HOMEPAGE="https://github.com/easymodo/qimgv"
"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# respect make.conf CXXFLAGS
sed -i -e '/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -lstdc++fs -O3")/d' CMakeLists.txt || die
}
-DKDE_SUPPORT=$(usex kde)
-DVIDEO_SUPPORT=$(usex video)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
EAPI=7
-inherit cmake-utils xdg-utils
+inherit cmake xdg-utils
DESCRIPTION="A cross-platform image viewer with webm support, written in qt5"
HOMEPAGE="https://github.com/easymodo/qimgv"
"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# respect make.conf CXXFLAGS
sed -i -e '/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -lstdc++fs -O3")/d' CMakeLists.txt || die
}
-DKDE_SUPPORT=$(usex kde)
-DVIDEO_SUPPORT=$(usex video)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="A library for storing voxel data"
HOMEPAGE="http://opensource.imageworks.com/?p=field3d"
local mycmakeargs=(
-DINSTALL_DOCS=OFF # Docs are not finished yet.
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
- $(cmake-utils_use_find_package mpi MPI)
+ $(cmake_use_find_package mpi MPI)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake-utils llvm toolchain-funcs
+inherit cmake llvm toolchain-funcs
# check this on updates
LLVM_MAX_SLOT=8
local gcc=$(tc-getCC)
# LLVM needs CPP11. Do not disable.
local mycmakeargs=(
- -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
-DENABLERTTI=OFF
-DINSTALL_DOCS=$(usex doc)
-DLLVM_STATIC=ON
-DUSE_SIMD="$(IFS=","; echo "${mysimd[*]}")"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
if [[ ${PV} == *9999 ]]; then
inherit git-r3
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_find_package doc Doxygen)
+ $(cmake_use_find_package doc Doxygen)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-inherit cmake-utils python-single-r1
+inherit cmake python-single-r1
if [[ ${PV} == *9999 ]]; then
inherit git-r3
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_find_package doc Doxygen)
+ $(cmake_use_find_package doc Doxygen)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="Per-Face Texture Mapping for Production Rendering"
HOMEPAGE="http://ptex.us/"
cat <<-EOF > version || die
${PV}
EOF
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/html"
-DPTEX_BUILD_STATIC_LIBS=$(usex static-libs)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="Morse-code tutor using the Koch method"
HOMEPAGE="https://github.com/hmatuschek/kochmorse"
S="${WORKDIR}/kochmorse-${PV}"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# Upstream uses a non-standard category in release 3.4.0. I submitted
# a fix which has been accepted, but not yet released.
sed -i -e 's/Teaching;/X-Teaching;/' shared/kochmorse.desktop || die
EAPI=7
-inherit cmake-utils xdg-utils
+inherit cmake xdg-utils
DESCRIPTION="A Qt-based video player, which can play most formats and codecs"
HOMEPAGE="https://github.com/zaps166/QMPlay2"
-e 's/(install.+QMPlay2\.1)\.gz/\1/' \
-i src/gui/CMakeLists.txt || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
mycmakeargs+=( USE_GIT_VERSION=OFF )
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
EAPI=7
-inherit cmake-utils xdg-utils
+inherit cmake xdg-utils
DESCRIPTION="A Qt-based video player, which can play most formats and codecs"
HOMEPAGE="https://github.com/zaps166/QMPlay2"
-e 's/(install.+QMPlay2\.1)\.gz/\1/' \
-i src/gui/CMakeLists.txt || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
mycmakeargs+=( USE_GIT_VERSION=OFF )
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
EAPI=7
-inherit cmake-utils
+inherit cmake
MY_P="LibVNCServer-${PV}"
DESCRIPTION="library for creating vnc servers"
-DWITH_IPv6=$(usex ipv6 ON OFF)
-DWITH_SASL=$(usex sasl ON OFF)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
-inherit cmake-utils
+inherit cmake
MY_P="LibVNCServer-${PV}"
DESCRIPTION="library for creating vnc servers"
-DWITH_IPv6=$(usex ipv6 ON OFF)
-DWITH_SASL=$(usex sasl ON OFF)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework"
HOMEPAGE="https://github.com/qxmpp-project/qxmpp/"
sed -e "/qxmpptransfermanager/d" \
-i tests/CMakeLists.txt || die "failed to drop single test"
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DWITH_VPX=$(usex vpx)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake-utils xdg-utils
+inherit cmake xdg-utils
DESCRIPTION="Seafile desktop client"
HOMEPAGE="https://github.com/haiwen/seafile-client/ http://www.seafile.com/"
src_prepare() {
eapply "${FILESDIR}/${PN}-select-qt5.patch"
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)"
-DBUILD_TESTING="$(usex test)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
EAPI=7
-inherit cmake-utils xdg-utils
+inherit cmake xdg-utils
DESCRIPTION="Seafile desktop client"
HOMEPAGE="https://github.com/haiwen/seafile-client/ http://www.seafile.com/"
src_prepare() {
eapply "${FILESDIR}/${PN}-select-qt5.patch"
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)"
-DBUILD_TESTING="$(usex test)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
EAPI=7
-inherit cmake-utils xdg-utils
+inherit cmake xdg-utils
DESCRIPTION="Seafile desktop client"
HOMEPAGE="https://github.com/haiwen/seafile-client/ http://www.seafile.com/"
src_prepare() {
eapply "${FILESDIR}/${PN}-select-qt5.patch"
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)"
-DBUILD_TESTING="$(usex test)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
PYTHON_COMPAT=( python{3_5,3_6,3_7} )
-inherit cmake-utils python-any-r1 systemd
+inherit cmake python-any-r1 systemd
DESCRIPTION="An unidentifiable mechanism that helps you bypass GFW"
HOMEPAGE="https://github.com/trojan-gfw/${PN}"
-DENABLE_MYSQL=$(usex mysql)
-DSYSTEMD_SERVICE=ON
-DSYSTEMD_SERVICE_PATH=$(systemd_get_systemunitdir)
- -DCMAKE_INSTALL_DOCDIR=share/doc/${PF}
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
newinitd "${FILESDIR}/trojan.initd" trojan
}
src_test() {
- cmake-utils_src_test -j1
+ cmake_src_test -j1
}
PYTHON_COMPAT=( python{3_5,3_6,3_7} )
-inherit cmake-utils python-any-r1 systemd
+inherit cmake python-any-r1 systemd
DESCRIPTION="An unidentifiable mechanism that helps you bypass GFW"
HOMEPAGE="https://github.com/trojan-gfw/trojan"
-DENABLE_MYSQL=$(usex mysql)
-DSYSTEMD_SERVICE=ON
-DSYSTEMD_SERVICE_PATH=$(systemd_get_systemunitdir)
- -DCMAKE_INSTALL_DOCDIR=share/doc/${PF}
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
newinitd "${FILESDIR}/trojan.initd" trojan
}
src_test() {
- cmake-utils_src_test -j1
+ cmake_src_test -j1
}
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit systemd cmake-utils toolchain-funcs
+inherit systemd cmake toolchain-funcs
DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
HOMEPAGE="https://github.com/PurpleI2P/i2pd"
-DWITH_LIBRARY=ON
-DWITH_BINARY=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# config
insinto /etc/i2pd
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit systemd cmake-utils toolchain-funcs
+inherit systemd cmake toolchain-funcs
DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
HOMEPAGE="https://github.com/PurpleI2P/i2pd"
-DWITH_LIBRARY=ON
-DWITH_BINARY=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# config
insinto /etc/i2pd
EAPI=7
-inherit systemd cmake-utils toolchain-funcs
+inherit systemd cmake toolchain-funcs
DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
HOMEPAGE="https://github.com/PurpleI2P/i2pd"
-DWITH_LIBRARY=ON
-DWITH_BINARY=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# config
insinto /etc/i2pd
EAPI=7
-inherit cmake-utils
+inherit cmake
if [[ ${PV} == *9999* ]]; then
inherit git-r3
-DGeant4VMC_BUILD_EXAMPLES="$(usex test)"
-DGeant4VMC_INSTALL_EXAMPLES="$(usex examples)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc ; then
local dirs=(
source
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
use doc && local HTML_DOCS=(doc/.)
einstalldocs
}
EAPI=7
-inherit cmake-utils
+inherit cmake
if [[ ${PV} == *9999* ]]; then
inherit git-r3
-DGeant4VMC_BUILD_EXAMPLES="$(usex test)"
-DGeant4VMC_INSTALL_EXAMPLES="$(usex examples)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc ; then
local dirs=(
source
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
use doc && local HTML_DOCS=(doc/.)
einstalldocs
}
EAPI=7
-inherit cmake-utils
+inherit cmake
if [[ ${PV} == *9999* ]]; then
inherit git-r3
-DGeant4VMC_BUILD_EXAMPLES="$(usex test)"
-DGeant4VMC_INSTALL_EXAMPLES="$(usex examples)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc ; then
local dirs=(
source
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
use doc && local HTML_DOCS=(doc/.)
einstalldocs
}
EAPI=7
-inherit cmake-utils
+inherit cmake
if [[ ${PV} == *9999* ]]; then
inherit git-r3
else
mycmakeargs+=( -DWITH_G4ROOT=no )
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc; then
cd packages
doxygen || die
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
use doc && local HTML_DOCS=( doc/html/. )
einstalldocs
}
EAPI=7
-inherit cmake-utils
+inherit cmake
if [[ ${PV} == *9999* ]]; then
inherit git-r3
else
mycmakeargs+=( -DWITH_G4ROOT=no )
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc; then
cd packages
doxygen || die
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
use doc && local HTML_DOCS=( doc/html/. )
einstalldocs
}
EAPI=7
-inherit cmake-utils
+inherit cmake
if [[ ${PV} == *9999* ]]; then
inherit git-r3
else
mycmakeargs+=( -DWITH_G4ROOT=no )
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use doc; then
cd packages
doxygen || die
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
use doc && local HTML_DOCS=( doc/html/. )
einstalldocs
}
EAPI=7
-inherit cmake-utils linux-info
+inherit cmake linux-info
DESCRIPTION="Thunderbolt(TM) user-space components"
HOMEPAGE="https://github.com/intel/thunderbolt-software-user-space"
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
cmake_comment_add_subdirectory docs
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
doman tbtadm.1
}
EAPI=7
-inherit cmake-utils gnome2-utils
+inherit cmake gnome2-utils
MY_P=CopyQ-${PV}
-DWITH_WEBKIT=$(usex webkit)
-DCMAKE_INSTALL_MANDIR="share/man"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake-multilib flag-o-matic multilib systemd
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic systemd
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/VirtualGL/${PN}.git"
sed -e "s#/etc/opt#/var/lib#g" -i doc/unixconfig.txt doc/index.html doc/advancedopengl.txt \
server/vglrun.in server/vglgenkey server/vglserver_config || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DTJPEG_LIBRARY=/usr/$(get_libdir)/libturbojpeg.so
-DCMAKE_LIBRARY_PATH=/usr/$(get_libdir)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_parallel_foreach_abi abi_configure
}
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake-multilib flag-o-matic multilib systemd
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib flag-o-matic systemd
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/VirtualGL/${PN}.git"
sed -e "s#/etc/opt#/var/lib#g" -i doc/unixconfig.txt doc/index.html doc/advancedopengl.txt \
server/vglrun.in server/vglgenkey server/vglserver_config || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
-DTJPEG_LIBRARY=/usr/$(get_libdir)/libturbojpeg.so
-DCMAKE_LIBRARY_PATH=/usr/$(get_libdir)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
multilib_parallel_foreach_abi abi_configure
}