Global update
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
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,101 +0,0 @@
|
||||
# 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 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>bertrand@jacquin.bzh</email>
|
||||
<name>Bertrand Jacquin</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user