Skip to content

Commit

Permalink
*/*: Switch proxy-maint to cmake.eclass
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Dec 31, 2019
1 parent 6e07731 commit be0ab35
Show file tree
Hide file tree
Showing 52 changed files with 175 additions and 175 deletions.
8 changes: 4 additions & 4 deletions app-editors/neovim/neovim-0.3.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit cmake-utils xdg-utils
inherit cmake xdg-utils

DESCRIPTION="Vim-fork focused on extensibility and agility"
HOMEPAGE="https://neovim.io"
Expand Down Expand Up @@ -62,7 +62,7 @@ src_prepare() {
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() {
Expand All @@ -71,11 +71,11 @@ 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
Expand Down
8 changes: 4 additions & 4 deletions app-editors/neovim/neovim-0.4.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit cmake-utils eutils xdg
inherit cmake eutils xdg

DESCRIPTION="Vim-fork focused on extensibility and agility."
HOMEPAGE="https://neovim.io"
Expand Down Expand Up @@ -58,19 +58,19 @@ src_prepare() {
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() {
local mycmakeargs=(
-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
Expand Down
8 changes: 4 additions & 4 deletions app-editors/neovim/neovim-0.4.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit cmake-utils eutils xdg
inherit cmake eutils xdg

DESCRIPTION="Vim-fork focused on extensibility and agility."
HOMEPAGE="https://neovim.io"
Expand Down Expand Up @@ -58,19 +58,19 @@ src_prepare() {
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() {
local mycmakeargs=(
-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
Expand Down
8 changes: 4 additions & 4 deletions app-editors/neovim/neovim-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit cmake-utils eutils xdg
inherit cmake eutils xdg

DESCRIPTION="Vim-fork focused on extensibility and agility."
HOMEPAGE="https://neovim.io"
Expand Down Expand Up @@ -59,19 +59,19 @@ src_prepare() {
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() {
local mycmakeargs=(
-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
Expand Down
2 changes: 1 addition & 1 deletion app-leechcraft/liblaretz/liblaretz-0.1.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DESCRIPTION="Shared library to be used by the Laretz sync server and its clients
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"
Expand Down
8 changes: 4 additions & 4 deletions app-misc/vcontrold/vcontrold-0.98.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit cmake-utils
inherit cmake

DESCRIPTION="Daemon for communication with Viessmann Vito heatings"
HOMEPAGE="https://github.com/openv/vcontrold/"
Expand All @@ -22,7 +22,7 @@ src_prepare() {
sed "s/@VERSION@/${PV}/" "src/version.h.in" \
> "src/version.h" || die "Setting version failed"

cmake-utils_src_prepare
cmake_src_prepare
}

src_configure() {
Expand All @@ -32,11 +32,11 @@ 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
Expand Down
9 changes: 4 additions & 5 deletions app-mobilephone/gammu/gammu-1.40.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit cmake-utils
inherit cmake

DESCRIPTION="A tool to handle your cellular phone"
HOMEPAGE="https://wammu.eu/gammu/"
Expand Down Expand Up @@ -47,18 +47,17 @@ src_configure() {
-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/
}
9 changes: 4 additions & 5 deletions app-mobilephone/gammu/gammu-1.41.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit cmake-utils
inherit cmake

DESCRIPTION="A tool to handle your cellular phone"
HOMEPAGE="https://wammu.eu/gammu/"
Expand Down Expand Up @@ -45,18 +45,17 @@ src_configure() {
-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/
}
6 changes: 3 additions & 3 deletions dev-cpp/gtest/gtest-1.10.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EAPI=7

# 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
Expand Down Expand Up @@ -44,7 +44,7 @@ pkg_setup() {
}

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!"
Expand All @@ -60,7 +60,7 @@ multilib_src_configure() {
-Dgtest_build_tests=$(usex test)
-DPYTHON_EXECUTABLE="${PYTHON}"
)
cmake-utils_src_configure
cmake_src_configure
}

multilib_src_install_all() {
Expand Down
6 changes: 3 additions & 3 deletions dev-cpp/gtest/gtest-1.8.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EAPI=7

# 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
Expand Down Expand Up @@ -38,7 +38,7 @@ pkg_setup() {
}

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!"
Expand All @@ -54,7 +54,7 @@ multilib_src_configure() {
-Dgtest_build_tests=$(usex test)
-DPYTHON_EXECUTABLE="${PYTHON}"
)
cmake-utils_src_configure
cmake_src_configure
}

multilib_src_install_all() {
Expand Down
6 changes: 3 additions & 3 deletions dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ EAPI=7
# 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
Expand Down Expand Up @@ -44,7 +44,7 @@ pkg_setup() {
}

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!"
Expand All @@ -60,7 +60,7 @@ multilib_src_configure() {
-Dgtest_build_tests=$(usex test)
-DPYTHON_EXECUTABLE="${PYTHON}"
)
cmake-utils_src_configure
cmake_src_configure
}

multilib_src_install_all() {
Expand Down
5 changes: 3 additions & 2 deletions dev-cpp/gtest/gtest-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ EAPI=7
# 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
Expand Down Expand Up @@ -42,7 +43,7 @@ pkg_setup() {
}

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!"
Expand All @@ -58,7 +59,7 @@ multilib_src_configure() {
-Dgtest_build_tests=$(usex test)
-DPYTHON_EXECUTABLE="${PYTHON}"
)
cmake-utils_src_configure
cmake_src_configure
}

multilib_src_install_all() {
Expand Down
6 changes: 3 additions & 3 deletions dev-db/percona-xtrabackup/percona-xtrabackup-2.4.15.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EAPI="7"

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"
Expand Down Expand Up @@ -40,7 +40,7 @@ PATCHES=(
)

src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare

# remove bundled libedit, libevent, zlib
# just to be safe...
Expand All @@ -65,7 +65,7 @@ src_configure() {
)

local CMAKE_BUILD_TYPE="Release"
cmake-utils_src_configure
cmake_src_configure
}

src_install() {
Expand Down
4 changes: 2 additions & 2 deletions dev-db/percona-xtrabackup/percona-xtrabackup-8.0.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EAPI="7"

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 '-')"
Expand Down Expand Up @@ -50,7 +50,7 @@ src_configure() {
-DWITH_SYSTEM_LIBS=ON
)
local CMAKE_BUILD_TYPE="Release"
cmake-utils_src_configure
cmake_src_configure
}

src_install() {
Expand Down
Loading

0 comments on commit be0ab35

Please sign in to comment.