summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <mvath@google.com>2019-08-04 16:28:46 +0200
committerMartin Väth <mvath@google.com>2019-08-04 16:28:46 +0200
commitcdab6ab70c8df4b7f74f2da64215874a9d9934d5 (patch)
tree549dcf848aecceedd917e0d52b35120cacd5f17e /media-tv
parentsys-fs/squashfs-tools: Version bump (diff)
downloadmv-cdab6ab70c8df4b7f74f2da64215874a9d9934d5.tar.gz
mv-cdab6ab70c8df4b7f74f2da64215874a9d9934d5.tar.bz2
mv-cdab6ab70c8df4b7f74f2da64215874a9d9934d5.zip
Support USE=-split-usr
Signed-off-by: Martin Väth <mvath@google.com>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/sundtek-tv/Manifest2
-rw-r--r--media-tv/sundtek-tv/sundtek-tv-190731.173415.ebuild (renamed from media-tv/sundtek-tv/sundtek-tv-190616.160201.ebuild)13
2 files changed, 10 insertions, 5 deletions
diff --git a/media-tv/sundtek-tv/Manifest b/media-tv/sundtek-tv/Manifest
index 523ab4c9..05f5bc81 100644
--- a/media-tv/sundtek-tv/Manifest
+++ b/media-tv/sundtek-tv/Manifest
@@ -1 +1 @@
-DIST sundtek_installer_190616.160201.sh 39516045 SHA512 e2a353716e2e8b4c268eb24ab7278360457d51a59cee78c4f2ae4f3fe5b4ef232aacdf7328d1f4e82b131c09b88f071fd1beccbc8c2c6b3b93c2e5335056eed8
+DIST sundtek_installer_190731.173415.sh 39615596 SHA512 eee68c88defa1477e115adb940307d3f67fdb8bad2fa520543afd0f15e4ac2fa902f008329e9186c1e89bb8024f037c40032056f5be45fc8d312616d5a2d9959
diff --git a/media-tv/sundtek-tv/sundtek-tv-190616.160201.ebuild b/media-tv/sundtek-tv/sundtek-tv-190731.173415.ebuild
index 86124da4..1c20efcf 100644
--- a/media-tv/sundtek-tv/sundtek-tv-190616.160201.ebuild
+++ b/media-tv/sundtek-tv/sundtek-tv-190731.173415.ebuild
@@ -16,7 +16,7 @@ RESTRICT="binchecks mirror strip"
LICENSE="sundtek"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="ld-preload-env +ld-preload-file pax_kernel pulseaudio"
+IUSE="ld-preload-env +ld-preload-file pax_kernel pulseaudio split-usr"
RDEPEND="!<sys-apps/openrc-0.13
pulseaudio? ( media-sound/pulseaudio )"
BDEPEND="pax_kernel? ( || ( sys-apps/elfix sys-apps/paxctl ) )"
@@ -76,7 +76,12 @@ src_prepare() {
mybinprefix="opt"
mypkgconfig="usr/share/pkgconfig"
myinclsundtek="${myinclude}/sundtek"
- myudev="lib/udev"
+ if use split-usr
+ then myudev="lib/udev"
+ myrootlib="lib"
+ else myudev="usr/lib/udev"
+ myrootlib="usr/lib"
+ fi
mylirc="etc/lirc"
umask 022
if use pax_kernel
@@ -84,8 +89,8 @@ src_prepare() {
pax-mark e opt/bin/mediaclient
fi
mv opt 1 || die
- mkdir -p ${myusr} "${mybinprefix}" lib "${mypkgconfig}" "${mylirc}" \
- 1/lib/pm-utils || die
+ mkdir -p ${myusr} "${mybinprefix}" "${myrootlib}" "${mypkgconfig}" \
+ "${mylirc}" 1/lib/pm-utils || die
use pulseaudio || rm 1/bin/audio/libpulse.so || die
mv 1/bin "${mybinprefix}" || die
${keep_original} || mv 1/lib/pm 1/lib/pm-utils/sleep.d || die