Marcel Telka
2024-04-02 f1b1912adc00984cd165470b728dda03ac81b2c6
commit | author | age
598d71 1 #
AL 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
5 #
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
9 #
10
11 #
12 # Copyright (c) 2014 Alexander Pyhalov
202a03 13 # Copyright (c) 2018 Michal Nowak
598d71 14 #
202a03 15
85ea98 16 BUILD_BITS=    64
598d71 17
AL 18 include ../../../make-rules/shared-macros.mk
19
20 COMPONENT_NAME=        compiz-plugins-main
6514c2 21 COMPONENT_VERSION=    0.8.18
a9d750 22 COMPONENT_REVISION= 1
598d71 23 COMPONENT_PROJECT_URL=    http://www.northfield.ws/
AL 24 COMPONENT_SUMMARY=    main effects plugins for compiz
202a03 25 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
MN 26 COMPONENT_ARCHIVE=    $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.xz
598d71 27 COMPONENT_ARCHIVE_HASH=    \
6514c2 28     sha256:c7a427b8733e75f8f1319aca5c81f2726e2d1c4f37f368b4bf20b053bd52e5b3
202a03 29 COMPONENT_ARCHIVE_URL=    http://www.northfield.ws/projects/compiz/releases/$(COMPONENT_VERSION)/$(COMPONENT_SRC).tar.xz
598d71 30
85ea98 31 TEST_TARGET = $(NO_TESTS)
AP 32
33 include $(WS_MAKE_RULES)/common.mk
598d71 34
AL 35 PATH=$(PATH.gnu)
36
37 COMPONENT_PREP_ACTION = ( cd $(@D) && \
38   aclocal -I. && \
39   autoheader && \
40   libtoolize --automake --copy --force && \
41   automake -a -f -c &&\
42   autoconf &&\
43   find $(@D) -name '*_options.c' -o -name '*_options.h' -exec rm -f {} \; )
44
45 # build with the distribution preferred libjpeg implementation
46 CFLAGS            +=    $(JPEG_CPPFLAGS) $(JPEG_CFLAGS)
47 CXXFLAGS          +=    $(JPEG_CPPFLAGS) $(JPEG_CXXFLAGS)
48 LDFLAGS           +=    $(JPEG_LDFLAGS)
49
50 CONFIGURE_ENV+=    INTLTOOL_PERL=$(PERL)
51
202a03 52 CONFIGURE_OPTIONS+=    --sysconfdir=/etc
MN 53 CONFIGURE_OPTIONS+=    --disable-static
598d71 54
ddf9c6 55 # Build dependencies
efdee5 56 REQUIRED_PACKAGES += desktop/compiz
ddf9c6 57 REQUIRED_PACKAGES += desktop/compiz/bcop
AL 58
598d71 59 # Auto-generated dependencies
85ea98 60 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
AP 61 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
a9d750 62 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
85ea98 63 REQUIRED_PACKAGES += gnome/accessibility/at-spi2-core
598d71 64 REQUIRED_PACKAGES += library/desktop/cairo
AL 65 REQUIRED_PACKAGES += library/desktop/pango
66 REQUIRED_PACKAGES += library/glib2
6514c2 67 REQUIRED_PACKAGES += library/libnotify
598d71 68 REQUIRED_PACKAGES += library/libxml2
AL 69 REQUIRED_PACKAGES += system/library
85ea98 70 REQUIRED_PACKAGES += system/library/libdbus
598d71 71 REQUIRED_PACKAGES += x11/library/glu
AL 72 REQUIRED_PACKAGES += x11/library/libx11
73 REQUIRED_PACKAGES += x11/library/libxfixes
74 REQUIRED_PACKAGES += x11/library/libxrender