2013-04-03 08:19:10 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.132 2013/04/03 08:19:10 robert Exp $
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
2011-02-08 09:43:02 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
2011-02-08 09:43:02 +00:00
|
|
|
COMMENT= Chromium browser
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
2013-04-03 08:19:10 +00:00
|
|
|
V= 26.0.1410.43
|
2011-02-08 09:43:02 +00:00
|
|
|
DISTNAME= chromium-${V}
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
2011-02-08 09:43:02 +00:00
|
|
|
CATEGORIES= www
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
2011-08-23 09:33:03 +00:00
|
|
|
HOMEPAGE= http://code.google.com/chromium/
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
2011-02-08 09:43:02 +00:00
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
|
|
|
|
2013-04-03 08:19:10 +00:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
2013-01-19 11:56:06 +00:00
|
|
|
# The proprietary flavor compiles and enables patented codecs like H.264
|
|
|
|
FLAVORS= proprietary
|
|
|
|
FLAVOR?=
|
|
|
|
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
# BSD-like
|
2013-01-19 11:56:06 +00:00
|
|
|
.if ${FLAVOR:Mproprietary}
|
|
|
|
PERMIT_PACKAGE_CDROM= patents
|
2013-03-11 12:17:50 +00:00
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
2013-01-19 11:56:06 +00:00
|
|
|
.else
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
.endif
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
2012-08-26 18:47:01 +00:00
|
|
|
MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/
|
2009-12-20 17:27:34 +00:00
|
|
|
|
2013-04-03 08:19:10 +00:00
|
|
|
MODULES= lang/clang lang/python
|
2012-04-03 13:59:35 +00:00
|
|
|
|
2013-04-03 08:19:10 +00:00
|
|
|
MODCLANG_ARCHS= *
|
|
|
|
MODCLANG_LANGS= c++
|
2012-04-03 13:59:35 +00:00
|
|
|
|
|
|
|
MODPY_RUNDEP= No
|
2010-11-11 19:06:23 +00:00
|
|
|
|
2013-04-03 08:19:10 +00:00
|
|
|
PATCHORIG= .orig.port
|
|
|
|
|
2012-02-17 10:19:50 +00:00
|
|
|
WANTLIB += X11 Xext Xfixes Xrender Xss bz2 c cairo cups dbus-1 event
|
2011-10-27 07:59:08 +00:00
|
|
|
WANTLIB += execinfo expat fontconfig freetype gconf-2 gcrypt gdk-x11-2.0
|
2012-07-10 09:22:34 +00:00
|
|
|
WANTLIB += gdk_pixbuf-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0
|
2011-10-27 07:59:08 +00:00
|
|
|
WANTLIB += jpeg m nspr4 nss3 nssutil3 pango-1.0 pangocairo-1.0
|
2013-04-03 08:19:10 +00:00
|
|
|
WANTLIB += plc4 png pthread smime3 speex
|
|
|
|
WANTLIB += xml2 xslt
|
2013-03-15 08:30:33 +00:00
|
|
|
WANTLIB += atk-1.0 usb-1.0 Xrandr sndio
|
|
|
|
WANTLIB += Xcomposite
|
2013-04-03 08:19:10 +00:00
|
|
|
WANTLIB += stdc++
|
2011-10-27 07:59:08 +00:00
|
|
|
|
2012-01-01 09:04:13 +00:00
|
|
|
RUN_DEPENDS= devel/xdg-utils \
|
2011-05-26 11:39:14 +00:00
|
|
|
devel/desktop-file-utils \
|
2012-04-03 13:59:35 +00:00
|
|
|
x11/gnome/libgnome-keyring \
|
2011-12-03 23:20:52 +00:00
|
|
|
x11/gtk+2,-guic
|
2011-02-08 09:43:02 +00:00
|
|
|
BUILD_DEPENDS= archivers/bzip2 \
|
|
|
|
devel/gperf \
|
2010-11-22 08:36:47 +00:00
|
|
|
devel/bison \
|
2011-02-08 09:43:02 +00:00
|
|
|
devel/flex \
|
2013-03-25 08:48:33 +00:00
|
|
|
devel/yasm \
|
2011-05-26 11:39:14 +00:00
|
|
|
shells/bash \
|
2012-04-08 07:56:21 +00:00
|
|
|
sysutils/flock \
|
2013-03-15 08:30:33 +00:00
|
|
|
sysutils/pciutils \
|
2012-04-08 07:56:21 +00:00
|
|
|
x11/gnome/libgnome-keyring
|
2012-10-01 18:12:34 +00:00
|
|
|
# required for parallel building
|
|
|
|
BUILD_DEPENDS+= gmake->=3.82p2:devel/gmake
|
2011-02-08 09:43:02 +00:00
|
|
|
LIB_DEPENDS= devel/libexecinfo \
|
2010-11-22 08:36:47 +00:00
|
|
|
archivers/bzip2 \
|
2012-12-26 12:07:51 +00:00
|
|
|
devel/libusb1 \
|
2010-11-22 08:36:47 +00:00
|
|
|
security/nss \
|
2011-02-08 09:43:02 +00:00
|
|
|
devel/gconf2 \
|
2011-05-14 21:29:03 +00:00
|
|
|
textproc/libxslt \
|
2011-05-26 11:39:14 +00:00
|
|
|
x11/gtk+2 \
|
|
|
|
audio/speex \
|
2013-04-03 08:19:10 +00:00
|
|
|
print/cups,-libs
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
2010-05-10 15:26:31 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2009-12-19 16:56:07 +00:00
|
|
|
# Set BUILDTYPE to Debug (or omit it) for a debug build
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
BUILDTYPE= Release
|
2011-03-03 13:47:47 +00:00
|
|
|
MAKE_ENV= BUILDTYPE=${BUILDTYPE} V=1
|
2011-02-08 09:43:02 +00:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
TEST_TARGET= base_unittests
|
2011-02-08 09:43:02 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=none # prevent python MODULE from overriding do-build
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
|
2011-02-08 09:43:02 +00:00
|
|
|
ALL_TARGET= chrome
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
|
|
|
BUILDDIR= ${WRKSRC}/out/${BUILDTYPE}
|
|
|
|
|
2011-02-08 09:43:02 +00:00
|
|
|
GYP_DEFS= -Duse_system_bzip2=1 \
|
|
|
|
-Duse_system_libevent=1 \
|
|
|
|
-Duse_system_libjpeg=1 \
|
|
|
|
-Duse_system_libpng=1 \
|
2012-08-26 18:47:01 +00:00
|
|
|
-Duse_system_libusb=1 \
|
2013-04-03 08:19:10 +00:00
|
|
|
-Duse_system_libvpx=0 \
|
2011-02-08 09:43:02 +00:00
|
|
|
-Duse_system_libxml=1 \
|
2011-05-26 11:39:14 +00:00
|
|
|
-Duse_system_speex=1 \
|
2011-04-29 13:18:01 +00:00
|
|
|
-Duse_system_sqlite=0 \
|
2013-03-25 08:48:33 +00:00
|
|
|
-Duse_system_yasm=1 \
|
2011-02-08 09:43:02 +00:00
|
|
|
-Duse_system_zlib=0 \
|
|
|
|
-Ddisable_nacl=1 \
|
2013-04-03 08:19:10 +00:00
|
|
|
-Dlinux_breakpad=0 \
|
2011-09-19 08:55:26 +00:00
|
|
|
-Dlinux_use_tcmalloc=0 \
|
|
|
|
-Dlinux_strip_binary=1 \
|
2011-10-27 07:59:08 +00:00
|
|
|
-Denable_webrtc=0 \
|
2012-08-26 18:47:01 +00:00
|
|
|
-Denable_one_click_signin=1 \
|
2011-10-27 07:59:08 +00:00
|
|
|
-Duse_kerberos=0 \
|
2012-11-25 18:57:21 +00:00
|
|
|
-Duse_sndio=1 \
|
2013-04-03 08:19:10 +00:00
|
|
|
-Dclang=1 \
|
|
|
|
-Dclang_use_chrome_plugins=0 \
|
2011-02-08 09:43:02 +00:00
|
|
|
-DOS=openbsd
|
|
|
|
|
2013-03-15 08:30:33 +00:00
|
|
|
# Note: these keys are for OpenBSD use ONLY. For your own distribution,
|
|
|
|
# please get your own set of keys. It's free!
|
|
|
|
GYP_DEFS+= -Dgoogle_api_key='AIzaSyA015yecfJyWi8UQpneQVrNzIKlxjv4MhI' \
|
|
|
|
-Dgoogle_default_client_id='451220141585.apps.googleusercontent.com' \
|
|
|
|
-Dgoogle_default_client_secret='nQcDyaBvDyCeDrsRqKIWSHJn'
|
|
|
|
|
2012-11-26 07:32:30 +00:00
|
|
|
.if ${FLAVOR:Mproprietary}
|
|
|
|
GYP_DEFS+= -Dffmpeg_branding=Chrome \
|
|
|
|
-Dproprietary_codecs=1
|
|
|
|
.endif
|
|
|
|
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
pre-configure:
|
2012-07-10 12:55:25 +00:00
|
|
|
${SUBST_CMD} ${WRKSRC}/webkit/plugins/npapi/plugin_list_posix.cc
|
2010-11-11 19:06:23 +00:00
|
|
|
@ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
|
2012-07-10 09:22:34 +00:00
|
|
|
.for _arch in x64 ia32
|
2013-01-18 21:38:02 +00:00
|
|
|
@cp -pR ${WRKSRC}/third_party/ffmpeg/chromium/config/Chrome/linux/${_arch}/libavutil \
|
|
|
|
${WRKSRC}/third_party/ffmpeg/chromium/config/Chrome/openbsd/${_arch}/libavutil
|
2012-11-26 07:32:30 +00:00
|
|
|
|
2013-01-18 21:38:02 +00:00
|
|
|
@cp -pR ${WRKSRC}/third_party/ffmpeg/chromium/config/Chromium/linux/${_arch}/libavutil \
|
|
|
|
${WRKSRC}/third_party/ffmpeg/chromium/config/Chromium/openbsd/${_arch}/libavutil
|
2012-07-10 09:22:34 +00:00
|
|
|
.endfor
|
2012-11-25 18:57:21 +00:00
|
|
|
@mkdir -p ${WRKSRC}/media/audio/sndio
|
|
|
|
@cp files/sndio_output.{cc,h} ${WRKSRC}/media/audio/sndio
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
|
|
|
# gyp_chromium generates all the Makefiles from gyp
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && \
|
2010-11-11 19:06:23 +00:00
|
|
|
env -i ${CONFIGURE_ENV} ${MODPY_BIN} build/gyp_chromium -fmake --ignore-environment \
|
2011-02-08 09:43:02 +00:00
|
|
|
${GYP_DEFS} \
|
|
|
|
"--depth=${WRKSRC}"
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/chrome
|
|
|
|
${INSTALL_PROGRAM} ${BUILDDIR}/chrome ${PREFIX}/chrome
|
2012-01-11 16:24:07 +00:00
|
|
|
${SUBST_CMD} -o ${BINOWN} -g ${BINGRP} -c \
|
|
|
|
${FILESDIR}/chrome ${PREFIX}/bin/chrome
|
|
|
|
chmod ${BINMODE} ${PREFIX}/bin/chrome
|
2011-03-09 17:24:21 +00:00
|
|
|
${INSTALL_MAN} ${BUILDDIR}/chrome.1 ${PREFIX}/man/man1
|
2012-10-12 16:46:09 +00:00
|
|
|
|
2012-11-07 06:59:45 +00:00
|
|
|
.for p in chrome chrome_100_percent content_resources resources
|
2012-07-10 09:22:34 +00:00
|
|
|
${INSTALL_DATA} ${BUILDDIR}/${p}.pak ${PREFIX}/chrome
|
|
|
|
.endfor
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/chrome/locales
|
|
|
|
${INSTALL_DATA} ${BUILDDIR}/locales/* ${PREFIX}/chrome/locales
|
|
|
|
${INSTALL_DATA} ${BUILDDIR}/*.png ${PREFIX}/chrome
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/chrome/resources
|
|
|
|
@cp -Rp ${BUILDDIR}/resources/* ${PREFIX}/chrome/resources
|
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/chrome/resources
|
2011-10-27 07:59:08 +00:00
|
|
|
.for f in libffmpegsumo.so mksnapshot protoc
|
2011-02-08 09:43:02 +00:00
|
|
|
${INSTALL_DATA} ${BUILDDIR}/${f} ${PREFIX}/chrome
|
|
|
|
.endfor
|
2012-08-26 18:47:01 +00:00
|
|
|
.for s in 22 24 48 64 128 256
|
2011-05-19 11:52:06 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/${s}x${s}/apps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \
|
|
|
|
${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/chrome.desktop \
|
|
|
|
${PREFIX}/share/applications/chrome.desktop
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 22:25:56 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|