|
|
发表于 2007-1-16 20:13:47
|
显示全部楼层
不用费劲了,我刚发完这帖子,看到此插件已经合并到beryl-plugins里了。以下文字就权作
回楼上,贴图的gnome-terminal里显示得应该很清楚了
新建目录比如:/usr/local/portage/x11-plugins/beryl-thumbnail2-plugin,将以下存为beryl-thumbnail2-plugin-9999.ebuild
- # Copyright 1999-2006 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- # $Header: $
- inherit subversion flag-o-matic autotools
- ESVN_REPO_URI="svn://svn.beryl-project.org/beryl/branches/beryl-plugins/thumbnail2"
- DESCRIPTION="Beryl Window Decorator thumbnail Plugin (svn)"
- HOMEPAGE="http://beryl-project.org"
- SRC_URI=""
- LICENSE="GPL-2"
- SLOT="0"
- KEYWORDS="~x86 ~amd64"
- IUSE=""
- DEPEND="=x11-plugins/beryl-plugins-9999"
- S="${WORKDIR}/${PN}"
- src_compile() {
- filter-ldflags -znow -z,now
- filter-ldflags -Wl,-znow -Wl,-z,now
- epatch "${FILESDIR}"/${P}-makefile.patch
- emake -j1 || die "make failed"
- }
- src_install() {
- dodir /usr/share/beryl
- dodir /usr/$(get_libdir)/beryl
- make PREFIX="${D}/usr" LIBDIR="$(get_libdir)" install || die "make install failed"
- }
复制代码
新建目录/usr/local/portage/x11-plugins/beryl-thumbnail2-plugin/files,将以下存为beryl-thumbnail2-plugin-9999-makefile.patch
- --- Makefile 2006-11-05 15:42:47.000000000 -0500
- +++ Makefile 2006-11-05 15:54:39.000000000 -0500
- @@ -18,6 +18,8 @@
- #
- ##
-
- +PREFIX = /usr
- +LIBDIR = lib
- -DESTDIR = $(HOME)/.beryl/plugins
- +DESTDIR = $(PREFIX)/lib/beryl
- PLUGIN = thumbnail
- SHADER = no
复制代码
然后
- ebuild /usr/local/portage/x11-plugins/beryl-thumbnail2-plugin/beryl-thumbnail2-plugin-9999.ebuild digest
复制代码
emerge beryl-thumbnail2-plugin 就可以了。 |
|