Skip to content

Instantly share code, notes, and snippets.

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit cmake-utils
DESCRIPTION="View and upload map files, track and waypoint data to your Garmin GPS."
HOMEPAGE="http://www.qlandkarte.org/"
PN=mplayer2
NAMESUF="${PN/mplayer/}"
sed -e "/^EXESUF/s,= \$_exesuf$,= ${NAMESUF}\$_exesuf," \
-i configure || die
sed -e "\, -m 644 DOCS/man/en/mplayer,i\ mv DOCS/man/en/mplayer.1 DOCS/man/en/${PN}.1" \
-e "\, -m 644 DOCS/man/\$(lang)/mplayer,i\ mv DOCS/man/\$(lang)/mplayer.1 DOCS/man/\$(lang)/${PN}.1" \
-e "s/er.1/er${NAMESUF}.1/g" \
-i Makefile || die
sed -e "s/mplayer/${PN}/" \
Calculating dependencies... done!
[nomerge ] media-sound/mpd-0.16.5 USE="aac alsa audiofile cue ffmpeg fifo flac id3tag inotify ipv6 libsamplerate mad mikmod modplug mpg123 musepack ogg sid sqlite unicode vorbis wavpack -ao -bzip2 -cdio -curl -debug -fluidsynth -jack -lame -lastfmradio -mms -network -openal -oss -pipe -profile -pulseaudio -sndfile -tcpd -twolame -wildmidi -zeroconf -zip"
[nomerge ] virtual/ffmpeg-0.10.3 [0.10.2-r1] USE="X jpeg2k mp3 theora threads truetype vaapi vdpau -encode -sdl -x264"
[ebuild N ~] media-libs/libpostproc-0.8.0.20120217 USE="mmx -3dnow -3dnowext (-altivec) -pic -static-libs (-vis)" 64 kB
[ebuild U ~] virtual/ffmpeg-0.10.3 [0.10.2-r1] USE="X jpeg2k mp3 theora threads truetype vaapi vdpau -encode -sdl -x264" 0 kB
Total: 2 packages (1 upgrade, 1 new), Size of downloads: 64 kB
dmesg |grep -e clocksource -e hpet -e tsc -i
[ 0.000000] ACPI: HPET 00000000bee1c330 00038 (v01 ALASKA A M I 01072009 AMI. 00000004)
[ 0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[ 0.000000] hpet clockevent registered
[ 0.000000] Fast TSC calibration using PIT
[ 0.626892] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[ 0.626896] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
[ 0.628901] Switching to clocksource hpet
[ 1.098399] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[ 2.093533] Refined TSC clocksource calibration: 3602.055 MHz.