diff options
author | MATSUU Takuto <matsuu@gentoo.org> | 2009-09-25 00:05:48 +0900 |
---|---|---|
committer | MATSUU Takuto <matsuu@gentoo.org> | 2009-09-25 00:05:48 +0900 |
commit | 2f0f0938a4e8d88db4c65e6bce151cd3a642f4d6 (patch) | |
tree | 25824bca6c1515b026d33e5d81c6a506f01b586a | |
parent | app-dicts/sigil: Initial import. (diff) | |
download | matsuu-2f0f0938a4e8d88db4c65e6bce151cd3a642f4d6.tar.gz matsuu-2f0f0938a4e8d88db4c65e6bce151cd3a642f4d6.tar.bz2 matsuu-2f0f0938a4e8d88db4c65e6bce151cd3a642f4d6.zip |
x11-misc/orthos: Added media-libs/gle to DEPEND. clean up.
-rw-r--r-- | x11-misc/orthos/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/orthos/orthos-9999.ebuild | 40 |
2 files changed, 19 insertions, 23 deletions
diff --git a/x11-misc/orthos/Manifest b/x11-misc/orthos/Manifest index 0d61573..3b592ab 100644 --- a/x11-misc/orthos/Manifest +++ b/x11-misc/orthos/Manifest @@ -1,2 +1,2 @@ -EBUILD orthos-9999.ebuild 1307 RMD160 855ea15f324d22e3e2bd96ea090271840d66c088 SHA1 48ffe01c55910ed808015ac809e9fb3cb09b731a SHA256 022523bf55a21fbc843aef960206f07594440297c98741bf8b33ff9441690dd6 +EBUILD orthos-9999.ebuild 1301 RMD160 9b4f68dd777af3fd2261adf9f5a9a93b9c48abac SHA1 e09242583995f6ac2416c504429592b6dacaf5f5 SHA256 6e28b96fe3f9afc62d9a360c7fdc78fcdbae2961def350d8421cee788e988571 MISC metadata.xml 497 RMD160 d6113c061a179f381a15ef1e3fcf9844035f47cb SHA1 9cf5bd1ad01c986fb945be39a61286ded2d88d7c SHA256 b5577edf83b7b1ba71f7982a4ee0c1ff0d7f121efe5c346f1ddf965c69ec468b diff --git a/x11-misc/orthos/orthos-9999.ebuild b/x11-misc/orthos/orthos-9999.ebuild index 80ae62b..4be7229 100644 --- a/x11-misc/orthos/orthos-9999.ebuild +++ b/x11-misc/orthos/orthos-9999.ebuild @@ -2,15 +2,18 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit git multilib toolchain-funcs +EAPI="2" +inherit git multilib + +EGIT_REPO_URI="http://www.e-x-a.org/repos/${PN}.git" DESCRIPTION="a lightweight-but-cool display manager for linux/X11" HOMEPAGE="http://www.e-x-a.org/?view=orthos" #SRC_URI="http://www.e-x-a.org/releases/${P}.tar.bz2" -EGIT_REPO_URI="http://www.e-x-a.org/repos/${PN}.git" +SRC_URI="" LICENSE="GPL-3" -SLOT="0" +SLOT="live" KEYWORDS="~amd64 ~x86" IUSE="" @@ -20,42 +23,35 @@ RDEPEND="media-libs/freetype x11-libs/libXmu" DEPEND="${RDEPEND} dev-util/pkgconfig - dev-util/scons" + dev-util/scons + media-libs/gle" -src_unpack() { - git_src_unpack - cd "${S}" +src_prepare() { sed -i \ - -e "s:\(os.environ\):\1, parse_flags='!pkg-config gl glu sdl xmu --cflags --libs':" \ + -e "s:\(os.environ\):\1, parse_flags='!pkg-config freetype2 gl glu sdl xmu --cflags --libs':" \ -e "/LIBS/s:=:+=:" \ -e "s:CC:CXX:" \ -e "s:g++:$(tc-getCXX):" \ -e "s:-O2:${CXXFLAGS}:" \ SConstruct || die -} - -src_compile() { - tc-export CXX - scons || die +# -e "/LIBS/s:]$:,'gle']:" \ cat > "${T}/orthos.conf" <<-EOF sessions failsafe:/usr/bin/xterm:clock:/usr/bin/xclock Xserver /usr/bin/Xorg - skin /usr/$(get_libdir)/${PN}-default.so + skin /usr/$(get_libdir)/${PN}/libdefault.so EOF } +src_compile() { + scons || die +} + src_install() { # install.sh dobin orthos oskintest || die - ( - cd skins - for lib in *.so; do - newlib.so ${lib} ${lib/lib/${PN}-} || die - done - ) - insinto /etc - doins "${T}/orthos.conf" || die + exeinto /usr/$(get_libdir)/${PN}; doexe skins/*.so || die + insinto /etc; doins "${T}/orthos.conf" || die # doicon files/orthos.svg |