config: add packages
Change-Id: I79d88c0380fb53345f86874cafc1c60bb5c5813d
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/config/common.mk b/config/common.mk
index e44a058..166f747 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -3,5 +3,8 @@
# If not set, default to true
SHIFT_BUILD_WITH_GMS ?= true
+# Packages
+include vendor/shiftos/config/packages.mk
+
# Private bits if existing
-include vendor/shiftos/private/common.mk
diff --git a/config/packages.mk b/config/packages.mk
new file mode 100644
index 0000000..0b2e24b
--- /dev/null
+++ b/config/packages.mk
@@ -0,0 +1,44 @@
+# Camera (Shutter)
+PRODUCT_PACKAGES += SHIFTShutterStub
+
+# F-Droid - repos
+PRODUCT_PACKAGES += additional_repos.xml-fdroid
+
+# Launcher
+PRODUCT_PACKAGES += SHIFTHome
+
+# OTA
+PRODUCT_PACKAGES += SHIFTOTA
+
+# Settings
+PRODUCT_PACKAGES += \
+ SHIFTColorCalibration \
+ SHIFTPartnerCustomization \
+ SHIFTParts \
+ SHIFTSettingsProvider \
+
+# Support
+PRODUCT_PACKAGES += SHIFTSupport
+
+# Themes - Fonts
+$(call inherit-product-if-exists, packages/overlays/SHIFT/fonts/fonts.mk)
+
+ifeq ($(WITH_GMS),true)
+
+ # ShiftOS-G specific packages
+
+else
+
+ # ShiftOS-L specific packages
+
+ # Browser
+ PRODUCT_PACKAGES += FirefoxKlar
+
+ # F-Droid - client (ShiftOS-L only until target sdk gets bumped to at least platform sdk)
+ PRODUCT_PACKAGES += F-Droid
+
+ # F-Droid - system extensions for ShiftOS-L
+ PRODUCT_PACKAGES += F-DroidPrivilegedExtension
+ PRODUCT_PACKAGES += permissions_org.fdroid.fdroid.privileged.xml
+
+endif
\ No newline at end of file