media-sound/sony-headphones-client - 1.3.2 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =media-sound/sony-headphones-client-1.3.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-sound/sony-headphones-client-1.3.2

Or alternatively:

emerge --autounmask-write -a =media-sound/sony-headphones-client-1.3.2

Package Information

Description:
Client recreating the functionality of the Sony Headphones app.
Homepage:
https://github.com/Plutoberth/SonyHeadphonesClient
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.3.2 8 ~amd64 ~arm64 ~ppc64 ~x86 0
View Raw Ebuild
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake desktop

DESCRIPTION="Client recreating the functionality of the Sony Headphones app."
HOMEPAGE="https://github.com/Plutoberth/SonyHeadphonesClient"
MY_PN="SonyHeadphonesClient"
IMGUI_SHA="fe6369b03dab08c6636e32f57757e72c047e7cf1"
SRC_URI="https://github.com/Plutoberth/SonyHeadphonesClient/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/ocornut/imgui/archive/${IMGUI_SHA}.tar.gz -> imgui-${IMGUI_SHA:0:7}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}/Client"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"

DEPEND="media-libs/glew:=
	media-libs/libglvnd
	media-libs/glfw
	net-wireless/bluez
	sys-apps/dbus
	sys-libs/libunwind
	virtual/opengl"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/${PN}-98.patch" )

BUILD_DIR="${S}/build"

src_prepare() {
	rmdir imgui || die
	mv "${WORKDIR}/imgui-${IMGUI_SHA}" imgui || die
	cmake_src_prepare
}

src_install() {
	cd "${BUILD_DIR}" || die
	dobin "${MY_PN}"
	make_desktop_entry "${MY_PN}" 'Sony Headphones Client' audio-headphones
	einstalldocs
}

Inherited Eclasses

Dependencies

DEPEND

media-libs/glew:=
	media-libs/libglvnd
	media-libs/glfw
	net-wireless/bluez
	sys-apps/dbus
	sys-libs/libunwind
	virtual/opengl

RDEPEND

media-libs/glew:=
	media-libs/libglvnd
	media-libs/glfw
	net-wireless/bluez
	sys-apps/dbus
	sys-libs/libunwind
	virtual/opengl

Manifest for 1.3.2

Type File Size Source URLs
DIST imgui-fe6369b.tar.gz 1434386 bytes https://github.com/ocornut/imgui/archive/fe6369b03dab08c6636e32f57757e72c047e7cf1.tar.gz
DIST sony-headphones-client-1.3.2.tar.gz 1146953 bytes https://github.com/Plutoberth/SonyHeadphonesClient/archive/refs/tags/v1.3.2.tar.gz