X-Git-Url: https://gitweb.arthurtaft.net/custom-tools.git/blobdiff_plain/c6f88f611eb2ad5877f2e458923f8588d40e390b..715bf5edb85b2a233ff488045ba67885bf1a379d:/media-sound/librepods/librepods-0.1.0_rc4.ebuild?ds=sidebyside diff --git a/media-sound/librepods/librepods-0.1.0_rc4.ebuild b/media-sound/librepods/librepods-0.1.0_rc4.ebuild new file mode 100644 index 0000000..88fc91c --- /dev/null +++ b/media-sound/librepods/librepods-0.1.0_rc4.ebuild @@ -0,0 +1,33 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +CORRECTED_PV="${PV/_rc/-rc.}" + +DESCRIPTION="AirPods Liberated from Apple's Ecosystem" +HOMEPAGE="https://github.com/kavishdevar/librepods" +SRC_URI="https://github.com/kavishdevar/${PN}/archive/refs/tags/v${CORRECTED_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-build/cmake + dev-libs/openssl + dev-qt/qtbase:6 + dev-qt/qtconnectivity:6[bluetooth] + dev-qt/qtmultimedia:6[ffmpeg] + media-libs/libpulse" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}/${PN}-${CORRECTED_PV}/linux" + +src_prepare() { + sed -i 's/applinux/librepods/g' CMakeLists.txt || die "failed to rename binary" + + cmake_src_prepare +}