Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 562676 Details for
Bug 618900
www-client/surf-9999 - ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated ebuild
surf-9999.ebuild (text/plain), 2.12 KB, created by
Justin Keogh
on 2019-01-24 07:13:31 UTC
(
hide
)
Description:
updated ebuild
Filename:
MIME Type:
Creator:
Justin Keogh
Created:
2019-01-24 07:13:31 UTC
Size:
2.12 KB
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=6 >inherit git-r3 savedconfig toolchain-funcs > >DESCRIPTION="a simple web browser based on WebKit/GTK+" >HOMEPAGE="http://surf.suckless.org/" >EGIT_REPO_URI="https://git.suckless.org/surf" > >LICENSE="MIT" >SLOT="0" >KEYWORDS="" >IUSE="tabbed" > >COMMON_DEPEND=" > dev-libs/glib:2 > net-libs/glib-networking[ssl] > app-crypt/gcr[gtk] > net-libs/libsoup > net-libs/webkit-gtk:4 > x11-libs/gtk+:3 > x11-libs/libX11 >" >DEPEND=" > ${COMMON_DEPEND} > virtual/pkgconfig >" >RDEPEND=" > !sci-chemistry/surf > ${COMMON_DEPEND} > x11-apps/xprop > >=x11-misc/dmenu-4.7 > tabbed? ( >=x11-misc/tabbed-0.6 ) > !savedconfig? ( > net-misc/curl > x11-terms/st > ) >" > >pkg_setup() { > if ! use savedconfig; then > elog "The default config.h assumes you have" > elog " net-misc/curl" > elog " x11-terms/st" > elog "installed to support the download function." > elog "Without those, downloads will fail (gracefully)." > elog "You can fix this by:" > elog "1) Installing these packages, or" > elog "2) Setting USE=savedconfig and changing config.h accordingly." > fi >} > >src_prepare() { > default > restore_config config.h > tc-export CC PKG_CONFIG > > sed -i ' > s#/usr/local#/usr# > s# -I${X11INC}# ${X11INC}# > /^X11INC =/c\X11INC = $(shell $(PKG_CONFIG) --cflags x11) > /^X11LIB =/c\X11LIB = $(shell $(PKG_CONFIG) --libs x11) > /^GTKINC =/c\GTKINC = $(shell $(PKG_CONFIG) --cflags gtk+-3.0 gcr-3 gthread-2.0 webkit2gtk-4.0) > /^GTKLIB =/c\GTKLIB = $(shell $(PKG_CONFIG) --libs gtk+-3.0 gcr-3 gthread-2.0 webkit2gtk-4.0) > /^WEBEXTINC =/c\WEBEXTINC = $(shell $(PKG_CONFIG) --cflags webkit2gtk-4.0 webkit2gtk-web-extension-4.0) > /^WEBEXTLIBS =/c\WEBEXTLIBS = $(shell $(PKG_CONFIG) --libs webkit2gtk-4.0 webkit2gtk-web-extension-4.0) > /^LIBS =/c\LIBS = $(X11LIB) $(GTKLIB) > ' config.mk > > sed -i ' > /^WEBEXTSRC =/c\WEBEXTSRC = libsurf-webext.c common.c > /^ $(CC) -shared -Wl,-soname,$@ $(LDFLAGS) -o $@ $< $(WEBEXTLIBS) -lc/c\ $(CC) -shared -Wl,-soname,$@ common.o $(LDFLAGS) -o $@ $< $(WEBEXTLIBS) -lc > ' Makefile >} > >src_install() { > default > save_config config.h > if use tabbed; then > dobin surf-open.sh > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 618900
:
473198
|
562668
|
562676
|
562678