diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-03-23 11:39:34 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-03-23 11:39:34 +0100 |
commit | 584959ee89d9c533335795ff0bc3733ecc48ced4 (patch) | |
tree | 5b65b9215d31f3038baf1922dd8a2e6d9ab7a02b /media-sound | |
parent | media-sound/pavucontrol: Needs gtkmm[X] (diff) | |
download | gentoo-584959ee89d9c533335795ff0bc3733ecc48ced4.tar.gz gentoo-584959ee89d9c533335795ff0bc3733ecc48ced4.tar.bz2 gentoo-584959ee89d9c533335795ff0bc3733ecc48ced4.zip |
media-sound/rplay: Fix libdir
Closes: https://bugs.gentoo.org/627938
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/rplay/rplay-3.3.2-r3.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/media-sound/rplay/rplay-3.3.2-r3.ebuild b/media-sound/rplay/rplay-3.3.2-r3.ebuild new file mode 100644 index 000000000000..f94e25893517 --- /dev/null +++ b/media-sound/rplay/rplay-3.3.2-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools user + +DESCRIPTION="Play sounds on remote Unix systems without data transfer" +HOMEPAGE="http://rplay.doit.org/" +SRC_URI="${HOMEPAGE}dist/${P}.tar.gz + mirror://debian/pool/main/r/${PN}/${PN}_${PV}-16.debian.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="media-sound/gsm" +DEPEND="${RDEPEND}" + +PATCHES=( + "${WORKDIR}/debian/patches" + "${FILESDIR}/${P}-built-in_function_exit-r1.patch" +) + +pkg_setup() { + enewgroup rplayd "" + enewuser rplayd "" "" "" rplayd +} + +src_prepare() { + default + mv configure.{in,ac} || die + mv rx/configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf \ + --enable-rplayd-user=rplayd \ + --enable-rplayd-group=rplayd +} + +src_install() { + # This is borrowed from the old einstall helper, and is necessary + # (at least some of variables). + emake prefix="${ED}/usr" \ + libdir="${ED}/usr/$(get_libdir)" \ + datadir="${ED}/usr/share" \ + infodir="${ED}/usr/share/info" \ + localstatedir="${ED}/var/lib" \ + mandir="${ED}/usr/share/man" \ + sysconfdir="${ED}/etc" \ + install +} |