*/*: Switch m-n packages to cmake.eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 2 Jan 2020 00:57:34 +0000 (01:57 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 2 Jan 2020 19:04:42 +0000 (20:04 +0100)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
19 files changed:
app-arch/unshield/unshield-1.4.3.ebuild
app-misc/pdfpc/pdfpc-4.3.2.ebuild
app-text/apvlv/apvlv-0.1.5-r2.ebuild
dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild
dev-libs/poco/poco-1.9.0-r2.ebuild
dev-util/apitrace/apitrace-8.0.ebuild
media-gfx/maim/maim-5.5.3.ebuild
media-gfx/maim/maim-9999.ebuild
media-sound/flacon/flacon-5.5.1.ebuild
media-sound/supercollider/supercollider-3.10.2.ebuild
net-analyzer/arpon/arpon-2.7.2-r1.ebuild
net-irc/anope/anope-2.0.6.ebuild
net-libs/rabbitmq-c/rabbitmq-c-0.10.0.ebuild
sys-cluster/hpx/hpx-1.2.1.ebuild
sys-cluster/hpx/hpx-9999.ebuild
x11-misc/flow-pomodoro/flow-pomodoro-1.2.0-r1.ebuild
x11-misc/slop/slop-9999.ebuild
x11-misc/xcalib/xcalib-0.10.ebuild
x11-wm/ctwm/ctwm-4.0.3.ebuild

index f81ff080ff9d09a9b973dd13539028165fb1e9c9..80da8114a2ae272e1bbe20bcc6da9bce3061190a 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="InstallShield CAB file extractor"
 HOMEPAGE="https://github.com/twogood/unshield"
index 8de1c1444c14ad015a4f7b44dd710afae2d74218..889c7715a7fb15b1eedbd1e3aec2ae1bc5c062e8 100644 (file)
@@ -6,7 +6,7 @@ EAPI=7
 VALA_MIN_API_VERSION="0.34"
 VALA_MAX_API_VERSION="0.42" # fix sed line if you increase this
 
-inherit vala cmake-utils
+inherit vala cmake
 
 DESCRIPTION="Presenter console with multi-monitor support for PDF files"
 HOMEPAGE="https://pdfpc.github.io"
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="$(vala_depend)"
 
 src_prepare() {
-       cmake-utils_src_prepare
+       cmake_src_prepare
 
        sed -i -e "s/valac/valac valac-0.42 valac-0.40 valac-0.36 valac-0.34/" cmake/vala/FindVala.cmake || die
        vala_src_prepare
@@ -40,5 +40,5 @@ src_configure(){
                -DSYSCONFDIR="${EPREFIX}/etc"
                -DMOVIES=$(usex gstreamer on off)
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }
index e952e34db067581dd6de1e4ea4bfbe88a2ec9bd9..5138d37d5edc5e9c241bdd48ace2b1f01143236e 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit xdg cmake-utils desktop
+inherit xdg cmake desktop
 
 DESCRIPTION="Alf's PDF Viewer Like Vim"
 HOMEPAGE="https://naihe2010.github.com/apvlv/"
@@ -44,10 +44,10 @@ src_configure() {
                -DAPVLV_WITH_DJVU=$(usex djvu)
                -DAPVLV_ENABLE_DEBUG=$(usex debug)
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
        newicon -s 32 icons/pdf.png ${PN}.png
 }
index 7816ece23a2ef3559a01ccb49d03d92bdf895f95..c8a700b3a51cc68f633ed4a1d5dfaa4accc69adf 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils desktop xdg
+inherit cmake desktop xdg
 
 DESCRIPTION="SQLite Database Browser"
 HOMEPAGE="https://sqlitebrowser.org"
@@ -41,7 +41,7 @@ RDEPEND="${DEPEND}
 PATCHES=( "${FILESDIR}"/${PN}-3.11.1-unbundle.patch )
 
 src_prepare() {
-       cmake-utils_src_prepare
+       cmake_src_prepare
        rm -r libs || die
        sed -i 's#"src/qhexedit.h"#<qhexedit.h>#' src/EditDialog.cpp || die
        #find libs/{antlr-2.7.7,qcustomplot-source,qscintilla} -delete || die
@@ -58,10 +58,10 @@ src_configure() {
        local mycmakeargs=(
                -DENABLE_TESTING=$(usex test)
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
        doicon images/sqlitebrowser.svg
 }
index c122dc9b164256b1614175d24e610880227121c6..a0c09ae84691bf3e1ff3223d961562554ee9c9d5 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="C++ libraries for building network-based applications"
 HOMEPAGE="https://pocoproject.org/"
@@ -52,7 +52,7 @@ S="${WORKDIR}/${PN}-${P}-release"
 PATCHES=( "${FILESDIR}/${PN}-1.7.2-iodbc-incdir.patch" )
 
 src_prepare() {
-       cmake-utils_src_prepare
+       cmake_src_prepare
 
        if use test ; then
                # ignore missing tests on experimental library
@@ -115,15 +115,15 @@ src_configure() {
                -DENABLE_ZIP="$(usex zip)"
        )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_test() {
-       POCO_BASE="${S}" cmake-utils_src_test
+       POCO_BASE="${S}" cmake_src_test
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
 
        if use examples ; then
                for sd in */samples ; do
index d37d8c20af6b3117c38f19a751011e1ca4a748cb..27ebcc72ba8a024d021eacb5b36c8c3353dc66ad 100644 (file)
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+CMAKE_ECLASS=cmake
 PYTHON_COMPAT=( python2_7 )
 inherit cmake-multilib python-single-r1
 
@@ -49,7 +50,7 @@ PATCHES=(
 )
 
 src_prepare() {
-       cmake-utils_src_prepare
+       cmake_src_prepare
 
        # The apitrace code grubs around in the internal zlib structures.
        # We have to extract this header and clean it up to keep that working.
@@ -79,7 +80,7 @@ src_configure() {
                                -DENABLE_GUI=OFF
                        )
                fi
-               cmake-utils_src_configure
+               cmake_src_configure
        }
 
        multilib_parallel_foreach_abi my_configure
index d046bb0b70e6a9eb2d8c414b2785d38e1ef3f39f..f0567fc401b0a80a5ceb223f3cff29dee49fb629 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="Commandline tool to take screenshots of the desktop"
 HOMEPAGE="https://github.com/naelstrof/maim"
@@ -37,5 +37,5 @@ src_configure() {
        local mycmakeargs=(
                -DMAIM_UNICODE=$(usex unicode)
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }
index d046bb0b70e6a9eb2d8c414b2785d38e1ef3f39f..f0567fc401b0a80a5ceb223f3cff29dee49fb629 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="Commandline tool to take screenshots of the desktop"
 HOMEPAGE="https://github.com/naelstrof/maim"
@@ -37,5 +37,5 @@ src_configure() {
        local mycmakeargs=(
                -DMAIM_UNICODE=$(usex unicode)
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }
index e6310352d358fb50a592c2fcc2504fa9a3f2f383..ccdd9a6a41dd36fdc528f38e8df5375ef73e2169 100644 (file)
@@ -5,7 +5,7 @@ EAPI=7
 
 # Tests require lots of disk space
 CHECKREQS_DISK_BUILD=10G
-inherit check-reqs cmake-utils eutils virtualx xdg-utils
+inherit check-reqs cmake eutils virtualx xdg-utils
 
 DESCRIPTION="Extracts audio tracks from an audio CD image to separate tracks"
 HOMEPAGE="https://flacon.github.io/"
@@ -58,7 +58,7 @@ src_configure() {
        local mycmakeargs=(
                -DBUILD_TESTS="$(usex test)"
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_test() {
index 23afd5ef19ddff4e5c46c2261c5c451ab285ee51..0d26b89cbf3e0293566939a4f2445b5db12788cd 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils readme.gentoo-r1 xdg-utils
+inherit cmake readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="An environment and a programming language for real time audio synthesis."
 HOMEPAGE="https://supercollider.github.io/"
@@ -99,11 +99,11 @@ src_configure() {
                -DGC_SANITYCHECK=ON
        )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
 
        use emacs && newdoc editors/scel/README.md README.emacs
        use gedit && newdoc editors/sced/README.md README.gedit
index 92f553b7ab102e6a37d8d8e479ae50c9c219fb80..2ccf4afb09f19748ad0a418d87e23d068c232656 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="ArpON (Arp handler inspectiON) is a portable Arp handler"
 
@@ -31,7 +31,7 @@ DOCS=( AUTHOR CHANGELOG )
 S="${WORKDIR}"/${MY_P}
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
        newinitd "${FILESDIR}"/${PN}.initd ${PN}
        newconfd "${FILESDIR}"/${PN}.confd ${PN}
 }
index 1cf036e12d83d14c56c71427a6e82cd42a399acd..2953f690d0dc8f17a97ee537a1f4e12e0c838d05 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils user
+inherit cmake user
 
 DESCRIPTION="Anope IRC Services"
 HOMEPAGE="https://anope.org"
@@ -98,7 +98,7 @@ src_prepare() {
        # Avoid a silly sandbox error - tries to delete /usr/lib/modules
        sed -i '/install.*REMOVE_RECURSE.*/d' CMakeLists.txt || die
 
-       cmake-utils_src_prepare
+       cmake_src_prepare
 }
 
 src_configure() {
@@ -111,11 +111,11 @@ src_configure() {
                -DCONF_DIR="/etc/anope"
                -DLOGS_DIR="../var/log/anope/"
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
        newinitd "${FILESDIR}/anope-init.d" "${PN}"
        cp "${FILESDIR}/anope-conf.d-v2" "${T}" || die
        sed -i "s~%LIBDIR%~${EPREFIX}/usr/$(get_libdir)/anope/~" \
index d8c82ef94e1a3df84c40815c29af49f30593d11c..7ca183a40a5743bfb181672b661d5492934a27ec 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="RabbitMQ C client"
 HOMEPAGE="https://github.com/alanxz/rabbitmq-c"
@@ -44,7 +44,7 @@ src_configure() {
                -DBUILD_TOOLS_DOCS=$(usex tools)
                -DENABLE_SSL_SUPPORT=$(usex ssl)
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_test() {
index 64c2d82ce771c6cf32083cd1a1c61266e74cf4b6..92be9c4426d8b5f425109edc1a8973a74f9911d9 100644 (file)
@@ -13,7 +13,7 @@ else
        KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
        S="${WORKDIR}/${PN}_${PV}"
 fi
-inherit cmake-utils fortran-2 python-any-r1
+inherit cmake fortran-2 python-any-r1
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
 HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/"
@@ -64,16 +64,16 @@ src_configure() {
                mycmakeargs+=( -DHPX_WITH_MALLOC=system )
        fi
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_test() {
        # avoid over-suscribing
-       cmake-utils_src_make -j1 tests
+       cmake_build -j1 tests
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
        if use examples; then
                mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin" || die
                insinto /usr/share/doc/${PF}
index 64c2d82ce771c6cf32083cd1a1c61266e74cf4b6..92be9c4426d8b5f425109edc1a8973a74f9911d9 100644 (file)
@@ -13,7 +13,7 @@ else
        KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
        S="${WORKDIR}/${PN}_${PV}"
 fi
-inherit cmake-utils fortran-2 python-any-r1
+inherit cmake fortran-2 python-any-r1
 
 DESCRIPTION="C++ runtime system for parallel and distributed applications"
 HOMEPAGE="https://stellar.cct.lsu.edu/tag/hpx/"
@@ -64,16 +64,16 @@ src_configure() {
                mycmakeargs+=( -DHPX_WITH_MALLOC=system )
        fi
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_test() {
        # avoid over-suscribing
-       cmake-utils_src_make -j1 tests
+       cmake_build -j1 tests
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
        if use examples; then
                mv "${D}/usr/bin/spin" "${D}/usr/bin/hpx_spin" || die
                insinto /usr/share/doc/${PF}
index 4285248dec787c3b415c578122aa8c4cb9a2d249..f0895523101eecfcdf7a6f74224963543448ef09 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="A pomodoro app that blocks distractions while you work"
 HOMEPAGE="https://github.com/iamsergio/flow-pomodoro"
index efec20aaad0572835e91594e7a341ad6c60296b9..59a8423ff8f06bdd6f22b455414f5308a075933a 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="Application that queries the user for a selection for printing"
 HOMEPAGE="https://github.com/naelstrof/slop"
@@ -37,5 +37,5 @@ src_configure() {
        local mycmakeargs=(
                -DSLOP_OPENGL=$(usex opengl)
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }
index b97a56578667ce3c5d23e3cf30ac6bbc3e12f975..e312c0156bf0d5f5f6c919ec780b0ed4d5207ebf 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="Tiny monitor calibration loader for X.org"
 HOMEPAGE="https://github.com/OpenICC/xcalib"
index cceee0bca32a8bbe7d10de4c53d990bf0d464a48..fbaccc9e453dfb2df4f26d152f77871f7d59866f 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="A clean, light window manager"
 HOMEPAGE="https://ctwm.org/"
@@ -30,7 +30,7 @@ DEPEND="
 "
 
 src_prepare() {
-       cmake-utils_src_prepare
+       cmake_src_prepare
 
        # implicit 'isspace'
        sed -i parse.c -e "/<stdio.h>/ a#include <ctype.h>" || die
@@ -42,5 +42,5 @@ src_configure() {
                -DDOCDIR=/usr/share/doc/${PF}
        )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }