Large rework/update to EAPI=7
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
# ChangeLog for dev-libs/libconcord
|
||||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*libconcord-0.24 (30 Oct 2012)
|
||||
|
||||
30 Oct 2012; Torsten Kurbad <gentoo@tk-webart.de> +libconcord-0.24.ebuild,
|
||||
+metadata.xml:
|
||||
initial ebuild
|
||||
@@ -1,4 +1,3 @@
|
||||
DIST concordance-0.24.tar.bz2 1082955 SHA256 e2bea0430e936fd9e3e6a853b6533edbfd9211cf328c5334789b432035f03656 SHA512 d49af8fed94199dd183085dc013ad35801dd98283ee7e6c46e07a1fbea50d078201f51ab32cb92c3a8bf3d9099b3b6ae3d9aba05211570e76227c995e724323a WHIRLPOOL 282770806c300ed9510dea01c0baad1829492cc4ddf672de6dd34cf0b99c6ea69fc0e278ea63f5762687a0146bc9d384956e4607286edb96c18613630fdb54e6
|
||||
EBUILD libconcord-0.24.ebuild 769 SHA256 af46fcac93251f00b8c7cf93c1bade8354254221ee1a7462a72d1a835b3a733e SHA512 38f4e79a199650adf276c2cac9b0802457dba7d335ee17bcd861344baf8b4b6c7fc191b3cc6826c2e01e115c75b60ca6f92ccfc28d673d8a829b4420273360b4 WHIRLPOOL 0391110aabe0886553bd628516f98420e60aff21f630aa74c1e0ac0af8e3c10737e30dd4c9fc93a446238097120d9ea19c43206e294faacaa5a61700e14c50b2
|
||||
MISC ChangeLog 263 SHA256 e47c95b786d22c8108d84576723f2c061f2e037333efc77e412a900f51e8539a SHA512 0f256c69985a8e417000aa5bfa8f1ab204d629cd0448142f76249ee1af7420b90f503fad52d8d2e3a099193901bc749007c69c21192f78d39cbcfb9d621276d4 WHIRLPOOL 4dfa81af9fecca1cad51fcdf9f5b7c815524e623bb6aa5991d9022b982a4e594fdd96c579070c97ed9ea8f82b0f5166ce2f222036f487015d81ad510b774f975
|
||||
MISC metadata.xml 229 SHA256 1dc92f5b2030f244164224424f100de3bd51b83de33eca93b2df2e30a23db61c SHA512 20398591940a347d6f2fd6b202833c9ff6482f05c760ee8001bc82127901b5800f00d11ccb3902a92b4c1bdd2c47f6e0c118654d0146312443369ec84f676907 WHIRLPOOL 35415755173534553f652b588970e2c0e8a8e9b0f90a94b72a8a67ab17c87138036bf0132b651d4c261dc69819029700163f5e549dd166c4ae60726f1088d685
|
||||
DIST libconcord-1.4.tar.gz 122724 BLAKE2B c4fb2ef81956a252509a3acfe41d3d48416a2fb09384c1481d67ed3f63b140731222cdd71c7ce15681e8f82ab253efabf0b465fb440d45a74ad0e153665ac8f6 SHA512 bf4645791f35e9328a72b56c2cf20be30980e9f70379be0e24494b0f86e14869ff86d789f0e90341f5ab0abc6e747f91d3bc0ec20f730c33473fc54c39cf543b
|
||||
EBUILD libconcord-1.4.ebuild 1946 BLAKE2B c5e246392b0b04f04b043f4ad55be2465a73d6995e583f89cbe6aec9e93c32d48100f878f8d069e99ca8835bd5ab7512429aba4d948a9bc583dbc23f402f19df SHA512 a53fabce5a9c5d2386ae46b9fe0fb11fb4b0de11c8a397c11e51d8a13ce6cf65f1e5b391b1394d316ae6032848334e3b0a11f0704a2a459a249c2cf103ec23cc
|
||||
MISC metadata.xml 270 BLAKE2B a2fd019fbbbf3a66f2811f37c069b931997535afe955daf6c9040195fb9ee0af3250fd07344c0f5dfec502ab314d5e7a34b15589211083b990ebb533c7168719 SHA512 d8e48d8e3c8bb53761f9ecc45bdcbc6fa0e5eb93052d454c94b4efb6f24efff37406a94e142931b423fb7b907324ecf69d8ef30e108a341eef7552427a16bd8d
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
MY_P="concordance-${PV}"
|
||||
|
||||
DESCRIPTION="Library for programming the Logitech Harmony universal remote; part
|
||||
of the concordance project"
|
||||
HOMEPAGE="http://www.phildev.net/concordance/"
|
||||
SRC_URI="mirror://sourceforge/concordance/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/libusb-0.1.12-r1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/${PN}"
|
||||
|
||||
src_compile() {
|
||||
emake DESTDIR="${D}" || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc ../Changelog ../LICENSE README
|
||||
|
||||
cd "${S}"/bindings/python
|
||||
python setup.py install --root=${D}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
inherit autotools xdg-utils perl-module distutils-r1
|
||||
|
||||
DESCRIPTION="Library for programming the Logitech Harmony universal remote"
|
||||
HOMEPAGE="https://www.phildev.net/concordance"
|
||||
SRC_URI="https://github.com/jaymzh/concordance/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="perl python static-libs"
|
||||
|
||||
DEPEND="perl? ( >=dev-lang/swig-2:= )
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="dev-libs/hidapi
|
||||
dev-libs/libzip"
|
||||
|
||||
S="${WORKDIR}/concordance-${PV}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
|
||||
if use perl ; then
|
||||
cd "${S}/bindings/perl"
|
||||
einfo "Prepare perl bindings in ${PWD}"
|
||||
perl-module_src_prepare
|
||||
swig -perl5 concord.i
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
if use python ; then
|
||||
cd "${S}/bindings/python"
|
||||
einfo "Prepare python bindings in ${PWD}"
|
||||
distutils-r1_src_prepare
|
||||
cd "${S}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-mime-update \
|
||||
$(use_enable static-libs static)
|
||||
|
||||
if use perl ; then
|
||||
cd "${S}/bindings/perl"
|
||||
einfo "Configure perl bindings in ${PWD}"
|
||||
perl-module_src_configure
|
||||
cd "${S}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use perl ; then
|
||||
cd "${S}/bindings/perl"
|
||||
einfo "Compile perl bindings in ${PWD}"
|
||||
mymake=( OPTIMIZE="${CFLAGS} -I${S}" )
|
||||
perl-module_src_compile
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
if use python ; then
|
||||
cd "${S}/bindings/python"
|
||||
einfo "Prepare python bindings in ${PWD}"
|
||||
distutils-r1_src_compile
|
||||
cd "${S}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
dodoc README
|
||||
dodoc ../Changelog ../TODO
|
||||
|
||||
if use perl ; then
|
||||
cd "${S}/bindings/perl"
|
||||
einfo "Install perl bindings in ${PWD}"
|
||||
perl-module_src_install
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
if use python ; then
|
||||
cd "${S}/bindings/python"
|
||||
einfo "Install python bindings in ${PWD}"
|
||||
distutils-r1_src_install
|
||||
cd "${S}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>gentoo@tk-webart.de</email>
|
||||
<name>Torsten Kurbad</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>bertrand@jacquin.bzh</email>
|
||||
<name>Bertrand Jacquin</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user