libimobiledevice-glue-1.0.0.ebuild

This commit is contained in:
Anton Bolshakov 2024-01-16 15:47:58 +08:00
parent 305cc52706
commit f5164d266e
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST libimobiledevice-glue-1.0.0.gh.tar.gz 43281 BLAKE2B 6948d18cba94e41ecc98dbad7061386c361758eb82500802021adda519b9f832326e41ccd9a0564df72322c85a7db9f50dd1d1fad2d4be6783bd51d7e0010963 SHA512 a8dea2ebeb87e793f426f90fe5095fa836a743253d97a45f62fb4865166e0dfefe82d76bcfb01434c3f6df4a21223ac93f45d98f2624b16973cdd931db5e69ed

View file

@ -0,0 +1,35 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library with common code used by the libraries and tools around the libimobiledevice project"
HOMEPAGE="https://www.libimobiledevice.org/"
SRC_URI="https://github.com/libimobiledevice/libimobiledevice-glue/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
#SLOT="0/2.0-6" # based on SONAME of libusbmuxd-2.0.so
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="static-libs"
RDEPEND="
>=app-pda/libplist-2.3.0:=
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
"
src_prepare() {
default
#define version in AC_INIT
sed -i -e "s|m4_esyscmd(./git-version-gen \$RELEASE_VERSION)|${PV}|g" configure.ac || die
eautoreconf
eapply_user
}
src_configure() {
econf $(use_enable static-libs static)
}

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">libimobiledevice/libimobiledevice-glue</remote-id>
</upstream>
</pkgmetadata>