]> Arthur Taft Gitweb - custom-tools.git/blob - media-sound/librepods/librepods-0.1.0_rc4.ebuild
finish librepods ebuild
[custom-tools.git] / media-sound / librepods / librepods-0.1.0_rc4.ebuild
1 # Copyright 2025 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=8
5
6 inherit cmake
7
8 CORRECTED_PV="${PV/_rc/-rc.}"
9
10 DESCRIPTION="AirPods Liberated from Apple's Ecosystem"
11 HOMEPAGE="https://github.com/kavishdevar/librepods"
12 SRC_URI="https://github.com/kavishdevar/${PN}/archive/refs/tags/v${CORRECTED_PV}.tar.gz -> ${P}.tar.gz"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="~amd64"
17
18 DEPEND="dev-build/cmake
19         dev-libs/openssl
20         dev-qt/qtbase:6
21         dev-qt/qtconnectivity:6[bluetooth]
22         dev-qt/qtmultimedia:6[ffmpeg]
23         media-libs/libpulse"
24 RDEPEND="${DEPEND}"
25 BDEPEND=""
26
27 S="${WORKDIR}/${PN}-${CORRECTED_PV}/linux"
28
29 src_prepare() {
30         sed -i 's/applinux/librepods/g' CMakeLists.txt || die "failed to rename binary"
31
32         cmake_src_prepare
33 }