OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # |
| 2 | # This is free software, licensed under the GNU General Public License v2. |
| 3 | # See /LICENSE for more information. |
| 4 | # |
| 5 | |
| 6 | include $(TOPDIR)/rules.mk |
| 7 | |
| 8 | PKG_NAME:=gjay |
| 9 | PKG_VERSION:=0.3.2 |
| 10 | PKG_RELEASE:=1 |
| 11 | |
| 12 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 13 | PKG_SOURCE_URL:=@SF/gjay |
| 14 | PKG_INSTALL:=1 |
| 15 | |
| 16 | include $(INCLUDE_DIR)/package.mk |
| 17 | include $(INCLUDE_DIR)/nls.mk |
| 18 | |
| 19 | TARGET_LDFLAGS+= \ |
| 20 | -Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
| 21 | |
| 22 | CONFIGURE_ARGS += \ |
| 23 | --disable-audclient \ |
| 24 | --disable-mpdclient \ |
| 25 | --disable-latin1 |
| 26 | |
| 27 | CONFIGURE_CMD = ./autogen.sh |
| 28 | |
| 29 | define Package/gjay |
| 30 | SECTION:=sound |
| 31 | CATEGORY:=Sound |
| 32 | TITLE:=GJay |
| 33 | URL:=http://gjay.sourceforge.net/ |
| 34 | DEPENDS:=+gtk2 +libgsl |
| 35 | endef |
| 36 | |
| 37 | define Package/gjay/description |
| 38 | GJay (Gtk+ DJ) generates playlists across a collection of music |
| 39 | (ogg, mp3, wav) such that each song sounds good following |
| 40 | the previous song. It is ideal for home users who want a non-random |
| 41 | way to wander large collections or for DJs planning a set list. |
| 42 | You can generate playlists from within the application, or run GJay |
| 43 | as a standalone command-line utility. |
| 44 | |
| 45 | Playlist matches are based on: |
| 46 | |
| 47 | * Song characteristics that don't change: |
| 48 | - Frequency fingerprint |
| 49 | - Beats per minute |
| 50 | - Location in file system |
| 51 | * Song attributes that you set: |
| 52 | - Rating |
| 53 | - Color (whatever that means to you) |
| 54 | endef |
| 55 | |
| 56 | define Build/Configure |
| 57 | ( cd $(PKG_BUILD_DIR); chmod +x ./autogen.sh; ); |
| 58 | $(call Build/Configure/Default) |
| 59 | endef |
| 60 | |
| 61 | define Package/gjay/install |
| 62 | $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share/gjay/icons |
| 63 | $(INSTALL_BIN) \ |
| 64 | $(PKG_INSTALL_DIR)/usr/bin/gjay \ |
| 65 | $(1)/usr/bin/ |
| 66 | $(INSTALL_DATA) \ |
| 67 | $(PKG_INSTALL_DIR)/usr/share/gjay/icons/* \ |
| 68 | $(1)/usr/share/gjay/icons/ |
| 69 | endef |
| 70 | |
| 71 | $(eval $(call BuildPackage,gjay)) |
| 72 |
